https://bugs.kde.org/show_bug.cgi?id=366047

--- Comment #4 from Konrad Materka <kmate...@wp.pl> ---
> IIRC this code exists because some client windows ignored me and decided to 
> be a massive size regardless

I was not able to find any application that (still) behaves this way. In
coments you mentioned Spotify (no longer has icon, feature entirely removed)
and Chromium (I was not able to get icon, maybe my fault). The only case is
KeePass2 (bug 358240), which is a Mono application. It indeed ignores window
resize, because it is too soon to do that in the constructor. With a pause in
debug mode it was working correctly. As a workaround I added client window
resize in the update() method: https://phabricator.kde.org/D24529. It works
perfectly fine, I tested it with several apps with no regression.

We can safely disable up-scaling - QML, which is showing the icon, can do (is
doing) that automatically. As a bonus we can add additional logic/configuration
option in System Tray to disable up-scaling. Personally I don't think it is
very important, icon will look bad anyway, it will be too small. Definitely it
will solve a situation when we are up-scaling from 24x24 to 32x32 and System
Tray is down-scaling it to 24x24 again.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to