Bug 52938

Summary: Sliders in toolbars are not styled properly
Product: [Frameworks and Libraries] kdelibs Reporter: Scott Wheeler <wheeler>
Component: kstyleAssignee: Karol Szwed <gallium>
Status: RESOLVED UPSTREAM    
Severity: normal CC: cfeck, grundleborg, karl, neil, shu
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Testcase sources of KAppTemplate + QSlider on toolbar

Description Scott Wheeler 2003-01-13 04:11:57 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources
Compiler:          2.95 
OS:          Linux

Even using:

sliderWidget->setName("kde toolbar widget");

Doesn't cause a slider in a toolbar to be styled properly.  Maksim said that it probably has something to do with it being a double buffered widget.  At some point I may have time to poke around a bit more to try to fix this myself, but after an initial look I could tell that there's a fair bit of stuff there that I have no exposure to.

Ah, and a screen shot:

http://www.slackorama.net/~scott/juk.png
Comment 1 Maksim Orlovich 2003-03-12 20:41:33 UTC
Karol, I believe you made a decision on this, mind sharing it with the reporter?  
 
Comment 2 Maksim Orlovich 2003-06-27 04:17:00 UTC
*** Bug 60405 has been marked as a duplicate of this bug. ***
Comment 3 Neil Stevens 2003-06-27 04:22:58 UTC
Once again, Hayes and Juk in the same place. 
Comment 4 Scott Wheeler 2004-05-21 18:57:45 UTC
*** Bug 81959 has been marked as a duplicate of this bug. ***
Comment 5 George Goldberg 2007-12-19 04:33:02 UTC
Is this bug still there in a recent version of KDE, such as 3.5.8 or KDE4.0 RC2?
Comment 6 Dario Andres 2009-06-01 14:20:01 UTC
Created attachment 34167 [details]
Testcase sources of KAppTemplate + QSlider on toolbar

Using this testcase here:

Qt: 4.5.1 (qt-copy  971295)
KDE: 4.2.88 (KDE 4.2.88 (KDE 4.3 >= 20090527))
kdelibs svn rev. 975695 / kdebase svn rev. 975695
on ArchLinux i686 - Kernel 2.6.29.4

The slider widget on toolbar looks Ok and it is styled properly:
I tested with "execname -style STYLENAME" for Oxygen, Plastique, Cleanlooks and Skulpture.

Can anyone else test and confirm this ?
Comment 7 Christoph Feck 2009-10-05 18:26:07 UTC
This was a bug in Qt 3, not allowing the slider background to be "transparent".