Bug 73888 - FORMATTING/UI: when focusing on styles drop down using keyboard shortcut, text should be selected
Summary: FORMATTING/UI: when focusing on styles drop down using keyboard shortcut, tex...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected)
Hardware: All All
: medium normal
Assignee: Not Assigned
Depends on:
Blocks: Writer-Styles-Paragraph-Combobox
  Show dependency treegraph
Reported: 2014-01-21 18:16 UTC by LooseSpokes
Modified: 2023-08-30 03:05 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Note You need to log in before you can comment on or make changes to this bug.
Description LooseSpokes 2014-01-21 18:16:41 UTC
As described, when using the keyboard (CTRL-F11) to put the styles drop-down in the focus, rather than being selected, the cursor is at the beginning of the box.

This means that if you start typing it adds the text you type in front of the current style, rather than allow you to begin typing and it autoselecting the style you want. 

Comment 1 Cor Nouws 2014-01-21 19:55:43 UTC
Comment 2 Joel Madero 2015-05-02 15:44:33 UTC Comment hidden (obsolete)
Comment 3 Buovjaga 2015-06-21 13:33:08 UTC
Now you have to click inside the styles list, if you want to jump to a style by typing. Perhaps this report is obsolete?

Win 7 Pro 64-bit Version:
Build ID: 3ecef8cedb215e49237a11607197edc91639bfcd
TinderBox: Win-x86@62-merge-TDF, Branch:MASTER, Time: 2015-06-19_23:16:58
Locale: fi-FI (fi_FI)
Comment 4 Gordo 2015-06-21 14:25:19 UTC
Even if you click in the text (not the dropdown list) then the whole text is not selected.  If you place the cursor in the middle of the text and type something and press Enter then a new style is created.  I assume this is "New Style from Selection" because whatever formatting is applied to the paragraph is included in the new style.

If you highlight the whole text and type then it will search for the style but only for those that are displayed in the dropdown.  Pressing Enter then applies the style.
1. New Text Document.
2. Place the cursor in Apply Style on toolbar and select all of the text "Default Style".
3. Type "i" for "Index".
No style is found.
4. Backspace over the "i" and type "h".
"Heading 1" is displayed.
5. Press Enter.
Paragraph in document is now "Heading 1".

If you type "c" then "Clear formatting" will be displayed.

Windows Vista 64
Build ID: f784c932ccfd756d01b70b6bb5e09ff62e1b3285

Build ID: 46564fd97308ce070248482ad65a311a329a2b76
TinderBox: Win-x86@39, Branch:master, Time: 2015-06-15_00:08:53
Comment 5 Cor Nouws 2015-06-22 09:59:43 UTC
(In reply to Beluga from comment #3)
> Now you have to click inside the styles list, if you want to jump to a style
> by typing. Perhaps this report is obsolete?

There are two reasons why it is useful that the text is selected.
1. to find a style by name (explanied by Gordo and OP)
2. to define a new style based on the text where the cursor is.

Currently, after Ctrl+F11 one always has to type Shft+End
Not a big deal, but shouldn't be necessary.
Comment 6 QA Administrators 2016-09-20 10:12:07 UTC Comment hidden (obsolete)
Comment 7 Thomas Lendo 2019-08-29 23:07:37 UTC
I support this suggestion as it requests the same behavior as in
- Bug 108012 - Clicking in the font field should select the contents
- Bug 119847 - Autoselect font size to change it quicker
which was both fixed in 6.2

Tested with Version:
Build ID: 057fc023c990d676a43019934386b85b21a9ee99
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
Locale: de-AT (de_AT.UTF-8); UI-Language: en-US
Comment 8 Thomas Lendo 2019-08-29 23:10:21 UTC
Adding Nickson Thanda to CC list as he fixed the other similar bugs.
Comment 9 QA Administrators 2021-08-29 04:08:33 UTC Comment hidden (obsolete)
Comment 10 QA Administrators 2023-08-30 03:05:57 UTC
Dear LooseSpokes,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)

If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword

Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team