Bug 163971 - Unexpected sidebar opening in Math with Alt+2/3/4 shortcuts
Summary: Unexpected sidebar opening in Math with Alt+2/3/4 shortcuts
Status: VERIFIED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
24.8.3.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: target:25.2.0
Keywords:
Depends on:
Blocks: Sidebar-UI-UX
  Show dependency treegraph
 
Reported: 2024-11-20 18:28 UTC by Rafael Lima
Modified: 2024-11-24 20:51 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rafael Lima 2024-11-20 18:28:47 UTC
LO Math opens sidebar decks that do not belong to it, such as the Galery and Navigator.

Steps to reproduce:
1) Open LO Math
2) Close it's sidebar
3) Press Alt+1
4) This will open the Properties sidebar, which is alright
5) Now press Alt+2
6) This opens the Styles dialog (this does not exist in Math)
7) Alt+3 and Alt+4 will open the Gallery and Navigator, which shouldn't happen

Actually, Alt+2 should open the Elements deck.

System info

Version: 24.8.2.1 (X86_64) / LibreOffice Community
Build ID: 480(Build:1)
CPU threads: 16; OS: Linux 6.11; UI render: default; VCL: kf6 (cairo+wayland)
Locale: pt-BR (pt_BR.UTF-8); UI: en-US
Ubuntu package version: 4:24.8.2-0ubuntu1
Calc: threaded
Comment 1 V Stuart Foote 2024-11-20 21:25:36 UTC
Confirmed. Alt+1, brings up sm appropriate Properties deck, while Alt+2 bring up Styles rather than  the Element SB decks, and the other default accelerators (2/3/4) are bleeding through in the sm Formula module.

IIRC when accelerators for bug 84502 were implemented the sm Elements pane had not yet been migrated to the SB framework. Since currently just the two SB decks exist for the sm module, the other SB default accelerators should have null actions--while one needs to be assigned to the Elements deck (Alt+5 IIANM as established for bug 84502).

Version: 24.8.2.1 (X86_64) / LibreOffice Community
Build ID: 0f794b6e29741098670a3b95d60478a65d05ef13
CPU threads: 8; OS: Windows 11 X86_64 (10.0 build 22631); UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded
Comment 2 Commit Notification 2024-11-21 16:58:14 UTC
Jim Raykowski committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/19c61f4dc34c751235fadcba0d79c2c4da129c5c

Resolves tdf#163971 - Unexpected sidebar opening in Math

It will be available in 25.2.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 3 Rafael Lima 2024-11-24 20:51:37 UTC
Thanks Jim for the fix!

Verified with:

Version: 25.2.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 737c4e624f660970eb66dd9a80de3e0306647937
CPU threads: 16; OS: Linux 6.11; UI render: default; VCL: kf6 (cairo+wayland)
Locale: pt-BR (pt_BR.UTF-8); UI: en-US
Calc: CL threaded