Outline content visibility button is selected if cursor is in headline. It makes difficulties.
Steps to Reproduce:
1. Open LibreOffice Writer Option dialog and check Expert Mode and Outline folding mode.
2. Type some headline(s) on page.
3. Insert cursor in the headline.
4. Press Enter.
Outline content visibility button is selected. Pressing Enter button toggles between outline content visibility button states. Just annoying.
Outline content visibility button is never selected. To toggle between its states user must click on this button.
User Profile Reset: Yes
OpenGL enabled: Yes
Version: 126.96.36.199 / LibreOffice Community
Build ID: f6099ecf3d29644b5008cc8f48f42f4a40986e4c
CPU threads: 4; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US
Sounds like a good suggestion.
Here is a patch to make the focus not change to the outline content visibility hide button when it is shown by placing the mouse pointer over an outline frame.
Jim Raykowski committed a patch related to this issue.
It has been pushed to "master":
tdf#140567 don't grab focus to outline content visibility button
It will be available in 7.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:
Affected users are encouraged to test the fix and report feedback.