Bug 112813 - Toolbar/Sidebar: Selection of combobox content with a single mouse click
Summary: Toolbar/Sidebar: Selection of combobox content with a single mouse click
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Button-Controls
  Show dependency treegraph
 
Reported: 2017-10-02 09:44 UTC by Thomas Lendo
Modified: 2023-10-10 13:26 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot of current behavior when clicking in a combobox and what's demanded (7.28 KB, image/png)
2017-10-02 14:44 UTC, Thomas Lendo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Lendo 2017-10-02 09:44:56 UTC
When clicking in a combobox with a single mouse click or tab key, the content should be selected/marked instead of the necessity of using a double-click with the mouse.

I know this is a different behavior than in the content view (words are only selected/marked after double-clicking on it, paragraphs with tiple-clicking). But the UX team should discuss to change the default behavior because its more likely that the user wants to change the whole content of the combobox than to only add a character to the existing combobox content.

For example, when clicking into the font size combobox in the formatting toolbar, the displayed number should be marked so that the user only has to type a new number and enter. Now the user has to click into the combobox, has to mark or delete the number by hand, must type a new number and has to type enter.

When clicking a second time, the marking should be changed to only a blinking cursor in the clicked position in the combobox (as a single click acts today).
Comment 1 Thomas Lendo 2017-10-02 14:44:46 UTC
Created attachment 136696 [details]
Screenshot of current behavior when clicking in a combobox and what's demanded
Comment 2 Thomas Lendo 2017-10-03 07:54:36 UTC
Just for information: The Find Text combobox in the Find toolbar works exactly as I suggest it for other comboboxes (font name, font size, set style).
Comment 3 Yousuf Philips (jay) (retired) 2017-10-04 21:11:58 UTC
(In reply to Thomas Lendo from comment #0)
> When clicking in a combobox with a single mouse click or tab key, the
> content should be selected/marked instead of the necessity of using a
> double-click with the mouse.

As a combobox is a text field, like a textbox, clicking in it with a mouse shouldnt select all the text. Using tab should select the text, as it does so in dialogs and spinboxes in the sidebar, though strangely it doesnt happen to spinboxes in the toolbar.
Comment 4 Heiko Tietze 2017-10-05 07:06:01 UTC
Consistent behavior is paramount and I support Thomas' idea. In text fields you likely do not want to change all text (except URLs for instance, type ctrl+L in your browser) but in case of numeric inputs the primary workflow is to enter a complete new value (of course subsequently to thumb/click/wheel input).
Comment 5 Cor Nouws 2017-10-05 16:16:23 UTC
+1
Comment 6 Yousuf Philips (jay) (retired) 2017-10-05 16:46:16 UTC
(In reply to Heiko Tietze from comment #4)
> Consistent behavior is paramount

Totally agree its important and LibreOffice should behave like other OS apps in what to do. So Heiko, what does KDE HIG say about single click in a combobox?

In MS Office and WPS, single click in combobox and spinbox in ribbon selects, while in a dialog it doesnt.
Comment 7 Heiko Tietze 2017-10-06 07:56:37 UTC
(In reply to Yousuf Philips (jay) from comment #6)
>  what does KDE HIG say about single click in a combobox?

That's not defined in KDE HIG. Kate, as a KDE app, selects all content on tab but none on click, which feels more familiar to me.
Comment 8 Heiko Tietze 2018-06-08 08:18:12 UTC
No need for further input from UX. Please select the content of editable fields on enter (tab or click).
Comment 9 QA Administrators 2019-09-28 03:04:54 UTC Comment hidden (obsolete)
Comment 10 Thomas Lendo 2019-10-12 20:18:38 UTC
Paragraph combobox still not changed.

Version: 6.3.2.2 (x64)
Build-ID: 98b30e735bda24bc04ab42594c85f7fd8be07b9c
CPU-Threads: 4; BS: Windows 10.0; UI-Render: GL; VCL: win
Comment 11 QA Administrators 2021-10-12 03:53:46 UTC Comment hidden (obsolete)
Comment 12 Sophie Sipasseuth 2023-10-10 13:26:07 UTC
Repro with this version of LibreOffice:

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 9a02f4ed071f15908624fb1cafcf6dbb72b00a1b
CPU threads: 8; OS: Windows 10.0 Build 22621; UI render: Skia/Raster; VCL: win
Locale: fr-FR (fr_FR); UI: fr-FR
Calc: threaded