Bug 487392 - Item selection doesn't reset x or y properly between mouse click and arrow keys
Summary: Item selection doesn't reset x or y properly between mouse click and arrow keys
Status: REPORTED
Alias: None
Product: dolphin
Classification: Applications
Component: view-engine: general (show other bugs)
Version: 24.02.2
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-22 21:42 UTC by Jérôme L
Modified: 2024-07-03 22:43 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jérôme L 2024-05-22 21:42:41 UTC
SUMMARY
Observed with icons mode and compact mode, but not details mode.

STEPS TO REPRODUCE
1. Open a folder with multiple items (folder/file) such that there are multiple columns and lines of items
2. With the arrow keys, select an item A at (xA, yA)
3. Click on another item B at (xB, yB)
4. Use up or down arrow (for compact mode use left/right arrow, see additional information)

OBSERVED RESULT
4. The selected item is (xA,yB-1) or (xA,yB+1)

EXPECTED RESULT
4. The selected item is (xB,yB-1) or (xB,yB+1)

SOFTWARE/OS VERSIONS
Operating System: EndeavourOS 
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.2.0
Qt Version: 6.7.0

ADDITIONAL INFORMATION
Compact mode is a translation of icons mode, so use left/right arrows and invert x and y.
Changing the width of the window (even by 1 pixel) before 4. correctly reset the position, so the expected result occurs.