Opened 10 years ago
Closed 10 years ago
#3038 closed defect (fixed)
omnotebook.desktop leads to corrupted start menu under Lubuntu
Reported by: | Rüdiger Franke | Owned by: | Adeel Asghar |
---|---|---|---|
Priority: | high | Milestone: | 1.9.2 |
Component: | Installation program | Version: | trunk |
Keywords: | Cc: |
Description
Installing OpenModelica under Lubuntu 14.10 with:
sudo apt-get install openmodelica
leads to a corrupted start menu in lxpanel. After some trial&error and re-installations, finally a newline in the Comment of the desktop entry for OMNotebook turned out to be the reason:
[Desktop Entry] Version=1.0 Encoding=UTF-8 Name=OMNotebook GenericName=Physical modeling and simulation tool Comment=An open-source software tool for an electronic notebook\nsupporting Modelica. TryExec=OMNotebook Exec=OMNotebook %f Icon=/usr/share/pixmaps/OMNotebook_icon.svg Terminal=false Type=Application StartupNotify=true Categories=Development;Education;Science;Math; MimeType=text/x-onb;application/x-omnotebook;
Can you possibly remove the \n from the Comment?
Change History (5)
comment:1 by , 10 years ago
Component: | Unknown → Installation program |
---|---|
Milestone: | Future → 1.9.2 |
Owner: | changed from | to
comment:3 by , 10 years ago
It might indeed be a bug in lxpanel. On the other hand side it is generally a good idea to separate contents from formatting. LXPanel, for instance, shows the Comments in tool tips for the menu items. In the case of OMNotebook, LXPanel decides on its own to break the line as follows:
An open-source software tool for an electronic notebook supporting Modelica.
comment:4 by , 10 years ago
I already removed the \n from comment. Just waiting for Martin to merge it. https://github.com/OpenModelica/OpenModelicaBuildScripts/pulls
comment:5 by , 10 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
https://github.com/OpenModelica/OpenModelicaBuildScripts Sounds like a bug in lxpanel though.