Bug 482258

Summary: Chromium with Wayland Ozone platform does not come to foreground when link opened from another app
Product: [Plasma] kwin Reporter: Mikhail Ramendik <mr>
Component: wayland-genericAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: normal CC: bizyaev
Priority: NOR    
Version: 5.27.10   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description Mikhail Ramendik 2024-03-02 23:19:23 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. In Chromium, in chrome://flags, set Preferred Ozone Platform to Wayland (or Auto)
2. Ensure Chromium is the default browser and at least one tab is already open
3. Click a web link in another application

OBSERVED RESULT

The link opens in Chromium, but Chromium remains in the background, one has to switch to it

EXPECTED RESULT

Chromium window comes to the foreground with the new tab with the link open

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.27.10
KDE Frameworks Version: 5.113.0
Qt Version: 5.15.1

ADDITIONAL INFORMATION

Running Fedora 38 with Plasma and Chromium from the distro. By default Chromium works normally but gets assigned an icon from another app and gets merged with it in the task bar, see bug 358277 . The workaround described in that bug it so use chrome://flags and set Preferred Ozone Platform to Wayland. This workaround resolves the icon issue, but causes this other issue.
Comment 1 Ilya Bizyaev 2024-03-02 23:53:54 UTC
This should be fixed in Chromium with https://chromium-review.googlesource.com/c/chromium/src/+/5280365 when it lands in a release.