Summary: | Telegram from the tray always opens on the monitor with a tray, and not where it was before the closure | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Anton K <KVAnton.WEB> |
Component: | wayland-generic | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | nate |
Priority: | NOR | Keywords: | multiscreen |
Version: | 5.23.0 | ||
Target Milestone: | --- | ||
Platform: | Neon | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Anton K
2021-10-17 22:10:21 UTC
(In reply to Anton K from comment #0) > SOFTWARE/OS VERSIONS > Operating System: KDE neon 5.23 > KDE Plasma Version: 5.23.0 > KDE Frameworks Version: 5.87.0 > Qt Version: 5.15.3 It turns out that I can configure to configure on the settings on the screen in the window rules, but it is ignored when clicking on the icon in the tray. Maybe these are the consequences of these fixes (https://bugs.kde.org/show_bug.cgi?id=439986)? Wayland apps can't indicate the screen where they should open. This will be fixed in the future with the xdg-session protocol. (In reply to Anton K from comment #1) > It turns out that I can configure to configure on the settings on the screen > in the window rules, but it is ignored when clicking on the icon in the > tray. It appears like window rules are disabled for telegram on wayland because telegram uses one of our proprietary desktop shell protocols that apps should not use. > Maybe these are the consequences of these fixes > (https://bugs.kde.org/show_bug.cgi?id=439986)? If an app uses the plasma shell protocol, kwin will think that the corresponding window belongs to desktop shell so it will disable window rules for it. (In reply to Vlad Zahorodnii from comment #3) > If an app uses the plasma shell protocol, kwin will think that the > corresponding window belongs to desktop shell so it will disable window > rules for it. https://i.imgur.com/k6EA8jn.png I can create rules through the settings and it seems they even work somehow. But they do not fire when you click on the tray icon. telegram doesn't start using our proprietary desktop shell protocol immediately, it starts using it after committing initial properties so kwin can evaluate window rules before it sees that telegram wants to use the plasma-shell protocol. we removed the window rule limitation for plasmashell surfaces, so I guess this issue can be marked "fixed" |