Bug 122988 - transparent system tray icon for kalarm
Summary: transparent system tray icon for kalarm
Status: CLOSED NOT A BUG
Alias: None
Product: kalarm
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: David Jarvie
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-02 21:09 UTC by anupam.srivastava
Modified: 2009-08-04 15:05 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
/usr/kde/3.5/share/icons/crystalsvg/22x22/actions/kalarm.png (1.43 KB, image/png)
2006-03-04 17:36 UTC, anupam.srivastava
Details
/usr/kde/3.5/share/apps/kalarm/icons/crystalsvg/22x22/actions/kalarm.png (1.43 KB, image/png)
2006-03-04 17:37 UTC, anupam.srivastava
Details
Kicker screenshot with new color scheme (17.12 KB, image/png)
2006-03-04 17:42 UTC, anupam.srivastava
Details
Kicker screenshot with new color scheme (17.12 KB, image/png)
2006-03-04 17:42 UTC, anupam.srivastava
Details
korganizer screenshot (18.41 KB, image/png)
2006-03-05 07:56 UTC, anupam.srivastava
Details
systray with kalarm using kmix icon (138.57 KB, image/png)
2007-05-29 10:31 UTC, Runar Jensen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description anupam.srivastava 2006-03-02 21:09:32 UTC
Version:           1.3.6 (using KDE KDE 3.5.1)
Installed from:    Gentoo Packages
Compiler:          gcc version 3.4.4 Gentoo 3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8
OS:                Linux

The kalarm icon is not transparent. I don't know what is the problem. I am posting the screenshot: http://home.iitk.ac.in/~anupamsr/bug1.png

The bug is reproducible if I use the normal system tray in kicker (here I am using suparkaramba).

All other icons are transparent.
Comment 1 David Jarvie 2006-03-04 17:29:34 UTC
I can't see any problem with the icons in the KDE distribution. Can you please attach your $KDEDIR/share/apps/kalarm/icons/crystalsvg/22x22/actions/kalarm.png file, and, if it exists, $KDEDIR/share/icons/crystalsvg/22x22/actions/kalarm.png.
Comment 2 anupam.srivastava 2006-03-04 17:36:58 UTC
Created attachment 14950 [details]
/usr/kde/3.5/share/icons/crystalsvg/22x22/actions/kalarm.png
Comment 3 anupam.srivastava 2006-03-04 17:37:48 UTC
Created attachment 14951 [details]
/usr/kde/3.5/share/apps/kalarm/icons/crystalsvg/22x22/actions/kalarm.png
Comment 4 anupam.srivastava 2006-03-04 17:42:29 UTC
Created attachment 14953 [details]
Kicker screenshot with new color scheme

These seem to HAVE transparency. But the problem I am facing appears to be
different from that of icon.

The background color I am seeing instead of trasparency in kicker, seems to
depend upon the current color scheme.

I am attaching another screenshot of the kalarm.
The color scheme is Media Peach (it comes with KDE by default).
Comment 5 anupam.srivastava 2006-03-04 17:42:29 UTC
Created attachment 14952 [details]
Kicker screenshot with new color scheme

These seem to HAVE transparency. But the problem I am facing appears to be
different from that of icon.

The background color I am seeing instead of trasparency in kicker, seems to
depend upon the current color scheme.

I am attaching another screenshot of the kalarm.
The color scheme is Media Peach (it comes with KDE by default).
Comment 6 anupam.srivastava 2006-03-04 17:43:26 UTC
Sorry for double posting
Comment 7 David Jarvie 2006-03-05 00:14:20 UTC
Could you please try running KOrganizer, and check whether its panel icon has the same problem as KAlarm's. It uses the same method of setting its icon as KAlarm does, whereas Klipper and KMix (which also appear in your screenshot) are panel applets.

If KOrganizer shows up the same way as KAlarm, can you tell me what the other applications are which appear in your screen shot - I'm not familiar with their icons. That will let me check what method they use to display their icons.
Comment 8 anupam.srivastava 2006-03-05 06:08:44 UTC
I am currently compiling korganizer. I will report the result as soon as possible.

The icons are as follows:
Klipper, Kmix, Valknut, Superkaramba, KTorrent, Amarok, KMail, Kalarm

The one icon left to klipper is not of any program but a part of superkaramba theme I am using.

I can confirm that the problem persists with original system tray too.

Valknut is in itself buggy when it comes to kicker implementaiton, though I don't know if it is so in showing icon too or not.

Anupam.
Comment 9 anupam.srivastava 2006-03-05 07:56:41 UTC
Created attachment 14968 [details]
korganizer screenshot

KOrganizer does show the icons transparent :(.	I am attaching a new screenshot
with a new color scheme.
Comment 10 David Jarvie 2006-03-15 20:10:42 UTC
Can you please tell me what your panel configuration is. I don't see a problem with the system tray in the main kicker panel. I can't work out how to display the system tray separately from the main kicker panel - your screen shots show it at the top right of the screen apparently not in the main panel. 
Comment 11 anupam.srivastava 2006-03-21 06:45:40 UTC
Sorry for a long delay. I was out of town.

The system tray I am using is Borealis (v 2.5b) theme on superkamba (in KDE 3.5.1).

The problem is independent of the system tray, it exists also on the normal system tray (on kicker).

Since I am using Gentoo which uses split ebuilds for kalarm, may the problem exists from there? I will file a bug report on Gentoo bugzilla and will inform you of any update.
Comment 12 David Jarvie 2006-03-21 23:54:25 UTC
I tried it out using the Borealis Superkaramba theme, but that also works correctly on my system. So it may be something specific to Gentoo. If you or the Gentoo maintainers find out what is going wrong, please let me know.
Comment 13 David Jarvie 2006-07-12 01:01:18 UTC
Since I haven't heard anything more about this bug, I'm marking it as invalid on the assumption that it is a Gentoo specific issue. Please reopen it if this assumption turns out to be wrong.
Comment 14 Runar Jensen 2007-05-27 22:36:55 UTC
I can confirm that this still happens here, also running Gentoo and with a freshly compiled KDE 3.5.7. The KAlarm systray icon uses whatever color "Window Background" is set to instead of a transparent background.

I've checked the actual icons on disk, they are transparent. No other applications that I have seen, KDE or otherwise, exhibit the same behavior.

Let me know if I can provide any more detail. I would really like to get this fixed. :)
Comment 15 David Jarvie 2007-05-29 09:52:20 UTC
I need to know whether it's the icon or the program which makes this happen. Can you please try replacing the KAlarm icon with another one which shows correctly (for example, KMix), as follows:

1) Save the KAlarm icon $KDEDIR/share/icons/crystalsvg/22x22/actions/kalarm.png by copying or renaming it.
2) Overwrite it with the KMix icon $KDEDIR/share/apps/kmix/pics/kmixdocked.png.
3) Quit KAlarm (using the Quit menu option).
4) Restart KAlarm.

KAlarm should now use the KMix icon while alarms are enabled - does it display correctly?
Comment 16 Anonymous bin ich 2007-05-29 10:03:44 UTC
Thanks for the help.

Update: I don't use Gentoo anymore, due to lack of any personal computer.

Suggestion: We should head towards Gentoo forum. This seems to be Gentoo specific problem.
Comment 17 Runar Jensen 2007-05-29 10:31:47 UTC
Created attachment 20713 [details]
systray with kalarm using kmix icon

It works the same way with the kmix icon, as you can see from the screenshot.
The white color is what my KDE "Window Background" is set to. Modifying this
color in the KDE Control Panel and clicking Apply will also change the
background of the systray icon immediately, without having to restart KAlarm.

However, KAlarm doesn't use the icon you asked me to replace. There is indeed a
kalarm.png in $KDEDIR/share/icons/crystalsvg/22x22/actions, but replacing this
one made no difference. I had to replace
$KDEDIR/share/apps/kalarm/icons/crystalsvg/22x22/actions/kalarm.png to get the
icon in the systray to change. Could this have something to do with it?
According to diff the files are identical, just the placement is different.
Both are installed by and reported as belonging to KAlarm.

And just to be sure, KAlarm's About window reports: KAlarm 1.4.12 (Using KDE
3.5.7)
Comment 18 David Jarvie 2007-05-29 10:58:35 UTC
I don't think that the location of the icon is relevant. The fact that the same symptoms are seen when you replace the icon with another icon which normally works correctly shows that it's the program or some configuration option that's responsible rather than the icon. I'll investigate. But it's odd that this bug has so far only reported on Gentoo.
Comment 19 Runar Jensen 2007-05-29 11:23:41 UTC
Thanks for your help so far. The CC: works fine.

I verified that the location of the icon is not important by temporarily removing all icons under $KDEDIR/share/apps/kalarm/icons/crystalsvg/22x22/actions. KAlarm still works, I guess now it gets the icons from the directory you specified, but still no transparency.

Simply running KMix works fine too. It gives a transparent KMix icon in the systray.

I looked at the Gentoo ebuild for KAlarm and see no evidence of patching or modifications of any kind, but I don't really know how the split ebuilds work so could be missing something. It's definitely strange that it only shows up on Gentoo. The only mention I can find of the problem in Gentoo's forums seems to be from the guy who filed this bug, so maybe it's just me and him. :) Of course I didn't notice it either as long as my kicker background and window background were both more or less the same shade of light gray.

Finally I tried deleting $HOME/.kde3.5/share/config/kalarm* -- no change.
Comment 20 David Jarvie 2007-05-30 13:39:53 UTC
I've just discovered that there is a similar bug report for KNotes on Debian (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=277908). Could you please try running KAlarm for a new user and check whether the fault still occurs?
Comment 21 Runar Jensen 2007-05-30 21:53:12 UTC
Yay! A new user account solved the problem. Guess it's time to reconfigure KDE.

I really should have tried that before now, it just never occurred to me when everything else seemed ok. Thanks for your time! At least now you know what to say next time someone reports it.
Comment 22 Runar Jensen 2007-05-31 00:23:34 UTC
The trigger appears to be the QtCurve style, verified here with versions 0.48.2 and 0.50.

Enabling QtCurve brings out the problem, even on a new user. To 'fix', choose a different style than QtCurve and restart KAlarm.

I'll go bug the QtCurve developer.
Comment 23 David Jarvie 2007-05-31 00:37:35 UTC
That's great that you've tracked this bug down. It's just lucky that it happened to a Gentoo user! (I presume that the type of people who run Gentoo are more likely than average to have the interest and ability to hunt bugs.) Thanks for taking the trouble.

I'm setting the bug status to Invalid because the bug lies in QtCurve, not KAlarm.