Bug 120534 - Focus to document on Escape key press at certain locations in Sidebar
Summary: Focus to document on Escape key press at certain locations in Sidebar
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
6.2.0.0.alpha0+
Hardware: All All
: medium normal
Assignee: Jim Raykowski
URL:
Whiteboard: target:6.2.0
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-12 05:18 UTC by Jim Raykowski
Modified: 2018-11-06 18:47 UTC (History)
1 user (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 Jim Raykowski 2018-10-12 05:18:57 UTC
Guideline 5 in Guidelines for keyboard navigation in the sidebar [1] states: 

"Use Escape to go back one step in navigation, meaning from the content to the content panel title and then to the document."

Current Escape key behavior from panel content moves focus to the panel title [2] but not from panel title to the document. Would also using Escape to move to the document from content panel tool box [...], deck title, deck title tool box [x], and tab bar be desirable?

[1] https://design.blog.documentfoundation.org/2017/02/16/guidelines-for-keyboard-navigation-in-the-sidebar/

[2] There is an exception to this when the sidebar is floating and Escape key is pressed in Properties deck Style panel paragraph styles combobox and Character panel fontname and font size comboboxes. In these cases focus is moved to the document.
Comment 1 Jim Raykowski 2018-11-03 12:58:35 UTC
A patch to provide this behavior is here:
https://gerrit.libreoffice.org/#/c/62808/
Comment 2 Commit Notification 2018-11-05 07:49:51 UTC
Jim Raykowski committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/+/5e45ff5241546ce564eccefcc8b7fff876801415%5E%21

tdf#120534 Make escape key focus to document from sidebar

It will be available in 6.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.