Bug 161037 - UNO Sidebar 'Hide' and 'Show' sidebar deck (splitwin) -- a new function (available for assigning a shortcut key to it)
Summary: UNO Sidebar 'Hide' and 'Show' sidebar deck (splitwin) -- a new function (avai...
Status: RESOLVED WONTFIX
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
24.8.0.0 alpha0+
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL: https://wiki.documentfoundation.org/F...
Whiteboard:
Keywords: accessibility, needsUXEval
Depends on:
Blocks: UNO-Command-New
  Show dependency treegraph
 
Reported: 2024-05-11 08:17 UTC by peter josvai
Modified: 2024-05-31 07:37 UTC (History)
4 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 peter josvai 2024-05-11 08:17:10 UTC
hi,

Once you close the sidebar, the sidebar "menu" also disappears...

This is not logical, cause it breaks out of the toggling "scope", so to to speak.. (you see the sidebar menu, toggle it by "show/close sidebar", f11, 
now the sidebar deck appears.... then toggle it back... it disappears, but the sidebar menu goes with it... (more than toggling, original state is not the end state)

I admit, though, that it's -- despite this little glitch -- logical the way it is...
I'm only saying that adding a function to which we could render a shortkey in the customization menu, would make life better on this planet :)

Imagine pressing f-something, and the sidebar deck appears...
as you left it, with Styles... and toggle its visibility.. 
without making the menu disappear..
You need to see your menu :) Seriously... knowing that it's there is not the same thing :)



We can live with how it is now...
but if there was a function "close/show sidebar deck" life would indeed be better, methinks :)


- - - thank you for developing Libreoffice - - -
Comment 1 V Stuart Foote 2024-05-11 14:29:02 UTC
This is expected with the current <Ctrl>+F5 toggle (.uno:Sidebar) which *closes* or *opens a new instance* of the SB framework. Its workflow and UI behavior is pretty consistent, as is that of the F11 "Stylist".

Also, UNO are already available and assigned to open each SB Deck (bug 84502); <Alt>+[1-9] with 1-4 common (uno:PropertyDeck, uno:StyleListDeck, uno:GalleryDeck, uno:NavigatorDeck) across the modules.

IMHO what *would* be useful would be creating an additional UNO action supporting a keyboard toggle of the current 'Hide'/'Show' (vcl/splitwin) thumb/grip button actions for an active Sidebar instance. Currently just available to mouse click on the buttons.

While clicking on a Deck's Tab in the Tab bar will toggle the Deck collapsed or open, the "Hide" thumb button fully collapses the Sidebar (exposing a 'Show' thumb button on the opposite SB edge).  While the 'Show' button restores the Sidebar, either just Tab bar, or Tab bar and Deck depending on state when hidden.
Comment 2 Heiko Tietze 2024-05-13 14:16:43 UTC
Sounds like over-engineering but probably needed from the a11y POV. Michael, what do you think?
Comment 3 Michael Weghorn 2024-05-15 07:35:40 UTC
(In reply to V Stuart Foote from comment #1)
> This is expected with the current <Ctrl>+F5 toggle (.uno:Sidebar) which
> *closes* or *opens a new instance* of the SB framework. Its workflow and UI
> behavior is pretty consistent, as is that of the F11 "Stylist".
> 
> Also, UNO are already available and assigned to open each SB Deck (bug
> 84502); <Alt>+[1-9] with 1-4 common (uno:PropertyDeck, uno:StyleListDeck,
> uno:GalleryDeck, uno:NavigatorDeck) across the modules.

Could making Alt+[1-9] *toggle* the current state of the corresponding deck maybe be a potential solution, i.e. switch to that deck if it's currently not active, and collapse it if it currently is active?
Comment 4 V Stuart Foote 2024-05-15 15:33:18 UTC
(In reply to Michael Weghorn from comment #3)
> (In reply to V Stuart Foote from comment #1)
> > This is expected with the current <Ctrl>+F5 toggle (.uno:Sidebar) which
> > *closes* or *opens a new instance* of the SB framework. Its workflow and UI
> > behavior is pretty consistent, as is that of the F11 "Stylist".
> > 
> > Also, UNO are already available and assigned to open each SB Deck (bug
> > 84502); <Alt>+[1-9] with 1-4 common (uno:PropertyDeck, uno:StyleListDeck,
> > uno:GalleryDeck, uno:NavigatorDeck) across the modules.
> 
> Could making Alt+[1-9] *toggle* the current state of the corresponding deck
> maybe be a potential solution, i.e. switch to that deck if it's currently
> not active, and collapse it if it currently is active?

Kind of like the toggle that F11 provides for the Stylist deck. 

But that has issues in the sense that the splitwin "Buttons" apply to either Sidebar splitwin framework exposure state--just Tab bar, or to Tab bar and Deck.  

Also the <Alt>+[1-9] just Open corresponding SB when focus is on the document canvas or the SB, and don't work while focused to main menu, any toolbar, or a Notebook Bar assemblage.

So would provide a keyboard toggle for the splitwin to collapse (but not close) the SB framework.  The existing <Ctrl>+F5 shortcut actually closes the framework, and applies SB state as recorded to profile for each module on relaunch.

Unfortunately there is no available UNO to match the mouse-only splitwin collapse of the SB framework--and don't think extending the <Alt>+[1-9] slate of shortcuts gives us the right UX.  That same UNO could be reused with the other splitwin UI (e.g. calc, writer).
Comment 5 Heiko Tietze 2024-05-31 07:37:20 UTC
We discussed the topic in the design meeting. Sidebar tabs switch per alt+<1..9>, uno:Sidebar aka View > [x] Sidebar is bound to ctrl+F5 and shows/hides the sidebar completely. The x closes the tab but keeps the tabbar visible, the button minimizes the sidebar tabbar too. This interaction is ambiguous and overly complex, and rather for marketing than supporting any workflow. Additional shortcuts are not needed.