[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    Bug#827: kwm behaviour wrt: Shade vs. Maximise on doubleclick in titlebar
From:       David Woodhouse <David.Woodhouse () mvhi ! com>
Date:       1999-02-26 13:17:31
[Download RAW message or body]


I have set the kwm action upon double-click in the titlebar to 'Shade'.
However, the actual behaviour changes every time I log in. It alternates 
between the desired 'shade' and the undesired 'maximise'.

I'm serious here - it alternates. I log in once, open a kvt, and double-click
shades the window. Touch nothing else, log out and back in again, and double
-click will maximise the window. Repeat and it's back to shading.

Copying a known-good .kde/apps/config/kwmrc file into place before logging in 
will reliably ensure correct behaviour. 

Further investigation shows that there were two entries for the 
'TitlebarDoubleClickCommmand' in the config file. Each time kwm resaved its 
options, it wrote them in reverse order, and hence the order of the 
TitlebarDoubleClickCommand was changed each time.

There are two bugs here. One is the existence of the duplicate option in the 
first place - I hadn't ever edited the file by hand, so this must have been 
the fault of the configuration utility. I'm afraid I can't offer any more 
debugging information than that, because I can't remember the various options 
which I tried when I first installed KDE. Someone with a knowledge of the code 
could certainly reproduce it faster than I could myself.

The second bug is that kwm blithely writes out the configuration options that
it reads from the file. Surely it should write out the options which it is
using, or better still - not write them out at all unless something changes. 

To rewrite the configuration files every time the program is loaded is
error-prone and slow. 





----                                 ----                                 ----
David Woodhouse        David.Woodhouse@mvhi.com       Office: (+44) 1223 810302
 Project Leader,     Process Information Systems      Mobile: (+44) 976 658355
    Axiom (Cambridge) Ltd., Swaffham Bulbeck, Cambridge, CB5 0NA, UK.
             finger dwmw2@ferret.lmh.ox.ac.uk for PGP key.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic