Bug 509466

Summary: Unchecking "Turning off split view closes the view in focus", breaks other functionality after restart
Product: [Applications] dolphin Reporter: ulterno
Component: split viewAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: akselmo, kdedev, kfm-devel
Priority: NOR    
Version First Reported In: 25.08.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description ulterno 2025-09-13 17:32:58 UTC
SUMMARY
When the option "Turning off split view closes the view in focus" is turned off (i.e. now turning off split view closes the view not in focus), other actions that would depend upon selecting one of the views, start having a problem after restarting Dolphin.

STEPS TO REPRODUCE
1. Configure Dolphin -> Interface -> Folders & Tabs -> Split view: -> Turning off split view closes the view in focus --> Uncheck the check box
2. Open a split view and check usage of other actions**
3. Close Dolphin and open again, restoring the previously open tabs, then again, check usage of other actions**

** other actions that I tried:
  - F5 to refresh
  - Go back
  - Go forwards
  - Go up

OBSERVED RESULT
- On step 2, the other actions work just fine, same as when the 'option' has not been unchecked
- On step 3, the other actions start acting on the wrong view
  - Left view selected -> F5 -> Right-side view gets refreshed -> Still, Left view remains selected
  - Left view selected -> Go back/Go forwards/Go up -> the action works on the Right-side view -> Right side view becomes selected -> Go back/Go forwards/Go up (without clicking anywhere else that might change the selected view) -> the next action works on the Left-side view -> Left side view becomes selected

EXPECTED RESULT
The other actions** work on the selected view, instead of the non-selected one.

SOFTWARE/OS VERSIONS
Operating Systems: EndeavourOS and Arch Linux
KDE Plasma Version: 6.4.4
KDE Frameworks Version: 6.17.0
Qt Version: 6.9.2
Kernel Version: 6.16.5-arch1-1 (64-bit) and 6.16.4-arch1-1 (64-bit)
Graphics Platform: Wayland
-- Tried on both OS's shown
Comment 1 Akseli Lahtinen 2025-09-16 10:08:35 UTC
Can confirm, seems that the setting is not loaded when dolphin starts, so it's always the default (checkbox on, even if its toggled off in the settings)

Operating System: Fedora Linux 42
KDE Plasma Version: 6.4.80
KDE Frameworks Version: 6.19.0
Qt Version: 6.9.2
Kernel Version: 6.16.7-200.fc42.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 3600 6-Core Processor
Memory: 16 GiB of RAM (15.5 GiB usable)
Graphics Processor: AMD Radeon RX 6600