Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Display "missing app" icon in quicklaunch if the .desktop file is missing #413
Comments
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
hmm, it's easy to implement but I don't see any profit here... |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
pvanek
May 17, 2013
Owner
I think it's resolved with current quicklaunch, right? There is a help text of there is nothing to display.
I think it's resolved with current quicklaunch, right? There is a help text of there is nothing to display. |
pvanek
closed this
May 17, 2013
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
@pvanek: isn't the stub text shown only when quicklaunch contains no icons at all? I think issue was with a .desktop file which impossible to display. If you have a single item in the quicklaunch which is broken - you will not have that help text. |
kuzmas
reopened this
May 17, 2013
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
pvanek
May 20, 2013
Owner
yes, the placeholder text is displayed when
a) there are no icons in startup
b) the last icon/widget is removed from layout
the check for a) to be included in layout is:
- desktop file: XdgDesktopFile::isValid() has to retrun true for given desktop file
- URL/file: file path must not be empty
- legacy handling (exec/icon): icon must be provided
so for me it seems like "if your desktop file is not valid" works here (tested with non existing desktop files.
yes, the placeholder text is displayed when a) there are no icons in startup the check for a) to be included in layout is:
so for me it seems like "if your desktop file is not valid" works here (tested with non existing desktop files. |
pvanek
closed this
May 20, 2013
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
Great! |
added a commit
that referenced
this issue
May 21, 2013
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
SokoloffA
May 21, 2013
Owner
Now quicklaunch check is .desktop:
- valid
- applicable - not hidden in this environment and tryExec check is true.
I think that's enough.
Now quicklaunch check is .desktop:
I think that's enough. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
kuzmas
Jun 5, 2013
Member
After commit 88e3bb0 razor-power disappeared from my quicklaunch and cannot be inserted again.
details are here: 88e3bb0#commitcomment-3266325
After commit 88e3bb0 razor-power disappeared from my quicklaunch and cannot be inserted again. details are here: 88e3bb0#commitcomment-3266325 |
kuzmas
reopened this
Jun 5, 2013
Fixed by 273f92e |
jleclanche commentedSep 3, 2012
If we have a missing .desktop file in the quicklaunch, it is currently hidden and impossible to remove (the user doesnt know its there). It should be displayed as a missing file. It should have its own icon and its only context menu item should be "Remove [foo.desktop]"