Bug 508609 - In dolphin's folders, top and bottom arrow navigation jumps to wrong places
Summary: In dolphin's folders, top and bottom arrow navigation jumps to wrong places
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: view-engine: icons mode (other bugs)
Version First Reported In: 25.08.0
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-08-22 15:07 UTC by Dimitri
Modified: 2026-01-21 09:12 UTC (History)
3 users (show)

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


Attachments
Video showing the top bottom arrow navigation fail (308.57 KB, video/webm)
2025-08-22 15:07 UTC, Dimitri
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dimitri 2025-08-22 15:07:27 UTC
Created attachment 184355 [details]
Video showing the top bottom arrow navigation fail

SUMMARY
In the new version of Dolphin (selection style has changed), navigation with top and bottom arrow doesn't work as expected anymore when we switch from mouse to keyboard, it often jumps to wrong places. Contrary to left right arrow that still works as expected.


STEPS TO REPRODUCE
1. Open a dolphin folder that has multiple lines of content.
2. Using arrow keys, move top/bottom
3. Select an other place (not same column) with the cursor
4. Move again top or bottom with arrow keys

OBSERVED RESULT
The place where moving goes is not the one above or below the selected place,
it instead goes at the wrong column (the one from a previous selection that have since been replaced) but still goes at the expected height/line (the line above or below the new selected line).

EXPECTED RESULT
Moving should completely be relative to the last selected position (line and column, using top/bottom or left/right) even when switching from mouse to keyboard.
Left/Right is working as expected, Top/Bottom should work the same way.

SOFTWARE/OS VERSIONS
Dolphin v25.08.0
Operating System: KDE neon User Edition
KDE Plasma Version: 6.4.4
KDE Frameworks Version: 6.17.0
Qt Version: 6.9.1
Kernel Version: 6.14.0-28-generic (64-bit)
Graphics Platform: Wayland
Comment 1 Bug Janitor Service 2025-11-17 21:25:56 UTC
A possibly relevant merge request was started @ https://invent.kde.org/system/dolphin/-/merge_requests/1105
Comment 2 aristsakas 2026-01-20 10:56:50 UTC

*** This bug has been marked as a duplicate of bug 446682 ***
Comment 3 Méven 2026-01-21 09:12:25 UTC
Git commit 843d10ae2ab6a7f2c6f69b63fa278fdd6162254c by Méven Car, on behalf of Tomasz Kot.
Committed on 21/01/2026 at 09:01.
Pushed by meven into branch 'master'.

Add keyboard anchor assignments to mouse events

The mouse events need to modify the keyboard anchor assignments as well,
because selecting an item with a mouse and then navigating with keyboard
wouldn't follow the same selection.

M  +12   -0    src/kitemviews/kitemlistcontroller.cpp
M  +72   -0    src/tests/kitemlistcontrollertest.cpp

https://invent.kde.org/system/dolphin/-/commit/843d10ae2ab6a7f2c6f69b63fa278fdd6162254c