Bug 112175 - Dropdown selection not applied on wheeling
Summary: Dropdown selection not applied on wheeling
Status: RESOLVED WONTFIX
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.4.1.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: needsUXEval
Depends on:
Blocks:
 
Reported: 2017-09-02 08:05 UTC by jerryzihye
Modified: 2023-11-06 14:15 UTC (History)
4 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 jerryzihye 2017-09-02 08:05:29 UTC
Description:
As we know it is possible to change the chosen menu item by scrolling the middle button of the mouse. But when I change the formatting, font family or font size by scrolling over it, the item chosen will be changed, but the text chosen are not updated with the new style.

Steps to Reproduce:
1.Choose some text
2.Scroll the middle button of the mouse over text style or font family or font size

Actual Results:  
The text chosen doesn't change its style

Expected Results:
Nothing happens.


Reproducible: Always

User Profile Reset: No

Additional Info:
I didn't try to save the file and reopen it. But it should change the style as soon as I change the item chosen.


User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0
Comment 1 Jean-Baptiste Faure 2017-09-02 16:22:38 UTC
I guess you are talking about sidebar. It works if you use the mouse wheel in the dropdown list. In the text field you need to press Enter once you have chosen your font.
The benefit of the dropdown list is that it can show a preview of each font.

Does that fit your need?

Set status to NEEDINFO, please set it back to UNCONFIRMED once requested
informations are provided.

Best regards. JBF
Comment 2 jerryzihye 2017-09-04 12:59:10 UTC
Well, you didn't understand at all my description. I apologize if I made it unclear for you to understand, but what I mean is the tool bar. Well, that's the same problem with the side bar.

What I mean is that, if I change the value of the font size by scrolling my mouse when hovering over it without using the drop down menu, the value is changed but the real font size of the words aren't changed.

Maybe you don't consider it as a bug.
Comment 3 Buovjaga 2017-09-09 17:58:12 UTC
The problem (?) is that you have to be focused in the field and hit Enter to apply the change.

Let's ping UX team for their opinion on a real-time size change.
Comment 4 Heiko Tietze 2017-09-10 08:42:56 UTC
Definitely yes, dropdowns should apply the current selection immediately. Otherwise wheeling leads to inconsistencies and the dropdown shows 'Heading 1' but  the text is still default formatted. This is an issue for font style, name. and size in the toolbar as well as in the sidebar.

The question is how Clear formatting and More styles... should work. These two items are kind of abusive in the dropdown and, if possible, we could just not include them into the wheeling. The alternative is to remove the two from this dropdown. And third idea is to block wheeling for these controls. 

Ideas?

(Original summary: Font changed by middle mouse button is not updated)
Comment 5 V Stuart Foote 2017-09-11 13:18:14 UTC
No. The behavior now of _not_ applying the value from a drop list/list until it is both selected and an enter is applied is correct, both for UI and from a performance perspective. We do not want layout to document canvas to be changing in response to a mouse scroll action _until_ a selection is made and applied.

This is distinct from a restricted preview--as in the Character dialog.
Comment 6 Heiko Tietze 2017-09-11 15:07:03 UTC
(In reply to V Stuart Foote from comment #5)
> No. ...

Decision taken, okay. So you should also check the see-also tickets. And ideally write a guideline when to apply a selection and when not.