Bug 123891

Summary: Active desktop borders setting gets reset every time window behaviour settings is selected from control center
Product: [Plasma] kwin Reporter: Janne Hayrynen <sniff>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: petr.sykora
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Janne Hayrynen 2006-03-19 11:43:51 UTC
Version:           3.5.1-1 (using KDE KDE 3.5.1)
OS:                Linux

Active desktop borders setting radio button gets set to "only when moving windows" every time window behaviour settings is selected and changes applied. i'm trying to set it to "always enabled" but it doesn't stick.

KDE is version 3.5.1 on debian amd64 unstable.
Comment 1 Philip Rodrigues 2006-03-19 18:15:40 UTC
Confirmed on r519427 on FreeBSD.
Comment 2 Philip Rodrigues 2006-07-02 12:04:10 UTC
*** Bug 130096 has been marked as a duplicate of this bug. ***
Comment 3 Lubos Lunak 2006-08-10 12:28:08 UTC
SVN commit 571672 by lunakl:

Electric border setting is not bool.
BUG: 123891



 M  +1 -1      windows.cpp  


--- branches/KDE/3.5/kdebase/kwin/kcmkwin/kwinoptions/windows.cpp #571671:571672
@@ -674,7 +674,7 @@
     setShadeHover(config->readBoolEntry(KWIN_SHADEHOVER, false));
     setShadeHoverInterval(config->readNumEntry(KWIN_SHADEHOVER_INTERVAL, 250));
 
-    setElectricBorders(config->readBoolEntry(KWM_ELECTRIC_BORDER, false));
+    setElectricBorders(config->readNumEntry(KWM_ELECTRIC_BORDER, 0));
     setElectricBorderDelay(config->readNumEntry(KWM_ELECTRIC_BORDER_DELAY, 150));
 
 //    setFocusStealing( config->readNumEntry(KWIN_FOCUS_STEALING, 2 ));