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

Bug#280776: kopete: icon appears as a blank page



On Thursday 18 November 2004 08:29 am, Francis Irving wrote:
> On Thu, Nov 18, 2004 at 08:21:22AM -0500, Josh Metzler wrote:
> > Ok - looking in webcvs.kde.org, it looks like KopeteSystemTray inherits
> > from KSystemTray, and gets its LoadIcon from there:
> >
> > QPixmap KSystemTray::loadIcon( const QString &icon, KInstance *instance )
> > {
> >     KConfig *appCfg = kapp->config();
> >     KConfigGroupSaver configSaver(appCfg, "System Tray");
> >     int iconWidth = appCfg->readNumEntry("systrayIconWidth", 22);
> >     return instance->iconLoader()->loadIcon( icon, KIcon::Panel,
> > iconWidth );
> > }
> >
> > So, unless your .kde/share/config/kopeterc has a systrayIconWidth set to
> > 16, I would expect this to load the 22x22 version.  With as much as you
> > have been moving your kopete config out of the way, though, I doubt this
> > is the case. :(
>
> Alas, it is not the case.
>
> Is there a global system tray icon size setting?
>
> Francis

I didn't find one on my system.

I would try `grep -r systrayIconWidth /etc/kde3/`  and again in your .kde 
directory.

I'm not sure anymore that this is the problem, though.  I edited 
my .kde/share/config/kopeterc and added

[System Tray]
systrayIconWidth=16

to the end of it.  When I restarted kopete, the offline icon was scaled down 
from 22x22 to 16x16.  I then set it to 32, and the icon was scaled up.

So, you could try adding those lines and setting it to 22.  But, it seems that 
kde should be able to scale the icon appropriately if it is looking for the 
wrong size.

Do you have any kde packages that are still at 3.2.x versions?  The best way I 
can think of to tell is

dpkg -l | grep 3\\.2\\.[23]

which will list any installed packages at versions 3.2.3 or 3.2.2  (I have 
gcc-3.2 packages and procps that match, but nothing from kde).

Josh



Reply to: