https://bugs.documentfoundation.org/show_bug.cgi?id=172439
Bug ID: 172439
Summary: Reworked Hyperlink dialog changed the logic for when
the Events button is enabled
Product: LibreOffice
Version: 26.8.0.0 alpha0+ master
Hardware: All
OS: All
Status: UNCONFIRMED
Keywords: bibisectNotNeeded, regression
Severity: normal
Priority: medium
Component: UI
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Blocks: 112125
This was noted by Noel in
https://gerrit.libreoffice.org/c/core/+/195201/30#message-b4e7daeebdedc82efdfd7f90b4d18dc85159378d
"the field m_bMacroEventsEnabled is always set to true? Possibly there is some
functionality that got accidentally dropped?"
m_bMacroEventsEnabled is a new boolean introduced in the dialog rework.
For relevant bits in the old code, search for GetMacroEvents in
https://gerrit.libreoffice.org/c/core/+/195201/30/cui/source/dialogs/hltpbase.cxx
The macro events feature for links is explained here:
https://help.libreoffice.org/latest/en-US/text/shared/02/09070100.html
'Opens the Assign Macro dialog, in which you can give events such as "mouse
over object" or "trigger hyperlink" their own program codes.'
With both the old and new code, Writer always shows the Events button as
enabled under Further Settings.
With the old code, Calc, Impress & Draw always show the Events button *as
disabled*, which seems strange and maybe a bug (or I don't know enough about
the topic). With the new code, these apps show the Events button as disabled
for the tab which happens to be focused when you open the dialog. In all the
other tabs, it is disabled. So regardless of pre-existing bugs, the logic is
nonsensical.
Referenced Bugs:
https://bugs.documentfoundation.org/show_bug.cgi?id=112125
[Bug 112125] [META] Hyperlink dialog bugs and enhancements
--
You are receiving this mail because:
You are the assignee for the bug.