Message: previous - next
Month: July 2014

Re: [trinity-devel] R: [trinity-devel] Klipper icon is gone

From: Slávek Banko <slavek.banko@...>
Date: Sun, 13 Jul 2014 18:52:20 +0200
On Sunday 13 of July 2014 14:37:28 Michele Calgaro wrote:
> > New package set built today. The klipper icon is gone. The space occupied
> > by the icon in the system tray is being used and I can click the empty to
> > open the klipper menu. Klipper is running. Just no icon is displayed. I
> > tried different icon sets and a fresh profile. No icon. Probably related
> > to commit 745063fa.
> Confirmed! Darrell, please open a bug report. This will have to be added to
> v14.0.0 bug list: not a major loss of functionality, but it doesn't look
> good and the klipper icon is on any taskbar I have seen in my life.
> Cheers
>   Michele

As I discovered, the icon with corresponding size is loaded and scaled in 
paintEvent method. This method draws only m_scaledpixmap, not initially 
loaded m_pixmap. When m_iconOrigWidth and m_iconOrigHeight was set to the 
correct values, icon is not loaded and scaled in paintEvent => ​​
m_scaledpixmap remained empty => was drawn a blank icon.

Fixed in commit 1574938e.