This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Krita missing icons

Tags: None
(comma "," separated)
User avatar
vayu
Registered Member
Posts
129
Karma
0
OS

Krita missing icons

Sat Sep 15, 2012 7:04 pm
All the icons on the main tools are the same plain white icon. These occur in a few other spots too.
I'm using the stock oxygen icon theme with oxygen transparent.
I've tried reinstalling oxygen-icon-theme and dpkg-reconfigure both the icon theme and Krita.
Krita is pretty much unusable this way.
I installed Calligra from Kubuntu Backports 12.04. It has Krita 2.5.
Any help would be appreciated. Any ideas?
User avatar
vayu
Registered Member
Posts
129
Karma
0
OS

Re: Krita missing icons

Wed Sep 19, 2012 9:52 am
Anybody have any idea how to trace this problem? I installed Krita on a simular computer and it has the icons. I searched and found the icons in /usr/share/kde4/apps/krita/pics/. But where is Krita looking for them? How do I find out where it's looking for them?
User avatar
halla
KDE Developer
Posts
5092
Karma
20
OS

Re: Krita missing icons

Wed Sep 19, 2012 10:29 am
Well, that is where krita should look for those icons. I'm really puzzled, since the icons on the toolbox are krita specific, so oxygen isn't relevant here. And if krita starts then it can find its desktop files, plugins and so on, so that seems ok. Do you have any presets, brushes or patterns?

You could try to create a new, temporary user and run krita as that user. If that works, your user's icon cache might be broken, you could try to clean out /var/tmp/kdecache-$USERNAME.
User avatar
vayu
Registered Member
Posts
129
Karma
0
OS

Re: Krita missing icons

Fri Sep 21, 2012 7:48 am
boudewijn wrote:You could try to create a new, temporary user and run krita as that user. If that works, your user's icon cache might be broken, you could try to clean out /var/tmp/kdecache-$USERNAME.


Thanks for replying. Creating a new user works, that user's Krita has icons. For my real user I've got so many tweaks and customizations I can't imagine starting over. I tried deleting /var/tmp/kdecache-$USERNAME and I also deleted the krita folder in ~./.kde/share/apps and the kritarc file in ~/.kde/share/config. I still have no icons. I have done nothing to Krita that I know of. It's a fresh install (of calligra). I also uninstalled and reinstalled. I'm lost (and frustrated). I really want to learn and use Krita. Any other ideas?
User avatar
halla
KDE Developer
Posts
5092
Karma
20
OS

Re: Krita missing icons

Fri Sep 21, 2012 8:12 am
Okay, let's take this methodically... We know it's not a problem with krita itself, or the system-wide installation of krita -- that's proven by the fact that the temp user has the icons. So it must be something with your user. In fact, I remember having a similar issue, but I have forgotten what I did exactly to fix it...

It cannot be the settings in .kde/share, since nothing in there deals with icons at all. There is no reason to remove anything in there, so your local tweaks should be safe.

You say you tried to delete /var/tmp/kdecache-$USERNAME. Just to make sure, you replaced $USERNAME with your local username, right? If you did that, did that work, or did you get an error? The relevant file is icon-cache.kcache (I think), and that could conceivably be owned by another user or root? Are the symlinks in ~/.kde correct? Do you have enough space on the partition that contains /var?
User avatar
vayu
Registered Member
Posts
129
Karma
0
OS

Re: Krita missing icons

Fri Sep 21, 2012 9:13 am
Thanks so much for your help! I've finally got it working. I switched from oxygen transparent back to oxygen and then when I went to Krita I had the icons. Then I switched back to oxygen transparent, restarted and I still have the icons. I'm happy. Now I need to find a good tutorial.
User avatar
halla
KDE Developer
Posts
5092
Karma
20
OS

Re: Krita missing icons

Fri Sep 21, 2012 9:21 am
I wonder what that reset... For a tutorial, ValerieVK's is pretty good: http://white-heron.deviantart.com/#/d5e2iij
User avatar
vayu
Registered Member
Posts
129
Karma
0
OS

Re: Krita missing icons

Fri Sep 21, 2012 5:04 pm
boudewijn wrote:I wonder what that reset...

Very curious. It was hard to suspect it because Krita install was sucessful on my sons computer which has oxygen transparent too.

Thanks, for the tutorial, looks like just what I need.
User avatar
vayu
Registered Member
Posts
129
Karma
0
OS

Re: Krita missing icons

Sun Sep 23, 2012 4:58 am
boudewijn wrote:I wonder what that reset...


So the switching back to oxygen then back to oxygen transparent works but not completely. At random times opon opening Krita some icons will be lost (or more accurately replaced with a "page with a dog-ear" icon).

By doing a very specific routine of changing to oxygen theme, then opening Krita with that theme active, then the icons will reappear. I can then change the theme back to oxygen transparent and the icons will stay after opening and closing Krita once, twice or even several times, but so far at some point some of the icons will revert back to the generic ones. The icons susceptible to being replaced with generic ones are the ones in the layers and the ones in the tools section starting from the paint with brushes.

When using oxygen transparent I have Krita listed as an exception but that doesn't help.

Any ideas short of not using oxygen transparent of what I might do?
Tsu Jan
Registered Member
Posts
6
Karma
0

Re: Krita missing icons

Sun Mar 10, 2013 12:39 pm
That sould be about a bug in oxygen-transparent. I saw the same thing with Karbon too.

I made changes to the source of oxygen-transparent so that it became similar to that of oxygen (belonging to kde-workspace) except for the parts related to transparency and blurring. Then I recompiled it and the problem was fixed. However, because I still use kde 4.8.4 from Debian, which is old, I didn't post a bug report. I'll wait until kde 4.10 comes to Debian.
User avatar
vayu
Registered Member
Posts
129
Karma
0
OS

Re: Krita missing icons

Wed Mar 13, 2013 12:42 am
Tsu Jan wrote:That sould be about a bug in oxygen-transparent. I saw the same thing with Karbon too.

I made changes to the source of oxygen-transparent so that it became similar to that of oxygen (belonging to kde-workspace) except for the parts related to transparency and blurring. Then I recompiled it and the problem was fixed. However, because I still use kde 4.8.4 from Debian, which is old, I didn't post a bug report. I'll wait until kde 4.10 comes to Debian.


Thanks, I'll try download and compile the latest oxygen-transparent.
User avatar
vayu
Registered Member
Posts
129
Karma
0
OS

Re: Krita missing icons  Topic is solved

Thu Mar 14, 2013 9:45 am
Downloading and recompiling the latest oxygen-transparent fixed the icon problem for me in Krita (Kubuntu 12.04 KDE 4.10.1).
User avatar
jensreuterberg
Registered Member
Posts
598
Karma
3
OS

Re: Krita missing icons

Mon Sep 09, 2013 12:40 pm
Ok this is bumping an ancient thread I know but I've just run into the same problem. All taskbar icons are gone aswell as the preset icons when opening Krita. I've changed themes back and forth, changed profile, deleted the var-file and checked that the image folder for the app in KDE4 is still around.

The odd thing - the REALLY odd thing - is that I have a laptop that I didn't have Krita installed on, the laptop and the stationary share a similar themed set-up in general with a few small differences. I tried installing Krita on the lappy as well but for some incredible reason the very same glitch in icons in present there. Now I use Krita daily so this is something that happened during the night and for the life of me I can't figure out what it is I may have changed during the evening yesterday on both the laptop and the stationary that could have affected it.

(I edited the samba shares I know that much, I may have added a few TTF files for a job and dabbled with the system colors... ) I am literally stumped.


KDE Visual Design Group - "Sexy by default - Powerful through cooperation"
wolfi323
Registered Member
Posts
1129
Karma
11
OS

Re: Krita missing icons

Mon Sep 09, 2013 1:46 pm
If you're using KDE 4.11.1, it could be this bug:
https://bugs.kde.org/show_bug.cgi?id=324574
User avatar
halla
KDE Developer
Posts
5092
Karma
20
OS

Re: Krita missing icons

Mon Sep 09, 2013 1:52 pm
Oh, good! there's already a patch.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot]