Bug 79252 - in kwinrc electriborders=1 isn't applied in new session
Summary: in kwinrc electriborders=1 isn't applied in new session
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
: 32964 69909 72743 81228 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-04-07 19:59 UTC by Gregory BENOIST
Modified: 2004-06-08 11:27 UTC (History)
4 users (show)

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 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. ***