This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Applications ignoring Special Window Settings

Tags: None
(comma "," separated)
sycokinetic
Registered Member
Posts
4
Karma
0
For some unknown reason, no matter what I do, applications do not follow my Special Windows Settings. It doesn't matter which application it is or how I set it. They all insist on following KDE's default rules. Additionally, some applicitions such as Kate and Konsole don't even do that. Instead those two insist on opening as a half-screen tile 90% of the time, and every now and then they remember the settings they had when i closed them. This behavior is identical on two different laptops with Linux Mint 15 and KDE 4.10.3.

I've tried every setting I can find on my PC. I've googled. I've searched the bug reports. And I've gone to #kde (350 people there and no response btw). Would someone kindly tell me what the hell I'm supposed to do?
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Have you verified that the window rules match, by using the "Detect window properties" option on the "Window matching" tab of a specific Special Window Setting?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
sycokinetic
Registered Member
Posts
4
Karma
0
bcooksley wrote:Have you verified that the window rules match, by using the "Detect window properties" option on the "Window matching" tab of a specific Special Window Setting?

Yes, I've tried setting it from the window itself and the System Settings. I've also copied the settings from that window to the profile saved in the System Settings, and I've confirmed that they're being saved in my .kde folder. I've tried setting a regex; I've tried making everything but the window class unimportant; and I've tried it with multiple applications.
luebking
Karma
0
What kind of special settings?
It sounds like you try to impact the initial geometry?

Have you (for testing) tried whether forcing a specific geometry works?
Did you disallow geometry requests? (The window can specifically request a certain geometry - if this happens even after it's shown, you cannot prevent it before 4.11)
There's no general rule about window geometries. The windows usually specify a size and the Windowmanager places them somehwhere on screen. The windows can also specifiy a special position.
Kate and konsole (and dolphin) are special as they usually run in one process, what can make their behavior reg. "restoring" their former size pretty hard to understand.

I suggest you explain in detail what you try to do and post ~/.kde/share/config/kwinrulesrc for review
sycokinetic
Registered Member
Posts
4
Karma
0
luebking wrote:What kind of special settings?
It sounds like you try to impact the initial geometry?

Have you (for testing) tried whether forcing a specific geometry works?
Did you disallow geometry requests? (The window can specifically request a certain geometry - if this happens even after it's shown, you cannot prevent it before 4.11)
There's no general rule about window geometries. The windows usually specify a size and the Windowmanager places them somehwhere on screen. The windows can also specifiy a special position.
Kate and konsole (and dolphin) are special as they usually run in one process, what can make their behavior reg. "restoring" their former size pretty hard to understand.

I suggest you explain in detail what you try to do and post ~/.kde/share/config/kwinrulesrc for review

Yes, specifically what I want to do is tell Konsole to open such that it is automatically snapped to a quadrant of my desktop.

Umm... what's strange is that this moment, everything is working as it should... I literally just turned on my computer to finally reply, and I can't replicate the bug all of a sudden.

Before, my geometry settings would be saved and would show up in my System Settings window; but every time i opened the geometry settings of a terminal or other application, those settings would not be loaded. I would simply get the standard blank geometry settings as if I'd done nothing... Right now it's actually "sticking" even after I snap a terminal to half a screen.

Here's my ~/.kde/share/config/kwinrulesrc in case it helps, but now I'm really confused. \o.O/
[1]
Description=(Default) Disable focus stealing prevention for XV
fsplevel=0
fsplevelrule=2
types=4294967295
wmclass=^xv .*
wmclasscomplete=true
wmclassmatch=3

[2]
Description=Window settings for konsole
clientmachine=alex-ux31a
clientmachinematch=0
size=960,522
sizerule=3
title=alex : bash – Konsole
titlematch=0
types=4294967295
wmclass=konsole Konsole
wmclasscomplete=true
wmclassmatch=1

[General]
count=2
luebking
Karma
0
The setting would normally be sufficient, but konsole being a single instance application can behave "weird".
It right now probably just does not disagree on the initial geometry.

"konsole --nofork" will behave less indeterministic and also properly interpret "--geometry 960x522"
Since you don't want(?) to enforce a size, try forcing to ignore geometry requests, this is -for 4.10 "on startup" and for 4.11 all the time- prevent konsole from resizing itself.
sycokinetic
Registered Member
Posts
4
Karma
0
luebking wrote:The setting would normally be sufficient, but konsole being a single instance application can behave "weird".
It right now probably just does not disagree on the initial geometry.

"konsole --nofork" will behave less indeterministic and also properly interpret "--geometry 960x522"
Since you don't want(?) to enforce a size, try forcing to ignore geometry requests, this is -for 4.10 "on startup" and for 4.11 all the time- prevent konsole from resizing itself.

Sorry for not replying. I got caught up in work.

Umm... this suggestion does seem to be a good workaround as the command "konsole --nofork --geometry 960x522" produces the correct window size. However these windows don't follow any tiling rules and just go straight to the top left of the screen.

What I'm finding is that none of my applications are matching the profiles I've made, regardless of how I define them. This is also happening on two different machines, which tells me it's a problem with KWin rather than an application. I'm going look around my system a bit to make sure I didn't install something wrong and probably will file a KWin bug report.

Thanks for the help!
luebking
Karma
0
--geometry expects "WxH+X+Y" on some default values (being +0+0)
Try "--geometry 960x522+200+200" instead - however the size rule should start being operative with just "--nofork" as well.

It's mean to say, but pretty much all "rules not working" bug reports so far have turned out "rules are complicated" =)
Please just post the full kwinrulesrc file here and comment on what you try to achieve by each rule before opening a bug.

I assume you're using the "detect" button to detect a window?
dgmari
Registered Member
Posts
1
Karma
0
Thank you Leubking (a play on lube king? hehe) , the suggestion to "ignore requested geometry" force - yes resolved a similar problem for me. Really appreciate your comments.
luebking
Karma
0
zlch..... my surname with demangled umlaut ;-)


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], ourcraft