SUMMARY Dolphin sometimes deletes files in non-active pane of split view when you return to window by clicking an item for deletion in other pane, resulting in the wrong item being deleted. STEPS TO REPRODUCE 1. Open split view of multiple files in large thumbnail view. 2. Click around on the right view and select one or more files. 3. Click a non-Dolphin window. 4. Return to Dolphin by clicking an item in the left view. 5. Hit delete OBSERVED RESULT When you hit delete, the last file on the right side, even if not active, is deleted. EXPECTED RESULT The most recent file on the left side should be deleted. SOFTWARE/OS VERSIONS Linux/KDE Plasma: 6.1.149-2-MANJARO (64-bit) KDE Plasma Version: 6.3.6 KDE Frameworks Version: 6.17.0 Qt Version: 6.9.1 ADDITIONAL INFORMATION I tried this a couple times as I wrote this and couldn't get it to happen again.
I have run into this several times now, and it is definitely a somewhat recent regression. From my own experience, I can say the following: * This bug does not require icon view to trigger. It happens for me also with details view. * This bug does not just affect file deletion, but any keyboard shortcut executed. * It is really hard to come up with a reliable reproduction for this, as it seems to happen at random. This bug is DANGEROUS, as on multiple occasions, I have accidentally deleted the wrong file, because the file in the INACTIVE pane was deleted when it should have been the file in the ACTIVE pane.
Good news! I have been able to find a simple repro for this bug. It seems the bug is triggered when closing a tab returns the user to a split pane view. Repro steps: 1. In Dolphin, navigate into a folder (this is important, since we will be using the "Back" action in a bit). 2. Split the view. 3. Open a new tab, then close the tab, which will return you to the split view tab. 4. Click within the right pane and press the Backspace key. RESULT: The LEFT pane goes back a folder. EXPECTED RESULT: the RIGHT pane should go back a folder. This bug affects other keyboard operations as well, for example, if you attempt to delete a file or folder in the RIGHT pane, the selected file(s) or folder(s) in the LEFT pane will be deleted instead! I can also repro the bug using KDE neon Unstable Edition: * Dolphin: 25.11.70 * Plasma: 6.5.80 * KDE Frameworks: 6.19.0 * Qt: 6.9.2
This bug is still present in Plasma 6.5.1 (Frameworks 6.19.0; Qt 6.10.0). See comment #2 for easy repro. I really hope somebody sees this bug soon, because it is very dangerous, and somebody is bound to end up accidentally deleting files unintentionally and not realizing it.
I think I've already fixed this bug (did not know this bug report during fixing) and it has been merged but not released yet. https://invent.kde.org/system/dolphin/-/commit/19401a315f963223d973188a8e47c4ccbd783232 It is fixed on the current master branch, but still exists in dolphin 25.08.3
I am currently running Dolphin 25.12.0 and I can no longer reproduce my steps in comment #2. As far as I can tell, this bug has been fixed. Thanks, Rafał! Aaron, can you confirm?
(In reply to Rafał Lichwała from comment #4) > It is fixed on the current master branch, but still exists in dolphin 25.08.3 The bug is still present in Dolphin 25.12.1. It is not related to closing a tab, but to switching a tab. After a tab switch, one of panes is shown as the active one, but buttons "up", "back" and "forward" might not be linked to this "seemingly" active tab (ditto for keyboard). Even more, sometimes "back" or "up" buttons after a tab switch are attached to different panes – "back" button shows history of the right pane, but pressing "up" acts on the left pane. To test: * create four folders "A", "B", "C" and "D"; * open two tabs with a split view; * navigate around in a way that each pane has visited only one of those folders to be easy to keep a track on pane-folder mapping; * switch back and forth between tabs and examine: * pane indicated of being active by visual clues; * contents of "back" button; * press "up" to see which pane is acted on; * press "back" button to see which pane is acted on; * check if mouse right click works on files/folders (sometimes it is just gone). Interestingly, mouse left click is not affected; * repeat a few times (I managed to hit with the first one though). A workaround is to minimize Dolphin window or switch between applications after a tab switch has been done.
I cannot reproduce this bug any more. I've tried to follow brief instructions in https://bugs.kde.org/show_bug.cgi?id=509525#c6 (with 4 dirs, 2 tabs etc.) and everything seems to work fine - tested on dolphin 25.12.1 @Māris Nartišs please provide exact and precise instructions (step by step) how to reproduce this, because "switch back and forth..." and "sometimes it is..." do not help.
Yes, this bug does appear to be fixed.
I was able to narrow down part of problem that should be enough to get ball rolling. Although I talk about context menu, I use it only to make easy to track it, but the core problem is in activating / deactivating view and thus having correct listeners for signals. I tried to use Gemini to get to the root of problem, but it failed and this code certainly is above my level. Setup: * Dolphin with two tabs and split view * Filter bar is visible. This is important, as there is no bug if filter bar is not visible! Steps to take: * start Dolphin * left mouse click on inactive tab to switch tabs; * right mouse click in any of panes to get context menu. Observed behavior: no context menu opens. Expected: a context menu is given. first bad commit: [4102ccb80457eea44ea280f0ace2a419602bc34b] Rewrite search integration
> Observed behavior: no context menu opens. > Expected: a context menu is given. @Māris Nartišs if there is some observed behavior of dolphin which is different then the expected one, this is probably the good reason to create a new bug report. But that what you described above is IMO far away from the subject of this bug report here. This bug here seems to be fixed in the new versions of dolphin.
Git commit f31ffa68145884dc4798c44b3d5f25b128e01ce0 by Méven Car. Committed on 06/09/2026 at 07:27. Pushed by meven into branch 'master'. dolphintabpage: set the active split pane from the view that activated slotViewActivated() toggled m_primaryViewActive rather than looking at which view had emitted activated(). That is correct only while the flag and the two views' own active states agree. They can diverge, and from then on the toggle sets the wrong pane active: the pane the user clicked in loses to the other one, and DolphinMainWindow follows the flag, so Ctrl+X puts the other pane into selection mode instead of cutting the selection. Set the flag from the sender instead, and do nothing when it already names that view. Toggling was what kept the two states diverged once they had come apart. M +7 -2 src/dolphintabpage.cpp M +31 -0 src/tests/dolphinmainwindowtest.cpp https://invent.kde.org/system/dolphin/-/commit/f31ffa68145884dc4798c44b3d5f25b128e01ce0
Git commit 860adbd62512f11b8e046c5d64da1767aa4cb99a by Méven Car. Committed on 06/09/2026 at 10:48. Pushed by meven into branch 'release/26.08'. dolphintabpage: set the active split pane from the view that activated slotViewActivated() toggled m_primaryViewActive rather than looking at which view had emitted activated(). That is correct only while the flag and the two views' own active states agree. They can diverge, and from then on the toggle sets the wrong pane active: the pane the user clicked in loses to the other one, and DolphinMainWindow follows the flag, so Ctrl+X puts the other pane into selection mode instead of cutting the selection. Set the flag from the sender instead, and do nothing when it already names that view. Toggling was what kept the two states diverged once they had come apart. (cherry picked from commit f31ffa68145884dc4798c44b3d5f25b128e01ce0) M +7 -2 src/dolphintabpage.cpp M +31 -0 src/tests/dolphinmainwindowtest.cpp https://invent.kde.org/system/dolphin/-/commit/860adbd62512f11b8e046c5d64da1767aa4cb99a