FS#45170 - [cinnamon] Cinnamon menu display is broken in 2.6.6.

Attached to Project: Community Packages
Opened by Frederic Bezies (fredbezies) - Tuesday, 02 June 2015, 06:17 GMT
Last edited by Doug Newgard (Scimmia) - Tuesday, 09 June 2015, 03:15 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Alexandre Filgueira (faidoc)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 5
Private No

Details

Description: If you do a clean install of Cinnamon 2.6.6, menu display is completely broken. When you click on menu, you only have a little window with search bar.

I will add my .xsession-error in order to help fixing this, but you can see in it :

(cinnamon:3596): Cjs-WARNING **: JS ERROR: Exception in callback for signal: open-state-changed: TypeError: this._allAppsCategoryButton is undefined
MyApplet.prototype._onOpenStateChanged@/usr/share/cinnamon/applets/menu@cinnamon.org/applet.js:1185
_emit@resource:///org/gnome/gjs/modules/signals.js:124
PopupMenu.prototype.open@/usr/share/cinnamon/js/ui/popupMenu.js:1478
PopupMenuBase.prototype.toggle_with_options@/usr/share/cinnamon/js/ui/popupMenu.js:1310
MyApplet.prototype.on_applet_clicked@/usr/share/cinnamon/applets/menu@cinnamon.org/applet.js:1149
Applet.prototype._onButtonPressEvent@/usr/share/cinnamon/js/ui/applet.js:239

Or :

Traceback (most recent call last):
File "/usr/bin/cinnamon-launcher", line 34, in <module>
os.execvp(FALLBACK_COMMAND, (FALLBACK_COMMAND,) + FALLBACK_ARGS)
File "/usr/lib/python2.7/os.py", line 346, in execvp
_execvpe(file, args)
File "/usr/lib/python2.7/os.py", line 382, in _execvpe
func(fullname, *argrest)
OSError: [Errno 2] Aucun fichier ou dossier de ce type

(cinnamon-launcher:3594): Gdk-WARNING **: cinnamon-launcher: Fatal IO error 2 (No such file or directory) on X server :0.

Additional info:

* config and/or log files etc.
cinnamon 2.6.6-1

Steps to reproduce:

Just do a clean install of Cinnamon.
This task depends upon

Closed by  Doug Newgard (Scimmia)
Tuesday, 09 June 2015, 03:15 GMT
Reason for closing:  Fixed
Additional comments about closing:  cinnamon-2.6.7-1
Comment by Frederic Bezies (fredbezies) - Tuesday, 02 June 2015, 06:19 GMT
And a screenshot of what I get when I do a clean install in VirtualBox. Looks like a downgrade is needed :(
Comment by Will (wjko) - Tuesday, 02 June 2015, 11:25 GMT
First time posting here - let me know if I've done anything wrong.

Same problem here - there is a a workaround if you only rarely reboot, if you right-click on the menu and click "Configure", then "Open the menu editor", then un-tick then re-tick one of the categories, you get most of the menu back. This needs to be redone every time Cinnamon is launched though, and the power button is still broken (see attachment). I'm also using Virtualbox FWIW (testing it out before I do it on my main system).
Comment by Frederic Bezies (fredbezies) - Tuesday, 02 June 2015, 11:28 GMT
Thanks for the workaround. xerrors-session I attached was made on my real PC. I cannot grab the one from my virtualbox machine, because firefox does not launch.
Comment by Will (wjko) - Tuesday, 02 June 2015, 11:34 GMT
I don't have a xsession-errors in my VM (new-ish install, about a week old), but I do have .cinnamon/glass.log, which I've attached. Unfortunately, nothing interesting in there.
Comment by Jan (visi0nary) - Tuesday, 02 June 2015, 13:53 GMT
Can confirm, 2.6.6 broke basically everthing. The shutdown menu only shows "Cancel" and no power events are registered (e.g. lid close, pressing power button). After downgrading cinnamon-settings-daemon to 2.4.x power events are registered again.
Comment by Kyle (2bluesc) - Tuesday, 02 June 2015, 14:06 GMT
There is a forum thread on this as well @ https://bbs.archlinux.org/viewtopic.php?id=198163

The suggested workaround `dconf write /org/cinnamon/desktop/session/session-manager-uses-logind true` worked for me.
Comment by Frederic Bezies (fredbezies) - Tuesday, 02 June 2015, 14:09 GMT
Cinnamon 2.6.6 had a really short life. 2.6.7 is out :

https://github.com/linuxmint/Cinnamon/commit/49062bc786b98e7c18864cbc3140497ac38c7ed9

Here is the changelog :

[ Michael Webster ]
* Make cinnamon a proper registered client with cinnamon-session. This lets us kill it on command. Otherwise, it lasts longer than c-s-d does (which is also a registered client) and we get strange icon/theme issues during logout, once xsettings dies.

[ Clement Lefebvre ]
* Renamed Screen Locker settings -> Screensaver and regenerated module desktop files
* Updated desktop files
* Make sure to refresh menu/panel-launchers at least once (when the Cinnamon icon theme is the same as the GTK one we don't get any icon-theme-change from St)
* By default, allow Cinnamon to scale panel text and icons according to the panel heights

-- Clement Lefebvre <root@linuxmint.com> Tue, 02 Jun 2015 12:39:58 +0200
Comment by Swen Thümmler (grmblfrz) - Tuesday, 02 June 2015, 18:42 GMT
I found that killing cinnamon-settings-daemon brought everything back to normal (for the current session, that is). Hope this helps.

--Swen
Comment by Frederic Bezies (fredbezies) - Friday, 05 June 2015, 17:13 GMT
Fixed in Cinnamon 2.6.7. See screenshot.
   001.png (192.3 KiB)

Loading...