Bug 476893

Summary: Selected Item in View & Viewport jumps around on Window Resize
Product: [Applications] dolphin Reporter: Loren Dias <loren>
Component: view-engine: icons modeAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: REPORTED ---    
Severity: minor CC: kfm-devel, loren
Priority: NOR    
Version: 23.08.3   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Loren Dias 2023-11-12 20:10:18 UTC
SUMMARY
***
When scrolling through a large directory, the file view jumps around on window resize. If you scroll through 25% or  [ select a photo ] that on window resize the "seeked" view should remain statically anchored to either the last selected file or the 25% progress until you use the scroll wheel again to navigate further ahead.
***

STEPS TO REPRODUCE
1. Have Window Tiling enabled
2. Open dolphin to a ~/Pictures directory with over 200 pictures and have it maximized to 100% width.
2. Scroll 25% of the way down and click/select a picture.
3. Open a second Dolphin Window, Web Browser / App splitting the windows into 50% width each
4. The view-port jumps from 25% to 50% and the selected item is now 25% behind the current view.
5. (Optional: Use arrow keys to jump back to the selected item[s])

OBSERVED RESULT
View doesn't remain statically anchored on resize

EXPECTED RESULT
View should remain consistent and static. Perhaps a setting / option to anchor to "last selected item" or "active scroll progress"

SOFTWARE/OS VERSIONS

ArchLinux / KDE Plasma / Sway
KDE Plasma Version: 5.27.9-1
KDE Frameworks Version: 5.111.0-1
Qt Version: 5.15.11 (built against 5.15.11)
wayland-egl windowing system

ADDITIONAL INFORMATION
This would greatly improve usability and quality of life.