[Libreoffice-bugs] [Bug 140862] New: Custom button control shown when file is saved, not shown when re-opened, still listed in Form Navigator

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sun Mar 7 16:22:37 UTC 2021


https://bugs.documentfoundation.org/show_bug.cgi?id=140862

            Bug ID: 140862
           Summary: Custom button control shown when file is saved, not
                    shown when re-opened, still listed in Form Navigator
           Product: LibreOffice
           Version: 7.1.0.3 release
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Calc
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: ld.barthel at gmail.com

Description:
I create a custom button to run a macro. The button is shown and works
throughout the session. The next time I open the file, the button cannot be
seen. I change to design mode and open the form navigator. The button is listed
with all its properties intact. In particular, it is enabled and visible, but
it is not shown anywhere in the file. Additionally, it cannot be deleted via
the Form Navigator. Using "cut" ghosts the control, but it cannot be pasted and
cannot be deleted that way either.

Steps to Reproduce:
1. Create a button
2. Save the file and close it
3. Open the file - the button is gone
4. Go to design mode and open the Form Navigator - the button is still listed

Actual Results:
My custom control was not shown, and could not be invoked by any method

Expected Results:
The button is exactly where I placed it, visible, and functioning


Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
Version: 7.1.1.2 / LibreOffice Community
Build ID: 10(Build:2)
CPU threads: 4; OS: Linux 5.11; UI render: default; VCL: kf5
Locale: en-US (en_US.utf8); UI: en-US
7.1.1-1
Calc: threaded

Button was created at least a year ago and was still working in LO 7.0.3 (Arch
package libreoffice-fresh-7.0.3-2-x86_64) The button disappeared after
upgrading to 7.1.0. I found what appeared to be related bugs, so I waited for
the 7.1.1 package in Arch, but the old button was still missing. I created a
new button which worked until I closed the file. After opening the next time,
the new button was also missing. Both versions are listed in the Form
Navigator, but I can't make them visible or delete them. While I could recreate
the button each time, I don't want to pollute my file with dozens of copies of
the button. Yes, I can run the macro via the dialog, but it's a hassle with the
number of clicks required to get to the macro I want (which is the ONLY macro
in this file...)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210307/7b798539/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list