Bug 68039 - Wrong color gradient when re-enabling panel background image
Summary: Wrong color gradient when re-enabling panel background image
Status: RESOLVED FIXED
Alias: None
Product: kicker
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: John Firebaugh
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-12 18:57 UTC by Josh Metzler
Modified: 2003-11-17 10:01 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Josh Metzler 2003-11-12 18:57:33 UTC
Version:            (using KDE KDE 3.1.93)
Compiler:          gcc 3.3 
OS:          Linux

I didn't like having a color gradient (even just gray to white) for the panel background, so I used the Control Center -> Apperance & Themes -> Panels, and deselected "Enable Background Image".  Then I changed my mind, so I selected it again.  Now, though, I have a blue to white gradient, through the picture in Control Center shows gray to white.
Comment 1 Stephan Binner 2003-11-13 08:50:03 UTC
Uncheck "[ ] Colorize to match the desktop color scheme". So the bug is actual with the preview.
Comment 2 Josh Metzler 2003-11-13 16:47:15 UTC
Thanks - I see two bugs in this case.

1) The [x] Colorize to match the desktop checkbox was originally checked, but the color gradient was gray to white (though my desktop was blue).

2) The preview shows the image not colorized even when [x] Colorize to match the desktop is checked.
Comment 3 Stephan Binner 2003-11-15 17:47:37 UTC
Subject: kdebase/kcontrol/kicker

CVS commit by binner: 

Synced colorized background default with Kicker's default
CCMAIL: 68039@bugs.kde.org


  M +1 -1      lookandfeeltab_impl.cpp   1.43


--- kdebase/kcontrol/kicker/lookandfeeltab_impl.cpp  #1.42:1.43
@@ -155,5 +155,5 @@ void LookAndFeelTab::load()
   m_backgroundInput->setEnabled(use_theme);
   m_backgroundLabel->setEnabled(use_theme);
-  m_colorizeImage->setChecked(c.readBoolEntry("ColorizeBackground", true));
+  m_colorizeImage->setChecked(c.readBoolEntry("ColorizeBackground", false));
   m_colorizeImage->setEnabled(use_theme);
   m_backgroundInput->lineEdit()->setText( QString::null );


Comment 4 Stephan Binner 2003-11-15 20:54:02 UTC
*** Bug has been marked as fixed ***.
Comment 5 Torsten Kasch 2003-11-17 10:01:17 UTC
Hmmm, unless an '#include <stdlib.h>' is added, the patch breaks compilation on Solaris 8 (sparc, gcc 2.95.3):

source='lookandfeeltab_impl.cpp' object='lookandfeeltab_impl.lo' libtool=yes \
depfile='.deps/lookandfeeltab_impl.Plo' tmpdepfile='.deps/lookandfeeltab_impl.TPlo' \
depmode=gcc /bin/bash ../../admin/depcomp \
/bin/bash ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I./../background -I/vol/kde-cvs/include -I/vol/qt-3.2.1/include -I/usr/openwin/include  -I/vol/local/include -I/vol/graphics/include  -DQT_THREAD_SUPPORT  -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DUSE_SOLARIS -DSVR4  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -fno-builtin -g -O2 -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -D_GNU_SOURCE  -c -o lookandfeeltab_impl.lo `test -f 'lookandfeeltab_impl.cpp' || echo './'`lookandfeeltab_impl.cpp
lookandfeeltab_impl.cpp: In method `void LookAndFeelTab::colorize(QImage &)':
lookandfeeltab_impl.cpp:161: implicit declaration of function `int abs(...)'
make: *** [lookandfeeltab_impl.lo] Error 1