Bug 79252

Summary: in kwinrc electriborders=1 isn't applied in new session
Product: [Plasma] kwin Reporter: Gregory BENOIST <gb>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: axel_groll, bugs, j.cook, ns
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:

Description Gregory BENOIST 2004-04-07 19:59:05 UTC
Version:            (using KDE KDE 3.2.1)
Installed from:    Gentoo Packages
Compiler:          gcc-3.3.3 nptl propolice linux-headers-2.6.4
OS:          Linux

In Control Center->Desktop->Window Behaviour, Adanced Tab:

Enabling "Only when moving windows" in "Active Desktop Borders" works ok for the current session, but while it's correctly saved as ElectricBorders=1 in ~/.kde/share/config/kwinrc under [Windows], it doesn't get applied back when opening a new kde session.

Coming back to Control Center->Desktop->Window Behaviour, Adanced Tab and Enabling "Always Enabled", and then go back to "Only when moving windows" fix the problem, but for the current session only. You have to do that all over again whenever you open a new session.
Comment 1 Lubos Lunak 2004-04-16 16:49:28 UTC
I cannot reproduce the problem. Are you sure you don't have a problem with file permissions or maybe some distribution-specific script overwriting the change?
Comment 2 Gregory BENOIST 2004-04-16 17:38:27 UTC
The permissions on the file looks ok:

$ ls -al /home/gbenoist/.kde3.2/share/config/kwinrc
-rw-------  1 gbenoist users 1208 Apr 15 02:50 kwinrc

As for my linux distribution, i'm using gentoo and installing packages from sources with portage.

I dont think it gets overwritten, because if i look at kwinrc before and just after logging into KDE, i can see electricborders is set to 1, the corresponding setting to have active desktop switching only when moving windows. As i said, it isnt taken in account.

Let me know how i can help you fixing/closing this bug.
Comment 3 Lubos Lunak 2004-04-16 18:19:50 UTC
I misunderstood the problem, I thought the problem was that the value on the config file changes after KDE restart.
Comment 4 Gregory BENOIST 2004-04-16 19:11:53 UTC
just curious, why has this bug been marked as resolved? i can't see any resolution :)
Comment 5 Lubos Lunak 2004-04-17 11:44:26 UTC
Because it has been fixed.
Comment 6 Lubos Lunak 2004-04-18 14:55:50 UTC
*** Bug 69909 has been marked as a duplicate of this bug. ***
Comment 7 Lubos Lunak 2004-05-10 15:48:44 UTC
*** Bug 81228 has been marked as a duplicate of this bug. ***
Comment 8 Lubos Lunak 2004-05-11 14:15:51 UTC
*** Bug 72743 has been marked as a duplicate of this bug. ***
Comment 9 Scott 2004-05-14 15:18:30 UTC
I do not think this bug should be resolved. I still have the problem with kde 3.2.2. I have to reenable Active Boarders each time I log in. So the problem still exists... 

I did check my ~/.kde3.2/share/config/kwinrc and it is being saved correctly, but the session just isn't being restored correctly.
Comment 10 Lubos Lunak 2004-05-14 15:42:35 UTC
That's probably because the bug has been fixed after 3.2.2 packages were created.
Comment 11 Lubos Lunak 2004-06-08 11:27:10 UTC
*** Bug 32964 has been marked as a duplicate of this bug. ***