Open stefonarch opened 7 months ago
Didn't test immediately panel restart. So it's not a big thing.
We have telepathy: today I was going to test exactly the same thing.
Why did you close it? If an app is removed, it's logical to expect that its corresponding item under Favorites should be removed the next time Fancy Menu is shown.
I stumpled by chance open that, in my debian testing VM I had 2 pcmanfm, the gtk one and ours, so I removed it and saw it.
That doesn't rule out telepathy ;)
We could detect .desktop file being deleted with a dir watcher.
And also use XdgDesktopFile::tryExec()
for some rare case where executable is removed but desktop file is kept and remove items returning false (might have some side effects if keeping desktop file was intended behavior).
Is there some hook like xdg updating mime cache which will inform desktop files changed?
Also please tag me in things related to FancyMenu because I really like following it's baby steps. Sometimes I miss these discussions.
Also please tag me in things related to FancyMenu because I really like following it's baby steps. Sometimes I miss these discussions.
You can "watch" lxqt-panel and other repos of interest, to miss nothing.
We could detect .desktop file being deleted with a dir watcher.
I haven't looked into it yet, but I don't think watching desktop entries is the solution, because they can be in ~/.local/share/applications
and persist after uninstalling apps.
Perhaps the most resource-friendly approach is tell the user about the absence of their executables (e.g., by showing a message when he tries to activate them) and let him to remove them. Just a suggestion....
You can "watch" lxqt-panel and other repos of interest, to miss nothing.
Thanks did't think of that.
Perhaps the most resource-friendly approach is tell the user about the absence of their executables (e.g., by showing a message when he tries to activate them) and let him to remove them. Just a suggestion....
I like it. Also I don't expect this would happen frequently.
Removing an application which was previously added to the favorites menu triggers 2 errors:
Expected Behavior
An error should be displayed if launched
Current Behavior
It gets removed if panel is restarted.
See above
Steps to Reproduce (for bugs)
System Information