Bug 402275

Summary: KDE snap removes window controls from GNOME apps in Ubuntu session
Product: [KDE Neon] neon Reporter: Ads20000 <ads200002>
Component: SnapsAssignee: Harald Sitter <sitter>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: kde, nate, neon-bugs-null, sgmoore
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Ads20000 2018-12-18 02:29:09 UTC
SUMMARY
Installing the KDE snap, logging out of the Ubuntu session, then logging into the Plasma snap session, then logging out of that, then back into the Ubuntu session, removes window controls from Deb-based apps.

STEPS TO REPRODUCE
1. Run `snap install --edge --devmode plasma-desktop` on a snap-enabled system.
2. Run `sudo wget https://metadata.neon.kde.org/snap/plasma-snap.desktop -O /usr/share/xsessions/plasma-snap.desktop`
3. Log out of your current session and log into Plasma (snap)
4. Log out of the Plasma session and log into the Ubuntu session
5. Open Files, Terminal, Text Editor, other Deb-based apps

OBSERVED RESULT
The window controls have gone, except, apparently, for Firefox.

EXPECTED RESULT
The window controls are there as previous.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Ubuntu 18.10, core 2.36.3+git1063.bbf4a49~ubuntu16.04.1 (6148)  [edge]
KDE Plasma Version: master+3ffadd6 (4) [edge]
KDE Frameworks Version: 5.47.0 (27) [stable]

ADDITIONAL INFORMATION
Via Tweaks I had customized my window controls in the Ubuntu session from the default, they were on the left and in the order (left-to-right): close, minimize, maximize.
Comment 1 Ads20000 2018-12-18 03:07:26 UTC
On reflection, this may be because I logged into the Ubuntu on Wayland session rather than the Ubuntu snap, which caused an apparent change (it also meant that most Flatpaks are using Adwaita rather than Yaru...)
Comment 2 Ads20000 2018-12-18 10:16:46 UTC
The no window controls issue was resolved by a reboot but it's not ideal that a reboot is effectively required when this isn't made clear or prompted (the Adwaita Flatpak issue that I mentioned in Comment 1 may still just be Wayland).
Comment 3 Kai Uwe Broulik 2018-12-18 10:39:54 UTC
What do you mean by "window controls"?
Comment 4 Ads20000 2018-12-18 10:40:34 UTC
The close, minimize, maximize buttons - X, _, square.
Comment 5 Justin Zobel 2023-01-19 00:18:50 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 6 Scarlett Moore 2023-01-19 16:02:55 UTC
At this this time the plasma-desktop snap is not maintained nor supported. I do not have an ETA for when a new one will be released.