[Libreoffice-ux-advise] [Bug 149050] .uno:Gallery should open the Gallery deck
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Sat May 14 03:31:14 UTC 2022
https://bugs.documentfoundation.org/show_bug.cgi?id=149050
--- Comment #3 from Jim Raykowski <raykowj at gmail.com> ---
(In reply to V Stuart Foote from comment #2)
> Jim R. had done the set of shortcuts (<Ctrl><Alt> 1-9) for the SB deck Tabs
> for bug 84502, and those only function when the SB is active.
For me the shortcuts function when the SB is active or inactive.
> The menu entry for the command will open and close the SB, but it does not
> open to the expanded Gallery deck, just the collapsed SB.
I wonder if this worked when it was merged. Nevertheless, here is a patch to
make it behave as expected:
https://gerrit.libreoffice.org/c/core/+/134297
> Not clear that the <F11> toggle is behaving either. It will toggle open the
> SB Style deck from closed SB, and it will close SB when <F11> again used.
> But if the SB is opened to Gallery from menu or if .uno:Gallery is assigned
> to shortcut--the Style shortcut <F11> is non-functional and SB remains on
> Gallery.
F11 doesn't work in the sidebar when focus is in a deck other than the Styles
deck. F11, .uno:DesignerDialog, isn't a toggle command, although we sort of
made it so in enhancement bug 101915. When focus is in the Style deck and F11
is pressed the sidebar closes. But, if focus is in the edit window and the
Styles deck is visible, pressing F11 will not toggle it closed. I think it's
always been this behavior even back when it was a dialog and not a deck. One
way to make F11 a toggle command is to use .uno:SidebarDeck.StyleListDeck for
the keyboard shortcut. Menu > Tools> Customization > Keyboard tab Sidebar Decks
StyleListDeck.
Or we can hard code this in sfx2/source/sidebar/SidebarDockingWindow.cxx by
doing this in SidebarDockingWindow::EventNotify:
if (".uno:DesignerDialog" == aCommand)
{
comphelper::dispatchCommand(".uno:SidebarDeck.StyleListDeck", {});
return true;
}
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Libreoffice-ux-advise
mailing list