Bug 96258 - Styles and Formatting should get focus when activated
Summary: Styles and Formatting should get focus when activated
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: ux-advise (show other bugs)
Version:
(earliest affected)
5.0.2.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-05 02:02 UTC by macho.p
Modified: 2015-12-05 23:33 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 macho.p 2015-12-05 02:02:59 UTC
Prior to version 5, you could quickly change the current paragraph's style exclusively using keyboard shortcuts, i.e., with this sequence:
* F11 (opens the styles and formatting dialog)
* <first letter of the name of desired style> (repeatedly if your desired style isn't the first one in the list that begins with that letter)
* <Enter> (applies the selected style to the current paragraph)
* F11 (closes the styles and formatting dialog)

It was great! The whole process took about a second.

Whether by accident or by design, this is now broken. Now what happens is:
* F11 (still opens the styles and formatting dialog, although now docked in the right sidebar)
* first letter of the name of desired style ยป no longer works, because the focus remains in the main document: instead you just typed that letter into the current paragraph (so hit backspace to erase it)
* mouse over to the formatting dialog instead
* then use the scrollbar to find the area where your desired style is found within the dialog
* Now click that style
* Trying to hit F11 to close the dialog no longer always works, that is: it works as long as you don't have the Navigator open (F5 toggles this), which I always do, so <F11> at this point does nothing for me
* What I have to do is mouse over to that strange looking corner-icon and click it
* Then find the "Close sidebar" option mixed in with the others and click it

The behaviour that would seem best to me (even improving over the initial behaviour) would be to have
* the focus shift to the docked styles and formatting dialog as soon as F11 is pressed, as it did before version 5, which would make letter presses cycle through styles again
* as a bonus, it would be amazing to also be able to hold <Shift> while hitting a letter to be able to cycle through the styles backwards (in my haste, I have been known to pass my desired style)
* another possibility could be some way to descend into a parent style's non-expanded children, but I probably wouldn't personally use or care for this, so it seems very low priority
* and finally, after hitting <Enter> to select your style, hitting <F11> should close the dialog irrespective of whether the navigator is open.

Thank you so much for considering this, and for all your work on this fantastic software!
Comment 1 Samuel Mehrbrodt (allotropia) 2015-12-05 12:03:36 UTC
Thanks for your suggestion, will need discussion with the design team.
Comment 2 Joel Madero 2015-12-05 16:10:04 UTC
Moving to NEW per procedures (when it's going to UX team we just push it to NEW)

@Macho - in the future shorter bug reports are appreciated :) Also - conflating issues is typically not good in terms of workflow (you have wishlist items in here and apparently a regression) as it makes it hard to triage, and harder to find developers to resolve the issues.

Anyways, this is on UX now.
Comment 3 Heiko Tietze 2015-12-05 20:59:03 UTC
The next release (not sure if it's planned for 5.1 but you may take a look at master, which is 5.2) will provide you with a separate menu entry for styles. Now you type alt+s (menu entry &Styles) and just x for &Text body (the ampersand denotes the underlined hotkey), or alt+s plus c for citations (the actual hotkey may depend on your localization). I'd say this solution is much better than unfocusing the document, taking into account that F11 toggles the sidebar on/off (which was probably not intended).

By the way, you may change the style right now into heading per alt+1..5.

PS: I like verbose bug reports. :-)
Comment 4 Heiko Tietze 2015-12-05 21:08:10 UTC
(In reply to Heiko Tietze from comment #3)
> ... and just x for &Text body

This was a test for readers' consciousness: Actually it has to be "Te&xt body".
Comment 5 macho.p 2015-12-05 23:20:48 UTC
> By the way, you may change the style right now into heading per alt+1..5.

Amazing, this is just what I was looking for, thank you! (I did have to Google to discover that it should be Ctrl + 1..5, but well worth it!)
Comment 6 Heiko Tietze 2015-12-05 23:33:07 UTC
Sorry. Of course, shortcuts work with ctrl/cmd while you have to press alt for hotkeys. Closing this report as worksforme.