Bug 482258 - Chromium with Wayland Ozone platform does not come to foreground when link opened from another app
Summary: Chromium with Wayland Ozone platform does not come to foreground when link op...
Status: RESOLVED UPSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: 5.27.10
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-02 23:19 UTC by Mikhail Ramendik
Modified: 2024-03-02 23:53 UTC (History)
1 user (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 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.