| Summary: | Implement minimize to tray | ||
|---|---|---|---|
| Product: | [Frameworks and Libraries] kwayland-integration | Reporter: | Juan Simón <decedion> |
| Component: | general | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | RESOLVED UPSTREAM | ||
| Severity: | major | CC: | ashark, bugseforuns, jacek, johannes.kalliauer, kde, m-kde, nate, nicolas.fella, tbertels |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: |
Screenshot with X11
Screenshot with Wayland |
||
|
Description
Juan Simón
2022-11-16 13:13:06 UTC
What do you mean with "it doesn't have the option to minimize to the tray bar."? That's a feature some apps have, what does it have to do with Wayland? Please include screenshots of any differences it might be clearer The original topic was about supporting wayland by kdocker: https://github.com/user-none/KDocker/issues/95 I think the author wanted to ask "support of force traying windows in plasma on wayland". Can you clarify how it works in X11 that some external apps such as AllTray or KDocker can change window properties so it becomes "tray minimized". Is that possible in Wayland? Probably not by KDocker, but by Plasma itself. Created attachment 153998 [details]
Screenshot with X11
Screenshot with X11
Created attachment 153999 [details]
Screenshot with Wayland
Screenshot with Wayland
@NicolasFella: With KDocker you can minimize all apps to tray. [1-4] AllTray [5-8] can do the same, but also doesn't work on Wayland. LG von einem Österreicher @DavidEdmundson: I attached two screenshots, one with X11 how it should work, and one on Wayland where it does not work. [1] Website: https://kdocker.sourceforge.net/ [2] source-code: https://github.com/user-none/KDocker/releases/tag/5.4 [3] Ubuntu: https://manpages.ubuntu.com/manpages/focal/man1/kdocker.1.html [4] Fedora: https://src.fedoraproject.org/rpms/kdocker [5] Documentation: https://linux.die.net/man/1/alltray [6] GitHub: https://github.com/mbt/alltray [7] Ubuntu: https://wiki.ubuntuusers.de/Archiv/AllTray/ [8] Fedora: https://fedora.pkgs.org/37/rpm-sphere-x86_64/alltray-0.7.6dev-0.x86_64.rpm.html > Is that possible in Wayland? Yes, the app has to implement it. Tons already do. > Probably not by KDocker, but by Plasma itself. Plasma doesn't have this feature; see Bug 428873. Oh I see, KDocker is a tool to implement the ability to minimize arbitrary apps to the tray, and it doesn't work on Wayland due to Wayland limitations. This is something the KDocker developers would have to propose fixing upstream, using a new optional Wayland protocol to govern it, which compositors would then optionally implement support for What is a right upstream place? I have found this: https://gitlab.freedesktop.org/wayland/wayland/-/issues/337 But it is closed. https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/414 (xdg-shell: add enums for minimized state to toplevel configure) is enough. |