Bug 74687 - Plastik and Deep plastic color scheme conflict
Summary: Plastik and Deep plastic color scheme conflict
Status: RESOLVED FIXED
Alias: None
Product: kcontrol
Classification: Miscellaneous
Component: kcmcolors (show other bugs)
Version: unspecified
Platform: RedHat Enterprise Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-09 09:35 UTC by zabilcm
Modified: 2004-05-22 20:22 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 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))
+