https://issues.apache.org/ooo/show_bug.cgi?id=124292
Bug ID: 124292
Issue Type: DEFECT
Summary: Buttons in extension toolbar behave differently when
docked or undocked
Product: App Dev
Version: 4.0.1
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: scripting
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Created attachment 82661
--> https://issues.apache.org/ooo/attachment.cgi?id=82661&action=edit
Simple extension with 2 buttons : dialog and message
An extension has a toolbar. When clicking on a button, a dialog is displayed.
- If the toolbar is docked, a first click opens the dialog; you cannot click
any button of the toolbar until the dialog is closed.
- If the toolbar is undocked, you can click any button, including the same one,
when the dialog is already opened. For example you can obtain a collection of
opened dialogs.
The behaviour should be the same, docked or not.
IMHO the "docked behaviour" is preferable as it avoids unwanted side-effects.
If the extension designer wants to open several dialogs, he can do this from
buttons in a first dialog.
I found the same problem on LibreOffice, so it is probably there since old
versions.
Attachment contains a simple extension for Apache OpenOffice 4.0 providing a
toolbar with 2 buttons :
- Button "Simple test dialog", that opens a dialog
- Button "Hello" only displays a Hello message
When undocked you can trigger a pile of dialogs and messages.
When docked, the first displayed message or dialog blocks all buttons of the
toolbar.
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.