Re: appicon icons

2014-10-22 Thread BALATON Zoltan

Hello,

On Tue, 21 Oct 2014, Yury Tarasievich wrote:
I think I know now how to reproduce the appicon icon not being set and left 
as the default broken sphere. For this to happen you have to have no dock 
and no clip.


Appicons (sort of) are created anyway, for active apps only, but the icons 
for them aren't extracted/requested from app or whatever.


If application is active while dock is activated and windowmaker restarted, 
then this sort-of-appicon gets its correct icon from app, and then you may 
switch the dock off, and the correct icon is retained through all subsequent 
restarts of the app. So it's just the dock being active (clip, too, possibly) 
that enables the appicon icon setting.


Could somebody look into this? Should be trivial.


Might not be trivial to find due to the number of changes that went into 
icon handling in the past... I think app icon caching was broken by some 
of these cleanups to icon code and since then:


- all icons are cached
- WMWindowAttributes is polluted with entries pointing to cache
- icons are sometimes replaced when starting the app (seen this for java 
apps)


I think these might be related but would require someone to go through the 
icon code and understand all changes to find the bad ones. It's not 
something I volunteer to do...


Regards,
BALATON Zoltan


--
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.


appicon icons

2014-10-21 Thread Yury Tarasievich

Hi guys,

I think I know now how to reproduce the appicon 
icon not being set and left as the default 
broken sphere. For this to happen you have to 
have no dock and no clip.


Appicons (sort of) are created anyway, for 
active apps only, but the icons for them aren't 
extracted/requested from app or whatever.


If application is active while dock is activated 
and windowmaker restarted, then this 
sort-of-appicon gets its correct icon from app, 
and then you may switch the dock off, and the 
correct icon is retained through all subsequent 
restarts of the app. So it's just the dock being 
active (clip, too, possibly) that enables the 
appicon icon setting.


Could somebody look into this? Should be trivial.

Yury

P.S. I work without dock because I don't like 
spending the screen on gnustep icon doing 
nothing productive, and, having no launchbar or 
something, I prefer having only miniwindows 
icons, anyway.



--
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.