Bug 474507

Summary: Mouseover item overrides item currently selected via keyboard for preview
Product: [Applications] dolphin Reporter: Barnaby <barnaby>
Component: panels: informationAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: REPORTED ---    
Severity: minor CC: kfm-devel, nerumo
Priority: NOR    
Version: 22.12.3   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Barnaby 2023-09-13 22:59:48 UTC
SUMMARY

At least in Details mode, with the preview sidebar open: any item currently under the mouse cursor has permanent preview priority, even if you use the keyboard to change the current selection to a different item.

STEPS TO REPRODUCE
1. In a folder with several files, click once with the cursor to select one. The preview sidebar shows a preview and information for it
2. Using the arrow keys, move the selection up and down to different files, while leaving the cursor in place

OBSERVED RESULT
The preview/info sidebar still shows info and a preview for the file under the cursor, even when a different file was more recently selected via the keyboard.

EXPECTED RESULT
When the current selection was updated using the keyboard more recently than the last mouseover event, the currently selected item should be shown in the preview bar, not the one which happens to be under the mouse cursor.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kubuntu 23.04
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.8
Comment 1 Marco Schmidlin 2024-06-05 06:29:22 UTC
This is bugging me too. I would go even further and make this a wish: don't show preview on hower, only on selection. It's very confusing to have a selection that isn't preview, just because the mouse cursor moved a bit.

This could be made configurable: "Show Preview: Hover|Selection"