Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#54391 - [cinnamon] Add dependencies for fallback support

Attached to Project: Community Packages
Opened by itzexor (itzexor) - Friday, 09 June 2017, 20:55 GMT
Last edited by Balló György (City-busz) - Thursday, 22 June 2017, 09:48 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Alexandre Filgueira (faidoc)
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Currently the PKGBUILD doesn't specify any depends for the fallback support in cinnamon. When cinnamon crashes it tries to launch metacity and mate-panel OR gnome-panel OR tint2[0][1].

I tested on my box here and gnome-panel doesn't quite work on its own. At a minimum you need to install nautilus so it doesn't immediately segfault. This may be a packaging issue with gnome-panel, I don't know. Beyond that, there are no applets and the panels will just be blank and useless as a fallback session without possibly many more depends. I didn't test mate-panel. Considering that, I suggest that we add metacity and tint2 as depends for fallback support.

Fallback support can be tested within a cinnamon session by launching Melange by either: right click panel -> troubleshoot -> looking glass, or use super + L shortcut. From melange actions menu there is an option to crash cinnamon. When this happens the fallback session should be loaded, and a dialog asks if you want to restart cinnamon. Without these dependencies no window manager or panel are loaded. Cinnamon will restart properly, but if it has crashed because of a persistent issue then there will be no fallback.

To summarize:
I suggest adding metacity and tint2 as dependencies. They can be optdepends, but without them fallback will not work as intended.

Thanks for your time.

[0] https://github.com/linuxmint/Cinnamon/blob/61b1d4a2b3f53d98d3d29f3a258012f342ba9e30/files/usr/bin/cinnamon-launcher#L6
[1] https://github.com/linuxmint/Cinnamon/blob/61b1d4a2b3f53d98d3d29f3a258012f342ba9e30/files/usr/bin/cinnamon-launcher#L24
This task depends upon

Closed by  Balló György (City-busz)
Thursday, 22 June 2017, 09:48 GMT
Reason for closing:  Fixed
Additional comments about closing:  gnome-panel 3.24.1-2 and cinnamon trunk
Comment by Balló György (City-busz) - Thursday, 22 June 2017, 09:48 GMT
I'll add metacity and gnome-panel to optdepends.

If the gnome-panel is empty, then it's probably an upstream bug, that needs to be reported:
https://bugzilla.gnome.org/page.cgi?id=browse.html&product=gnome-panel

You can reset gnome-panel settings with the following command:
$ gsettings reset-recursively org.gnome.panel

Loading...