Bug 479491

Summary: Dolphin doesn't raise window when opening an already opened folder in Wayland
Product: [Applications] dolphin Reporter: Marri <boslmari7>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: kde, kfm-devel, nate
Priority: NOR    
Version: 23.08.4   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:

Description Marri 2024-01-07 00:56:44 UTC
SUMMARY
If I select "Open Folder" in an application or the command line I would expect that Dolphin opens that folder, no matter if it's already opened or not. But if I open a folder some window in the background has already opened, nothing happens.
A different folder gets opened in a new window, but that's not what should happen, the currently opened window should steal focus or reopen.

STEPS TO REPRODUCE
1. Open Dolphin Window in Folder A (e.g. via commandline with dolphin -select A)
2. Open other Window that moves over the Dolphin Window in Folder A (e.g. an IDE in Folder A)
3. Open Dolphin Window in Folder A again (e.g. in the IDE through the Button "open Folder in Dolphin" or similar)


OBSERVED RESULT
The already opened Dolphin Window does not steal focus, it seems as if nothing happens.

EXPECTED RESULT
The already opened Dolphin Window should steal focus.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Fedora 39
(available in About System)
KDE Plasma Version: 5.27.10
KDE Frameworks Version: 5.111.0
Qt Version: 5.15.11

ADDITIONAL INFORMATION
I am using Wayland
Comment 1 David Edmundson 2024-01-18 15:40:55 UTC
Whilst the infrastructure is in place, dolphin is losing track of xdg-activation tokens in it's startup sequence.