[Libreoffice-bugs] [Bug 133142] New: Changes to XTabPageModel's text or enabled status not reflected in UI

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon May 18 09:34:46 UTC 2020


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

            Bug ID: 133142
           Summary: Changes to XTabPageModel's text or enabled status not
                    reflected in UI
           Product: LibreOffice
           Version: 7.0.0.0.alpha1+ Master
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: sdk
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: m.weghorn at posteo.de

Description:
When calling XTabPageModel.setEnabled or XTabPageModel.setTitle via UNO API to
change the title or enable/disable a tab page via UNO, the UI is not updated
accordingly (if the calls happen when the corresponding dialog is already shown
on screen).

A sample extension to demonstrate that will be attached.

Steps to Reproduce:
1. install attached sample extension StarterExtensionLHM.oxt
2. start Writer
3. open the extension's dialog via Menu using "Test Extension" -> "Show Dialog"
4. press the "toggle tab" button

Actual Results:
Nothing seems to happen.

Expected Results:
The second tab should toggle its enabled status (i.e. it should become disabled
on first press, enabled again on second button press,...) and change its text
every time the button is pressed.


Reproducible: Always


User Profile Reset: Yes



Additional Info:
Version: 7.0.0.0.alpha1+
Build ID: 50150601bb103a3bf5881e07d93a0e1d324f2722
CPU threads: 4; OS: Linux 5.6; UI render: default; VCL: kf5; 
Locale: en-GB (en_GB.UTF-8); UI: en-US
Calc: threaded

Version: 7.0.0.0.alpha1+
Build ID: 50150601bb103a3bf5881e07d93a0e1d324f2722
CPU threads: 4; OS: Linux 5.6; UI render: default; VCL: gtk3; 
Locale: en-GB (en_GB.UTF-8); UI: en-US
Calc: threaded

-- 
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/20200518/01a8cfdd/attachment.htm>


More information about the Libreoffice-bugs mailing list