[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Workaround confirmed



Thank you Miroslaw. I tried your workaround and it worked. This indeed solved all problems, including the icon when switching between windows. Regarding point 2, I don't think KDE users should regenerate their icons cache from time to time. I have been using KDE on Debian for more than 8 years, and this is the first time I experience such an issue. Something must be wrong.

I'm afraid this may prove tricky to reproduce. I tried to test Miroslaw's workaround on a different account on this machine. Before I removed the file, I noticed the icons were already fine on that account. Yet, the user logs in about daily. It's less used than my own account, but I don't see why it wouldn't be affected too.

On 2012-06-20 17:49, Mirosław Zalewski wrote:
Hi

I have been investigating that a little and I have found that:

1. There are actually two icons for Writer:
apps/libreoffice-writer.png and mimetypes/libreoffice-oasis-text.png
they are supposed to be the same for each size, but for biggest (256x256)
they are not. Please see the end of message.
*IF* you change Icon= in /usr/share/applications/libreoffice-writer.desktop
file from libreoffice-writer to libreoffice-oasis-text *THEN* icon in menu
reappears.
*BUT* if you copy mimetypes/libreoffice-oasis-text.png over
apps/libreoffice-writer.png, then it will *NOT*.

2. Problem can be solved by regenerating KDE icons cache. This can be done
by removing /var/tmp/kdecache-${USER}/icon-cache.kcache file and relogging
into your account. Then all icons will be in place. This also solves generic-x11
icon problem mentioned by Filipus Klutiero in last paragraph of his message.

So, I think that there are two things:
1. LO should provide identical icons in both apps and mimetypes subdirs.
2. KDE users should regenerate their icons cache from time to time.

As for issue number one, I have used one strange command to find out
md5sums of files in question. As you can see, both apps and mimetypes
icons are the same for each size except for 256x256 for Writer and Calc
(which fits perfectly into this bug report). Unless there is reason for this,
I think that it can be considered really minor issue (both icons looks
virtually the same for me, it's only md5sum that differs).
#v+
cd /usr/share/icons/hicolor/
for i in base-database calc-spreadsheet draw-drawing impress-presentation \
math-formula writer-text; do app=$(echo "$i" |cut -d \- -f 1);
mime=$(echo "$i" |cut -d \- -f 2);
echo -e "=====\n${app} - ${mime}\n=====";
find -name '*'-${app}.png -or -name '*'-oasis-${mime}.png |xargs md5sum ;done
=====
base - database
=====
24b2b27087352c1c8a3791e27d278d30  ./48x48/apps/libreoffice-base.png
24b2b27087352c1c8a3791e27d278d30  ./48x48/mimetypes/libreoffice-oasis-database.png
9683ba6b6bd5c2b40cb561b858f0d8fb  ./16x16/apps/libreoffice-base.png
9683ba6b6bd5c2b40cb561b858f0d8fb  ./16x16/mimetypes/libreoffice-oasis-database.png
5a5afd88de1b59f1ee4c6e19b1de18fd  ./256x256/apps/libreoffice-base.png
5a5afd88de1b59f1ee4c6e19b1de18fd  ./256x256/mimetypes/libreoffice-oasis-database.png
fa5a04483cb8265f5a318cd109661f55  ./32x32/apps/libreoffice-base.png
fa5a04483cb8265f5a318cd109661f55  ./32x32/mimetypes/libreoffice-oasis-database.png
fabf21f6a9abc257d97e58572dbcfee0  ./128x128/apps/libreoffice-base.png
fabf21f6a9abc257d97e58572dbcfee0  ./128x128/mimetypes/libreoffice-oasis-database.png
=====
calc - spreadsheet
=====
07195d37fe14d382f706d01c475a54e4  ./48x48/apps/libreoffice-calc.png
07195d37fe14d382f706d01c475a54e4  ./48x48/mimetypes/libreoffice-oasis-spreadsheet.png
477b7addac7c83fc39630184b7171a33  ./16x16/apps/libreoffice-calc.png
477b7addac7c83fc39630184b7171a33  ./16x16/mimetypes/libreoffice-oasis-spreadsheet.png
c7236eb05298f8d08682ae728463b96f  ./256x256/apps/libreoffice-calc.png
7b6b2a89971d2dc4edc482a7ddb768d9  ./256x256/mimetypes/libreoffice-oasis-spreadsheet.png
17ddcfd7e0b5540a9095bdb4faece926  ./32x32/apps/libreoffice-calc.png
17ddcfd7e0b5540a9095bdb4faece926  ./32x32/mimetypes/libreoffice-oasis-spreadsheet.png
3fd54b3b730bd394241842b7e2d37d70  ./128x128/apps/libreoffice-calc.png
3fd54b3b730bd394241842b7e2d37d70  ./128x128/mimetypes/libreoffice-oasis-spreadsheet.png
=====
draw - drawing
=====
a0c4ff43e2c87c0cde8445f629091268  ./48x48/apps/libreoffice-draw.png
a0c4ff43e2c87c0cde8445f629091268  ./48x48/mimetypes/libreoffice-oasis-drawing.png
ec11151d28591945fc55c5a59deb0adf  ./16x16/apps/libreoffice-draw.png
ec11151d28591945fc55c5a59deb0adf  ./16x16/mimetypes/libreoffice-oasis-drawing.png
67f922bb98842e77feb34ec0bae48549  ./256x256/apps/libreoffice-draw.png
67f922bb98842e77feb34ec0bae48549  ./256x256/mimetypes/libreoffice-oasis-drawing.png
e7c64317f3546d585a1cf036682e487a  ./32x32/apps/libreoffice-draw.png
e7c64317f3546d585a1cf036682e487a  ./32x32/mimetypes/libreoffice-oasis-drawing.png
57ec604422961bd1afe628b8daac88d2  ./128x128/apps/libreoffice-draw.png
57ec604422961bd1afe628b8daac88d2  ./128x128/mimetypes/libreoffice-oasis-drawing.png
=====
impress - presentation
=====
0bc53ccf78a9a026776038c027092dde  ./48x48/apps/libreoffice-impress.png
0bc53ccf78a9a026776038c027092dde  ./48x48/mimetypes/libreoffice-oasis-presentation.png
c02ce9bee638af51fe8f4255d4c16d75  ./16x16/apps/libreoffice-impress.png
c02ce9bee638af51fe8f4255d4c16d75  ./16x16/mimetypes/libreoffice-oasis-presentation.png
98efdec85f18d422470dc1721b58f031  ./256x256/apps/libreoffice-impress.png
98efdec85f18d422470dc1721b58f031  ./256x256/mimetypes/libreoffice-oasis-presentation.png
ae3bf6dc1eb8b2e0132d8a0e3c863fa8  ./32x32/apps/libreoffice-impress.png
ae3bf6dc1eb8b2e0132d8a0e3c863fa8  ./32x32/mimetypes/libreoffice-oasis-presentation.png
91752900411ec0f5cd343af65ea95325  ./128x128/apps/libreoffice-impress.png
91752900411ec0f5cd343af65ea95325  ./128x128/mimetypes/libreoffice-oasis-presentation.png
=====
math - formula
=====
13d5bad207796345558bbff307bc36eb  ./48x48/apps/libreoffice-math.png
13d5bad207796345558bbff307bc36eb  ./48x48/mimetypes/libreoffice-oasis-formula.png
35a0881a38f7b9952d9fb8b208b2f333  ./16x16/apps/libreoffice-math.png
35a0881a38f7b9952d9fb8b208b2f333  ./16x16/mimetypes/libreoffice-oasis-formula.png
2453f685869e6e2e684c4b58750cabad  ./256x256/apps/libreoffice-math.png
2453f685869e6e2e684c4b58750cabad  ./256x256/mimetypes/libreoffice-oasis-formula.png
6be0dc94d76b51063c62b057cf699050  ./32x32/apps/libreoffice-math.png
6be0dc94d76b51063c62b057cf699050  ./32x32/mimetypes/libreoffice-oasis-formula.png
5f6b475757df4d439abcdee51f87a8a0  ./128x128/apps/libreoffice-math.png
5f6b475757df4d439abcdee51f87a8a0  ./128x128/mimetypes/libreoffice-oasis-formula.png
=====
writer - text
=====
24be92cc2326623c3ad8c675339a5cab  ./48x48/apps/libreoffice-writer.png
24be92cc2326623c3ad8c675339a5cab  ./48x48/mimetypes/libreoffice-oasis-text.png
be0e8371f90f28536a7dd83c4959b76b  ./16x16/apps/libreoffice-writer.png
be0e8371f90f28536a7dd83c4959b76b  ./16x16/mimetypes/libreoffice-oasis-text.png
c4363abfab6b40e46d4b8924333a6e5c  ./256x256/apps/libreoffice-writer.png
61f7e3334abe5e95717289c21c1ed889  ./256x256/mimetypes/libreoffice-oasis-text.png
3d59b8d477bd08fd64baa33a2ed253de  ./32x32/apps/libreoffice-writer.png
3d59b8d477bd08fd64baa33a2ed253de  ./32x32/mimetypes/libreoffice-oasis-text.png
e3acec91878e5864c2d9263f18206711  ./128x128/apps/libreoffice-writer.png
e3acec91878e5864c2d9263f18206711  ./128x128/mimetypes/libreoffice-oasis-text.png
#v-


Reply to: