Bug 74687

Summary: Plastik and Deep plastic color scheme conflict
Product: kcontrol Reporter: zabilcm <zabilcm>
Component: kcmcolorsAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: RedHat Enterprise Linux   
OS: Linux   
Latest Commit: Version Fixed In:

Description zabilcm 2004-02-09 09:35:57 UTC
Version:            (using KDE KDE 3.2.0)
Installed from:    RedHat RPMs
Compiler:          gcc  
OS:          Linux

To replicate the error. install the follwing color scheme
-->start copy below<--
[Color Scheme]
Name=Deep Plastik
activeBackground=81,111,140
activeBlend=24,64,106
activeForeground=255,255,255
activeTitleBtnBg=255,255,255
alternateBackground=62,62,62
background=48,66,82
buttonBackground=57,68,75
buttonForeground=255,255,255
contrast=7
foreground=255,255,255
frame=46,62,79
handle=46,62,79
inactiveBackground=0,0,0
inactiveBlend=62,62,62
inactiveForeground=84,84,100
inactiveFrame=46,62,79
inactiveHandle=46,62,79
inactiveTitleBtnBg=170,170,170
linkColor=3,15,123
selectBackground=24,29,43
selectForeground=255,255,255
visitedLinkColor=72,3,95
windowBackground=74,102,132
windowForeground=255,255,255
->end copy above<--

I imported the above color scheme using the "import" option in the color control module of "Kcontrol".

The "plastik" color scheme is also available by default in the KDE 3.2 installion.

When I try to re-apply "plastik" color scheme after applying "Deep Plastik" on click on "Plastik" color scheme the selection jumps to "Deep Plastik".

This problem occurs only between "Plastik" and "Deep plastik"
Comment 1 Maksim Orlovich 2004-03-05 04:24:06 UTC
Let me guess, was the file you impored named plastic.kcsrc?
Comment 2 zabilcm 2004-03-07 05:09:26 UTC
the name of the file was
10039-Deep Plastik.kcsrc one which i downloaded off the kde-look site
Comment 3 Sandro Giessl 2004-05-22 20:22:06 UTC
CVS commit by giessl: 

Backport rev 1.92

CCMAIL: 74687-done@bugs.kde.org


  M +3 -1      colorscm.cpp   1.86.2.1


--- kdebase/kcontrol/colors/colorscm.cpp  #1.86:1.86.2.1
@@ -897,5 +897,7 @@ int KColorScheme::findSchemeByName(const
    for(KColorSchemeEntry *entry = mSchemeList->first(); entry; entry = mSchemeList->next())
    {
-      if (entry->path.endsWith(search))
+