Bug 85049 - LCD look of clock applet doesn't work
Summary: LCD look of clock applet doesn't work
Status: RESOLVED FIXED
Alias: None
Product: kicker
Classification: Plasma
Component: kclockapplet (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Christian Gebauer
URL:
Keywords:
: 76901 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-07-13 02:13 UTC by Jan Spitalnik
Modified: 2004-11-21 08:35 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screwed up look of LCD clock (background not LCD style!) (839 bytes, image/png)
2004-08-09 16:45 UTC, Jens Prüfer
Details
Greyed out date menu selections (49.22 KB, image/png)
2004-08-09 16:46 UTC, Jens Prüfer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Spitalnik 2004-07-13 02:13:49 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources
Compiler:          gcc-3.4 
OS:                Linux

Hi

this commit breaks "LCD"-look of digital clock for me. 
Thanks,
		jan

> CVS commit by coolo:
>
> fixing toggeling of background pixmap settings (for my case transparency)
>
>
>   M +9 -0      clock.cpp   1.177
>
>
> --- kdebase/kicker/applets/clock/clock.cpp  #1.176:1.177
> @@ -1021,4 +1021,6 @@ void ClockApplet::slotApplySettings()
>  void ClockApplet::setBackground()
>  {
> +    bool toreset = true;
> +
>      // if the clock has the same background color that we do,
>      // let's propagate the background brush too
> @@ -1032,4 +1034,5 @@ void ClockApplet::setBackground()
>          if (brush)
>          {
> +            toreset = false;
>              _clock->widget()->setPaletteBackgroundPixmap(*brush);
>
> @@ -1041,4 +1044,10 @@ void ClockApplet::setBackground()
>          }
>      }
> +
> +    if (toreset) {
> +        _clock->widget()->setPaletteBackgroundPixmap(QPixmap());
> +        _date->setPaletteBackgroundPixmap(QPixmap());
> +    }
> +
>  }
Comment 1 Jens Prüfer 2004-08-09 16:45:24 UTC
Created attachment 7050 [details]
Screwed up look of LCD clock (background not LCD style!)

Screwed up look of LCD clock (background not LCD style!)
Comment 2 Jens Prüfer 2004-08-09 16:46:48 UTC
Created attachment 7051 [details]
Greyed out date menu selections 

Greyed out date menu selections
Comment 3 Jens Prüfer 2004-08-09 16:47:37 UTC
Well, for me the LCD look is also screwed. On top of that, I cannot display a date  any more, when using LCD look! The menu is greyed out. I have attached screenshots.

Comment 4 Jens Prüfer 2004-08-10 01:25:19 UTC
OK ok, I am competing for "most emberrasing bug report" and will probably make it into the top 10  :)

Issue solved. The new "standard" KDE setup switches on some background graphics in the toolbar by default, which paints over the "LCD" clock background. 

To get the date, simply tick the "date" marker on the top (as it can be seen on my screenshot -- duh!)

Sorry for the fuzz. I will never report trivial things like this as a bug again.

Cheers

Jens
Comment 5 Aaron J. Seigo 2004-10-21 23:06:12 UTC
*** Bug 76901 has been marked as a duplicate of this bug. ***
Comment 6 Aaron J. Seigo 2004-11-18 19:44:11 UTC
fixed with a patch from SadEagle =)
Comment 7 Lukáš Tinkl 2004-11-21 08:35:49 UTC
Has this been backported to the 3.3 branch?