https://bugs.kde.org/show_bug.cgi?id=527914

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #3 from [email protected] ---
I can reproduce this on Void Linux with the same versions (Plasma/KWin 6.7.5,
Wayland, Google Chrome 156.0.8078.47, native Wayland). The same root cause
also breaks the main Alt+Tab switcher, not just Alt+`:

1. System Settings > Window Management > Task Switcher: enable
   "Only one window per application".
2. Open a normal Chrome window and an installed web app (Google Chat,
   app_id chrome-<id>-Default, with its own .desktop file).
3. Press Alt+Tab.

Result: the browser and the web app share one entry (whichever was used
last), so the other window can't be reached with Alt+Tab.

Expected: the web app has its own entry, since its app_id and desktop file
differ from the browser's.

This goes through the same path. TabBoxHandlerImpl::checkApplications()
calls Window::belongToSameApplication(..., AllowCrossProcesses), and
WaylandWindow::belongsToSameApplication() falls back to the Wayland client
comparison when the desktop file names differ. The fix suggested above
(only use the client check when desktopFileName is empty) should fix both
the Alt+` and the "one window per application" symptoms.

Maybe the title could be widened to cover both, e.g. "Task switcher treats
Chrome PWAs as the same application as Chrome on Wayland".


This report is 100% generated by LLM model. I'm somewhat familiar with linux by
tweaking things here and there. According to my understanding the report is
good.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to