Bug 33115

Summary: Cinnamon on Wayland: closing some applications removes the desktop with its icons (but not the taskbar).
Product: Mageia Reporter: Ben McMonagle <westel>
Component: RPM PackagesAssignee: Joseph Wang <joequant>
Status: NEW --- QA Contact:
Severity: normal    
Priority: Normal CC: mageia
Version: Cauldron   
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: cinnamon-5.6.7-1.mga9.src.rpm CVE:
Status comment:

Description Ben McMonagle 2024-04-19 23:47:37 CEST
Description of problem: When invoking MCC from command line in a Cinnamon wayland session, everything appears normal. Closing MCC results in the desktop (wallpaper and any icons) disappearing. taskbar / panel remains usable.
this does not occur in an X11 cinnamon session.

Attempting to invoke again MCC via CLI, results in an ncurses display of dconf.
Logout and back in does not correct the issue. reboot is required.


While the issue was discovered via the above, there are other instances where closing an application will cause the desktop to disappear. (e.g: evince-previewer)


Version-Release number of selected component (if applicable):
cinnamon-6.0.4-2.mga10


How reproducible:
always

Steps to Reproduce:
1.install task-cinnamon into existing cauldron system 
2.log into a cinnamon wayland session.
3. open, then close MCC via cli
Comment 1 Ben McMonagle 2024-04-19 23:50:46 CEST
this was hidden behind the ncurses window.

# mcc
Too late to run INIT block at /usr/lib64/perl5/vendor_perl/Glib/Object/Introspection.pm line 257.
Invalid MIT-MAGIC-COOKIE-1 key
Comment 2 Lewis Smith 2024-04-21 21:31:24 CEST
Thank you for the report.
Cinnamon with Wayland...

Please cite any other applications that you find that behave the same way (you did for one): is this just an MCC issue, for example?
And try them on different desktops: is this just for Cinnamon/Wayland?

TIA

CC: (none) => lewyssmith

Comment 3 Ben McMonagle 2024-04-22 08:50:15 CEST
ok, some more investigation.
these 2 examples reliably demonstrate the issue for my hardware.

1/ invoke "console" (kgx) via application menu.
change user "console" to a root "console" instance. (Mixed DE install)
close the root "console" instance, do not exit to "user" first.

2/ invoke any V.Terminal.
invoke $ evince-previewer nnnnn.txt  (eg $ evince-previewer guiApps.txt)
close the error message.

no other applications appear affected.



(In reply to Lewis Smith from comment #2)

> And try them on different desktops: is this just for Cinnamon/Wayland?


just for Cinn/Wayland.

Because I noted it first when closing mcc, I erroneously blamed MCC.

Summary: When closing MCC, the entire desktop closes (cinnamon wayland session) => When closing evince-previewer error message, the entire desktop closes (cinnamon wayland session)

Comment 4 Ben McMonagle 2024-04-22 08:52:02 CEST
$ lspcidrake -v
unknown         : Intel Corporation|7 Series/C210 Series Chipset Family PCI Express Root Port 3 [BRIDGE_PCI] (vendor:8086 device:1e14) (rev: c4)
xhci_pci        : Intel Corporation|7 Series/C210 Series Chipset Family USB xHCI Host Controller [SERIAL_USB] (vendor:8086 device:1e31 subv:1179 subd:0001) (rev: 04)
Card:Intel 810 and later: Intel Corporation|3rd Gen Core processor Graphics Controller [DISPLAY_VGA] (vendor:8086 device:0166 subv:1179 subd:0003) (rev: 09)
iwlwifi         : Intel Corporation|Centrino Advanced-N 6235 [NETWORK_OTHER] (vendor:8086 device:088e subv:8086 subd:4060) (rev: 24)
unknown         : Intel Corporation|7 Series/C216 Chipset Family USB Enhanced Host Controller #1 [SERIAL_USB] (vendor:8086 device:1e26 subv:1179 subd:0001) (rev: 04)
unknown         : Intel Corporation|7 Series/C210 Series Chipset Family KT Controller [COMMUNICATION_SERIAL] (vendor:8086 device:1e3d subv:1179 subd:0001) (rev: 04)
unknown         : Intel Corporation|7 Series/C216 Chipset Family USB Enhanced Host Controller #2 [SERIAL_USB] (vendor:8086 device:1e2d subv:1179 subd:0001) (rev: 04)
unknown         : Intel Corporation|7 Series/C210 Series Chipset Family PCI Express Root Port 2 [BRIDGE_PCI] (vendor:8086 device:1e12) (rev: c4)
unknown         : Intel Corporation|3rd Gen Core processor DRAM Controller [BRIDGE_HOST] (vendor:8086 device:0154 subv:1179 subd:0001) (rev: 09)
e1000e          : Intel Corporation|82579LM Gigabit Network Connection (Lewisville) [NETWORK_ETHERNET] (vendor:8086 device:1502 subv:1179 subd:0002) (rev: 04)
snd_hda_intel   : Intel Corporation|7 Series/C216 Chipset Family High Definition Audio Controller [MULTIMEDIA_AUDIO_DEV] (vendor:8086 device:1e20 subv:1179 subd:0001) (rev: 04)
sdhci_pci       : Ricoh Co Ltd|PCIe SDXC/MMC Host Controller [SYSTEM_OTHER] (vendor:1180 device:e823 subv:1179 subd:0001) (rev: 07)
mei_me          : Intel Corporation|7 Series/C216 Chipset Family MEI Controller #1 [COMMUNICATION_OTHER] (vendor:8086 device:1e3a subv:1179 subd:0001) (rev: 04)
unknown         : Intel Corporation|7 Series/C210 Series Chipset Family PCI Express Root Port 6 [BRIDGE_PCI] (vendor:8086 device:1e1a) (rev: c4)
lpc_ich         : Intel Corporation|QM77 Express Chipset LPC Controller [BRIDGE_ISA] (vendor:8086 device:1e55 subv:1179 subd:0001) (rev: 04)
unknown         : Intel Corporation|7 Series/C216 Chipset Family PCI Express Root Port 1 [BRIDGE_PCI] (vendor:8086 device:1e10) (rev: c4)
unknown         : Intel Corporation|7 Series Chipset Family 6-port SATA Controller [AHCI mode] [STORAGE_SATA] (vendor:8086 device:1e03 subv:1179 subd:0001) (rev: 04)
hub             : Linux 6.6.28-desktop-1.mga10 ehci_hcd|EHCI Host Controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0002)
hub             : Intel Corp.|Integrated Rate Matching Hub [Hub|Unused|Full speed (or root) hub] (vendor:8087 device:0024)
hub             : O2 Micro, Inc.|Oz776 1.1 Hub [Hub|Unused|Full speed (or root) hub] (vendor:0b97 device:7761)
unknown         : O2|O2Micro CCID SC Reader [Chip/SmartCard] (vendor:0b97 device:7772)
btusb           : Intel Corp.|Centrino Bluetooth Wireless Transceiver [Wireless|Radio Frequency|Bluetooth] (vendor:8087 device:07da)
uvcvideo        : Chicony Electronics Co.,Ltd.|TOSHIBA Web Camera - HD [Video|Video Control] (vendor:04f2 device:b369)
hub             : Linux 6.6.28-desktop-1.mga10 ehci_hcd|EHCI Host Controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0002)
hub             : Intel Corp.|Integrated Rate Matching Hub [Hub|Unused|Full speed (or root) hub] (vendor:8087 device:0024)
unknown         : AuthenTec, Inc.|Fingerprint Sensor (vendor:08ff device:168b)
cdc_acm         : TOSHIBA |H5321 gw [Communications|Abstract (modem)|AT-commands (v.25ter)] (vendor:0930 device:1319)
hub             : Linux 6.6.28-desktop-1.mga10 xhci-hcd|xHCI Host Controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0002)
hub             : Linux 6.6.28-desktop-1.mga10 xhci-hcd|xHCI Host Controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0003)
Comment 5 Lewis Smith 2024-04-22 21:52:12 CEST
evince-previewer is a GNOME program to show  a  printing  preview  from
       PostScript (PS), Portable Document Format (PDF), DjVu and DVI files.
Its man page says: "This program is not meant to be called by end-users" !
How did you see the problem: via Evince? Your 'steps to reproduce' are devious.

Trying it on M9, it refuses tidily .txt & .odt files, displays OK .pdf.
Comment 6 Ben McMonagle 2024-04-25 06:43:44 CEST
(In reply to Lewis Smith from comment #5)
> 
> Trying it on M9, it refuses tidily .txt & .odt files, displays OK .pdf.

yes

onwards....

2 more offenders:

dconf-editor when called from either CLI or menu launcher.
clicking the "I'll be careful" button closes dconf-editor, wallpaper and desktop icons.

gnome-disk-image-mounter when called from CLI displays the issue when closed.

Maybe the title to this report should be changed, as it is likely an issue with cinnamon-on-wayland (experimental) rather than the applications themselves. they behave themselves in standard Cinnamon and other DEs.

Obviously a problem with automated testing - buttons don't get pressed!.
Comment 7 Ben McMonagle 2024-04-27 02:57:03 CEST
also to add:

$ totem

invoking from cli gives an error message - file cannot be played.

pressing the "ok" closes totem and the desktop.

seems like the commonality is the error message.
Comment 8 Lewis Smith 2024-04-28 20:40:06 CEST
Thanks for the extra info. It certainly looks like a Cinnalon/Wayl

Summary: When closing evince-previewer error message, the entire desktop closes (cinnamon wayland session) => Cinnamon on Wayland: closing some applications removes the desktop with its icons (but not the taskbar).
Source RPM: (none) => cinnamon-5.6.7-1.mga9.src.rpm
Assignee: bugsquad => joequant

Comment 9 Lewis Smith 2024-04-28 20:42:16 CEST
...Wayland problem. Is it worth an upstream Bug?

Assigning to joseph for Cinnamon. Re-assign if you wish.

CC: lewyssmith => (none)

Comment 10 Ben McMonagle 2024-04-28 20:57:56 CEST
(In reply to Lewis Smith from comment #9)
> ...Wayland problem. Is it worth an upstream Bug?
> 
> Assigning to joseph for Cinnamon. Re-assign if you wish.

none of the applications are native to the desktop ( maybe dconf-editor is)
so maybe upstream will not be interested.
Comment 11 Martin Whitaker 2024-04-29 00:02:12 CEST
From https://forums.linuxmint.com/viewtopic.php?t=411761:

"Experimental support for Cinnamon running in Wayland was introduced in Cinnamon 6.0. It is in alpha stage. That means you should expect lots of parts to not work."

Follow the link for more details, but the TL;DR summary is that it is not ready for general use.

CC: (none) => mageia