Bug 503576 - Focus is split between split view panes when starting with split view and remembering of last used folders & tabs is disabled
Summary: Focus is split between split view panes when starting with split view and rem...
Status: REPORTED
Alias: None
Product: dolphin
Classification: Applications
Component: split view (other bugs)
Version First Reported In: git-master
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2025-04-30 12:45 UTC by Jan Rathmann
Modified: 2025-04-30 12:46 UTC (History)
1 user (show)

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


Attachments
Screenshot of the weird focus limbo state (72.23 KB, image/png)
2025-04-30 12:46 UTC, Jan Rathmann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Rathmann 2025-04-30 12:45:17 UTC
SUMMARY
When starting Dolphin with Split view enabled and without remembering the last used folders and tabs, the two split view panes end up in a weird limbo state of splitting the keyboard and mouse focus between them, while both are looking as if they were "sort of focused" (see screenshot).

STEPS TO REPRODUCE
1. Start Dolphin, go to Settings -> Interface -> Folders & Tabs
2. Select "Show on startup: /home/yourusername (or any other folder)"
3. Enable "New windows: Begin in split view mode"
4. Close Dolphin, start Dolphin again.

OBSERVED RESULT
* Both split view panes have the same background color, and the location bar is grayed out on both panes.
* The left pane has keyboard focus (to test, press arrow down on keyboard), but the right pane has focus for opening folders via mouse click on the places panel, and also for the toolbar button that closes the active split view pane!
* This weird state is ended by either opening a directory via double-click in one of the split views, or by opening one of Dolphin's modal dialog windows (like Settings, Keyboard Shortcut configuration etc.).

EXPECTED RESULT
Visual distinction which of the two panes has focus, with both keyboard and mouse focus applying to the same pane.

SOFTWARE/OS VERSIONS
KDE Plasma Version: 6.3.80
KDE Frameworks Version: 6.14.0
Qt Version: 6.8.3

ADDITIONAL INFORMATION
Reproduced with
* Dolphin + Plasma build from master on Kubuntu 25.04
* Neon Unstable live image in a VM

On Dolphin 25.04 (Neon User live image) the bug is absent, so it seems to be a recent regression on master.
Comment 1 Jan Rathmann 2025-04-30 12:46:18 UTC
Created attachment 180811 [details]
Screenshot of the weird focus limbo state