Version: unspecified (using KDE 4.6.0) OS: Linux If I set 'Position' and 'Size' properties to 'Remember' in 'Special Window Settings', nothing happens, and the window appears at the arbitrary position next time. Reproducible: Didn't try Steps to Reproduce: On any window. Window Menu -> Advanced -> Special Window Settings... -> Geometry -> set 'Position' and 'Size' to 'Remember'. Actual Results: Nothing happens when the window is shown next time Expected Results: The window should appear at the same position as when it was closed
works for me (tried xterm) - what clients did you try with? also see bug #264981
Doesn't work for me with xterm, either. Restarting kwin via kwin -replace did not help. I've checked now, 'Apply initially' does not work in my setting, but 'Force' does work. Are there other options that can supersede settings in 'Special Window Settings'?
(In reply to comment #2) > Doesn't work for me with xterm, either. > > Restarting kwin via kwin -replace did not help. I've checked now, 'Apply > initially' does not work in my setting, but 'Force' does work. For clarification: "force" & "apply initially" will set the size/position in the the window has in the lineedits when you apply the rule, "remember" will remember the position the client had on closing. (+force also fixes this geometry, you cannot alter it) If you actually wanted to use "apply initially" have a sharp look on the configured value - it's not changed if already present. Is the entry in the config file after closing the client? Does it look "right"? In doubt also force to ignore requested geometry (but i'd expect issues on that rather with some "certain special" client candidates.... ;-) > Are there other options that can supersede settings in 'Special Window > Settings'? hardly (you don't use tiling/tabbing on the client, do you?)
The coordinates and sizes do change upon window close! But the window actually appears at a random position. I thought it can be a result of 'smart window placement' in 'destkop effects', but I have the effects disabled. Bottomline: in my environment kwin fails to initially apply these coordinates but does save them. Can I run it with some parameters in order to get any log that will help?
Even restarted KDE just to be sure this is persistent. No, I don't use tiling and tabbing, yet.
run "kdebugdialog", activate "1212 kwin" and "kwin --replace &" from konsole. there should be no errors when launching the client, but to knwo for sure you'd have to check the code and add some debug statements? (manage.cpp:375)
==================== kwin(15266) KWin::Client::readUserTimeMapTimestamp: User timestamp, ASN: 4294967295 kwin(15266) KWin::Client::readUserTimeMapTimestamp: User timestamp, final: 'ID: 83886111 ;WMCLASS: "xterm" : "xterm" ;Caption: "xterm" ' : 5957201 kwin(15266) KWin::Workspace::allowClientActivation: Activation, compared: 'ID: 83886111 ;WMCLASS: "xterm" : "xterm" ;Caption: "xterm" ' : 5957201 : 5957200 : true kwin(15266) KWin::Workspace::updateClientArea: screens: 2 desktops: 6 kwin(15266) KWin::Workspace::updateClientArea: Done. kwin(15266) KWin::Workspace::createTile: Now tiling "xterm" ===================== Hmmm... I became a little bit thoughtful about the last line. Why is 'tiling' there?
the debug line is just in wrong place. the next line is if( !tilingEnabled() || !tileable(c) ) return; so that shouldn't harm
errr... just notice: "screens: 2" does it work if you hook off one of the displays?
Hi! Sorry for the delay. Single-monitor option is the first thing I've checked. It does not work, either. I've checked the thing on a different computer, with the same result.
I still have this problem on OpenSuSE 11.3.
I still have this problem on OpenSuSE 11.3 and KDE SC 4.7.
I have the same problem with Kubuntu 11.04 and KDE 4.6.5 and Kubuntu 11.10 KDE 4.7.1 (german) I can see in the kwinrulesrc the remembered value (and it changes) but the window always appears at 0,0. Do i set the rule to "force" the windows is locked to the location in the kwinrulesrc. So i made a new user (and profile) and voila "remember" works. I probably use my profile since 4.2 (or 4.3). What could have changed since then that could make "remember" misbehave. Do i need to delete an rc file? I really would like to keep my profile, everything else works.
The rules are stored in ~/.kde/share/config/kwinrulesrc -> please check whether it's activity related: https://bugs.kde.org/show_bug.cgi?id=264981 -> and whether it only affects size and position: https://bugs.kde.org/show_bug.cgi?id=187539
It was the first activity bug for me and affected only size and position and remember (the values get always saved, though). i deleted all activities but one. Now it's working, thanks-
I believe, mine is also activity related. New user without activities has no that odd behavior.
Ok, i'll mark this as dupe of bug #264981 - not that i didn't mention it in the very first comment :-P *** This bug has been marked as a duplicate of bug 264981 ***