Bug 117889 - UI: Selecting an item in a list box scrolls the content
Summary: UI: Selecting an item in a list box scrolls the content
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Base (show other bugs)
Version:
(earliest affected)
3.6.7.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-29 20:24 UTC by Balint Fodor
Modified: 2023-07-16 03:13 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
List box scrolling on item selection (12.48 KB, application/vnd.sun.xml.base)
2018-05-29 20:24 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 20:24:23 UTC
Created attachment 142392 [details]
List box scrolling on item selection

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 multiple items selected.
I attach the example program.

Tested with Windows 10.
Comment 1 Robert Großkopf 2018-05-30 06:01:51 UTC
Could confirm the behavior. But we should discuss if bug or not bug:

1. In a database the listbox is bounded to a field. It is impossible to bound it to more than one field and to save more than one entry. For this connection (only one item could be selected) it should scroll up. It has also be visible in a folding listbox, where you could only see one entry.

2. If using a listbox for more than one entry, (which only would work with macros), the item shouldn't scroll up. You must be able to see the other entries.

Have tested this with LO 6.0.4.2 and also LO 3.6.7.2. Could be it is inherited by OOo.
Tested with OpenSUSE 42.3 64bit rpm Linux.
Comment 2 QA Administrators 2019-07-15 02:47:42 UTC Comment hidden (obsolete)
Comment 3 QA Administrators 2021-07-15 03:36:46 UTC Comment hidden (obsolete)
Comment 4 QA Administrators 2023-07-16 03:13:51 UTC
Dear Balint Fodor,

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

MassPing-UntouchedBug