https://bugzilla.novell.com/show_bug.cgi?id=781074
https://bugzilla.novell.com/show_bug.cgi?id=781074#c37
--- Comment #37 from Agnelo de la Crotche
Agnelo,
This discussion about the missing values is going to far.
Hi Nelson, I knew you would say that. ;) Sorry. It's another problem I just noticed incidentally ... and fixed - or more exactly worked around. A new patch will follow. It suffices to take only the first line of the returned description. That way, if the Comment key is present but empty and you get the file header information instead, it won't break the menu. It doesn't just affect cinnamon. It is indeed a gettext "feature". You'll see the same info in gnome-fallback but there, it will appear in a tooltip box, which is not really a problem. In cinnamon however, it will show up at the bottom of the menu, increasing its size, and as I said, it's not always easy to scroll out of there. Please compare these 2 pictures, before and after I patched the applet: http://imageshack.us/a/img716/3629/cinnamonemptycomment.png http://imageshack.us/a/img201/5387/cinnamonmenuemptycommen.png
it's a bug (packaging or design) from Nautilus and it can be fixed during the packaging stage with %suse_update_desktop_file. So please open a bug report on Nautilus,
Nautilus is OK. I did empty the Comment in order to reproduce this behaviour. I could have chosen another example. Actually the "only" application which came with an empty comment on this machine was "juk", an old KDE music player. I would expect but don't assume that packagers and developers will strickly follow the specifications. We often have to deal with .desktop files containing (mostly minor) syntax errors and have to figure out some hacks. I guess my patch should be OK, despite it's a little bit straightforward. But considering the fact that cinnamon displays the description inside the menu and not in a tooltip box, taking only the first line of the Comment looks like an acceptable workaround. I haven't seen any Comment that includes "\n" anyway. The only ones which produce line feeds are empty comments when they get replaced with header information. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.