New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

R3.0: Restored AppVM menu icons are buggy #1289

Open
andrewdavidwong opened this Issue Oct 7, 2015 · 5 comments

Comments

Projects
None yet
2 participants
@andrewdavidwong
Member

andrewdavidwong commented Oct 7, 2015

I restored several AppVMs onto a fresh R3.0 install. Even after using qvm-sync-appmenus and restarting everything several times, many of the KDE menu icons are exhibiting strange behavior: There appears to be no icon next to an entry, but then hovering over that entry causes the icon to appear (but only while the cursor is over it).

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Oct 7, 2015

Member

I think this may be another case of #1106

Member

marmarek commented Oct 7, 2015

I think this may be another case of #1106

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Oct 7, 2015

Member

Also it may be some KDE icon cache issue... Try removing /var/tmp/kdecache-*/icon-cache.kcache then logout and login.
If this doesn't help, take one misbehaving entry, find appropriate desktop file in /var/lib/qubes/appvms/*/apps, check the Icon key, check if the file pointed there really exists, is the correct icon etc.

Member

marmarek commented Oct 7, 2015

Also it may be some KDE icon cache issue... Try removing /var/tmp/kdecache-*/icon-cache.kcache then logout and login.
If this doesn't help, take one misbehaving entry, find appropriate desktop file in /var/lib/qubes/appvms/*/apps, check the Icon key, check if the file pointed there really exists, is the correct icon etc.

@andrewdavidwong

This comment has been minimized.

Show comment
Hide comment
@andrewdavidwong

andrewdavidwong Oct 8, 2015

Member

I was somehow able to get them all to show up correctly by add/removing entries and changing VM colors, then rebooting.

Member

andrewdavidwong commented Oct 8, 2015

I was somehow able to get them all to show up correctly by add/removing entries and changing VM colors, then rebooting.

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Oct 8, 2015

Member

I think this confirms KDE icon cache issue. The cache is removed when changing label specifically because of such problems.
Maybe we should remove it also after every qvm-sync-appmenus or even any icons modification? I'm not sure how it would affect performance, but outdated/broken icons in KDE is unfortunately quite common problem :(

Member

marmarek commented Oct 8, 2015

I think this confirms KDE icon cache issue. The cache is removed when changing label specifically because of such problems.
Maybe we should remove it also after every qvm-sync-appmenus or even any icons modification? I'm not sure how it would affect performance, but outdated/broken icons in KDE is unfortunately quite common problem :(

@andrewdavidwong

This comment has been minimized.

Show comment
Hide comment
@andrewdavidwong

andrewdavidwong Oct 8, 2015

Member

IME, qvm-sync-appmenus adds a noticeable delay when updating templates, so if we add even more steps, it would be nice if the whole process were not run automatically every time (especially if this particular issue only happens when AppVMs are restored from a backup, which should not happen very often).

Member

andrewdavidwong commented Oct 8, 2015

IME, qvm-sync-appmenus adds a noticeable delay when updating templates, so if we add even more steps, it would be nice if the whole process were not run automatically every time (especially if this particular issue only happens when AppVMs are restored from a backup, which should not happen very often).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment