Bug 117877 - UI: List Box mouse wheel scroll behavior cannot be changed / selecting an item scrolls the content
Summary: UI: List Box mouse wheel scroll behavior cannot be changed / selecting an ite...
Status: RESOLVED INVALID
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Base (show other bugs)
Version:
(earliest affected)
6.0.4.2 release
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-29 12:38 UTC by Balint Fodor
Modified: 2018-05-29 22:20 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
List boxes on a Base form (12.55 KB, application/vnd.sun.xml.base)
2018-05-29 12:38 UTC, Balint Fodor
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Balint Fodor 2018-05-29 12:38:45 UTC
Created attachment 142377 [details]
List boxes on a Base form

When working with list boxes in Base, I have noticed some weird behavior. Not everything is a bug per se, rather something that might be uncommon/inconvenient to the user.
First of all, the mouse wheel scroll is always on, even if it is set to Never or When focused.
Secondly, when you select an item in the list box, and putting the focus on the box it at the same time, the list will scroll, so that the selected item goes to the top (if it can). This might be useful for showing items below the selected one to choose from, but what if I set my sight on two items, and the first item I select is further down in the list than the other? Then I will have to scroll back to find the second item. It would be nice if this automatic scrolling didn't happen at all... maybe a setting can be implemented for it, if the developers want to keep the current behavior.
When the focus is already in the list box, things work fine.
Now, when you unfocus from the list box with an item selected, you get the same behavior, the selected item goes to the top. If there are multiple selected items, no scrolling will happen.
If - in an unfocused state - you scroll the box with the scrollbar, as soon as you exit the scrollbar area (no matter if you the mouse remains in the list box area or not), the selected item will come to the top. Now this is rather inconvenient, when you want to select another item that is not in the view. You have to click in the box and put the focus on it first. Mouse wheel scrolling will make life easier here as the scrolling position will only be reset, when you exit the list box area.
Again, no issues with mulitple items selected.
I attach the example program.

Tested with Windows 10.
Comment 1 Robert Großkopf 2018-05-29 17:04:13 UTC
Please write down one bugdescription for one problem. Nobody could confirm this bug, because it is about different problems with listboxes.
Comment 2 Balint Fodor 2018-05-29 20:27:29 UTC
Okay, I have created two separate reports.
117888 and 117889
You can close this one.