PDA

View Full Version : QFileIconProvider and OS support / Not using all icons on Linux



riklaunim
6th January 2009, 23:10
I have a QDirModel based file manager, and now it uses default QFileIconProvider. The result on OS X and Windows is very good (it uses real system icons). On Linux - KDE/GNOME - it uses only folder/text file icon. Question is - why on Linux it sucks/or what it needs to work as nicely as on other OS? :)

Windows:
http://images49.fotosik.pl/46/3dcaabac1c154976m.png (http://www.fotosik.pl/pokaz_obrazek/3dcaabac1c154976.html)

OS X:
http://images33.fotosik.pl/436/378913d8c931bc27m.png (http://www.fotosik.pl/pokaz_obrazek/378913d8c931bc27.html)

Linux:
http://images43.fotosik.pl/46/ec0db27624a7998em.png (http://www.fotosik.pl/pokaz_obrazek/ec0db27624a7998e.html)

wysota
6th January 2009, 23:18
Probably because (at least one) of two things:
1. there is no single standard in placing default icons
2. there is no single standard in determining file types

There are standards but definitely not single and not respected on every system.

riklaunim
7th January 2009, 00:27
Well, everything except KDE3 uses XDG Desktop standards. KDE3 in terms of icons uses the same locations, but diffrent naming rules for its applications.

wysota
7th January 2009, 08:43
Everything is a strong word :)

riklaunim
7th January 2009, 10:13
Everything is a strong word :)
every non-geekish software :)