Bug 146007 - in kde 3.5.7, kweather no longer transparent
Summary: in kde 3.5.7, kweather no longer transparent
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kweather-kde3
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: geiseri
URL:
Keywords:
: 145803 145844 146056 147430 148579 148839 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-05-27 02:14 UTC by Jon Mueller
Modified: 2009-11-30 01:07 UTC (History)
8 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
KWeather taking background from incorrect h-position (45.97 KB, image/png)
2007-06-30 00:14 UTC, Russell Jones
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jon Mueller 2007-05-27 02:14:31 UTC
Version:            (using KDE KDE 3.5.7)
Installed from:    Ubuntu Packages

In 3.5.6, kweather was transparent. Now in 3.5.7, kweather has a grey background.
Comment 1 Daniel 2007-05-28 09:36:09 UTC
I've noticed this too, but after readding it to the panel (ie. RightClick -> Remove From Panel .... && RightClick -> Add Applet to Panel) it gets its transparency.
But unfortunately it introduces a new bug then, see:
http://bugs.kde.org/show_bug.cgi?id=146056
Comment 2 Magnus Kessler 2007-05-30 12:14:12 UTC
Same behaviour here. Re-adding the applet to the panel changes to a different colour, which still doesn't quite match the transparent kicker background. It looks like it just picks up the single background colour of the desktop, not the colour of the wallpaper.
Comment 3 Marco Laverdière 2007-06-16 16:16:25 UTC
Same thing here, on Kubuntu Feisty with recent KDE 3.5.7.
Comment 4 Russell Jones 2007-06-30 00:14:11 UTC
Created attachment 20996 [details]
KWeather taking background from incorrect h-position
Comment 5 Russell Jones 2007-06-30 00:17:06 UTC
Comment on attachment 20996 [details]
KWeather taking background from incorrect h-position

My panel bar is shaded top to bottom, but it also takes different colors on the
left and right sides, so I noticed something else.  KWeather appears to be
drawing the background behind itself as though it were on the left and right
side, and does so no matter where it's positioned--even at a spot where the
background should clearly be grayscale.
Comment 6 Pino Toscano 2007-07-02 13:11:41 UTC
*** Bug 147430 has been marked as a duplicate of this bug. ***
Comment 7 Pino Toscano 2007-08-03 12:30:25 UTC
*** Bug 145844 has been marked as a duplicate of this bug. ***
Comment 8 Pino Toscano 2007-08-03 12:31:43 UTC
*** Bug 145803 has been marked as a duplicate of this bug. ***
Comment 9 Pino Toscano 2007-08-03 12:32:55 UTC
*** Bug 146056 has been marked as a duplicate of this bug. ***
Comment 10 Frans Pop 2007-08-03 16:10:36 UTC
*** This bug has been confirmed by popular vote. ***
Comment 11 Pino Toscano 2007-08-06 18:43:51 UTC
*** Bug 148579 has been marked as a duplicate of this bug. ***
Comment 12 Jon Mueller 2007-08-06 20:05:30 UTC
So we know there's a problem, can the main developer fix it or should someone else look into it?
Comment 13 Pino Toscano 2007-08-15 11:46:51 UTC
*** Bug 148839 has been marked as a duplicate of this bug. ***
Comment 14 rick miles 2007-08-15 21:34:06 UTC
I just noticed my original bug report was moved here after posting some observations so just so I'm putting what I just posted elswhere here;

I had a bit of a play here and have observed the following on my desktop which is set to transparent with transparency all the way to the left (max minimum): 
 (1) kweatherservice grabs the area of background on which it lands when added to panel, 
 (2) it keeps this original section of the background no matter where it is moved on the panel, 
 (3) I can remove a kweather service applet which seems to have lost it's transparent attributes and add a new kweatherservice applet and it will seem to have transparent background again just as in item (1) above, 
 (4) upon start up the panel is grey before it becomes transparent, 
 (5) kweatherservice appears on the panel before it becomes transparent and assumes transparency over a grey background, 
 (7) because kweatherservice retains the initial background it lands on it, will continue to remain transparent with a grey background no matter where I move it to on the panel. 
 
 I'd bet that if the panel was not grey but instead transparent (i.e. with background)when kweatherservice started up, that it would appear transparent having assumed the section of background upon which it lands this startup. 
Comment 15 J.O. Aho 2007-09-03 21:16:54 UTC
I have the same trouble that the kweather gets the panels original color instead of the transparency that I have selected to use on the panel. No problem in earlier versions of kdetoys, only in 3.5.7.

This on the following architectures: amd64, x86 and ppc (haven't compiled kde for Sparc,, but I don't think it would be different). 
Comment 16 J.O. Aho 2007-09-09 13:50:57 UTC
Made a quick diff compare between 3.5.6 and 3.5.7 and it wasn't really much differences, but haven't had the time to investigate the differences, so I took the easy way and compiled kweather from kdetoys 3.5.6 against KDE 3.5.7 and then replaced the binaries/libraries and now I have the transparency back.

This is a solution for those of you who can't wait for a update released.
Comment 17 steve mccarthy 2007-11-18 01:52:10 UTC
For what its worth, Debian Sid exhibits the same behavior.  I'm stuck at 3.5.5-3, so its not a Ubantu packaging problem.
Comment 18 shattered 2008-02-10 11:42:58 UTC
Still happens in 3.5.8...
Comment 19 J.O. Aho 2008-02-10 13:06:45 UTC
My quick fix (using kweather from 3.5.6) don't work with KDE 3.5.8, so there been changes in the KDE core that worsens the bug.
Comment 20 Ernest N. Wilcox Jr. 2008-02-29 19:17:52 UTC
This issue persists with KDE 3.5.9 and Kweather 2.1.0 (using KDE 3.5.9) as released with Mandriva Linux 2008.0.

One possible solution may be to add an option to select the icon's background color in a manner similar to that provided to select the text's foreground color (in display tab).

A better solution (as suggested above) would be to start kicker transparent so Kweather starts with a transparent background, then it would match any background placed under it by kicker as it finishes loading.
Comment 21 J.O. Aho 2008-06-23 20:34:10 UTC
There been quite big changes in KDE 3.5.9, so the trick of using kweather from 3.5.6 and compile it against 3.5.9 won't work. 

I begun to experiment with the transparency and got a good start where I could get the transparency if I did remove and then select kweather to my panel, but sadly I stored the test source code in my /tmp and completely unaware that my laptops /tmp was always cleaned out at shutdown.

If I remember it right, the "background color" given for kweather is the original color of the kicker, which is always a solid color and kweather don't update background color on all events needed. I would guess it's less than a hours work for someone who knows qt3 well, while for someone like me it's more likely a day or two, sadly I don't have that much time at the moment.   
Comment 22 Björn Ruberg 2009-11-30 01:07:48 UTC
KDE 3.5 is unmaintained and kicker is no more in KDE 4. That's why I close this old bug. Please complain if that's wrong.