Bug 513559 - Windows do not get focus / raised if launched when already open
Summary: Windows do not get focus / raised if launched when already open
Status: RESOLVED DUPLICATE of bug 442265
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (other bugs)
Version First Reported In: 6.5.4
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-12-19 03:24 UTC by Phil Hord
Modified: 2025-12-20 20:42 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Phil Hord 2025-12-19 03:24:05 UTC
SUMMARY
xdg-activate of any already-opened window does not raise the window or give it the focus.  The tray icon turns orange, but the window remains hidden or minized.

STEPS TO REPRODUCE
1. Open the default browser (e.g. Brave)
2. Minimize the window
3. Run `xdg-open www.google.com`

OBSERVED RESULT
Browser opens the web page but does not get the focus, unminimize nor raise to the top of the window z-order.  The tray icon changes color to orange indicating some activity.

EXPECTED RESULT
Browser should get focus and raise to top of window z-order.

SOFTWARE/OS VERSIONS
Operating System: KDE neon User Edition
KDE Plasma Version: 6.5.4
KDE Frameworks Version: 6.21.0
Qt Version: 6.10.1
Kernel Version: 6.14.0-37-generic (64-bit)
Graphics Platform: Wayland
Processors: 14 × Intel® Core™ Ultra 7 165U
Memory: 32 GiB of RAM (30.8 GiB usable)
Graphics Processor: Intel® Graphics
Manufacturer: LENOVO
Product Name: 21MQS5VJ00
System Version: ThinkPad T16 Gen 3

ADDITIONAL INFORMATION
This is a fairly recent install of KDE Neon without much settings customizations.  The "Window Behavior" settings are all set to defaults. 

This also affects other applications, such as Slack, when I click on app notifications.  Instead of focusing and raising the app, the tray icon highlight color changes and the app window itself doesn't appear to me.
Comment 1 Nate Graham 2025-12-19 16:50:24 UTC

*** This bug has been marked as a duplicate of bug 442265 ***