Bug 479491 - Dolphin doesn't raise window when opening an already opened folder in Wayland
Summary: Dolphin doesn't raise window when opening an already opened folder in Wayland
Status: CONFIRMED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 23.08.4
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-07 00:56 UTC by Marri
Modified: 2024-01-18 15:40 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.