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

Add 'change desktop' in Window Behavior

2

Votes
3
1
Tags: None
(comma "," separated)
User avatar
Nebula
Registered Member
Posts
50
Karma
0
OS
Sorry for my english ... o)

I use rule to open aplications in specific Virtual Desktop.
Es: mail in VD 1, file manager in VD 2, konsole in VD 3, and so on.


Using "Follow under mouse" in focus policy when new window is open on another desktop, then desktop change and the focus is on window.

But in dolphin when I rename a file, the prompt window does't have focus.


Using "Focus follow mouse" dolphin prompt work collectly, but desktop don't change when new window is open on different desktop.


My proposal is adding a 'Change Desktop' (yes or not) option in
"Edit Window Specific Settings" -> "Size & Position"
when "Desktop" option is used.
luebking
Karma
0
Not sure how you open the rename dialog on a different desktop (but for a forcing rule) but if you alter the focus stealing prevention of this window to anything that is *not* extreme (what has to be your configured level, since otherwise the dialog is permitted, just tested) by a rule, it should get the focus and if it does so, the desktop should be changed as well. Setting the focus stealing prevention to "none" for that window will grant it focus regardless of what scary way you might use to invoke it so that it does not gain focus ;-)
User avatar
Nebula
Registered Member
Posts
50
Karma
0
OS
Dolphin renaming window in not on different desktop.
Is you set 'follow under mouse' and rename a file, the prompt window does't have focus. In the same desktop. ;-)
luebking
Karma
0
The behavior for "Focus under mouse" and "Focus strictly under mouse" is expected to behave like this. Focus is granted to the window under the mouse, nothing else (the two differ only in what happens when the window under the mouse doesn't accept the focus)

So if the rename dialog doesn't pop up under the mouse, it will not gain focus with those two focus models (they quite follow the plain X11 behavior and are unlikely of any interest for the majority of users, eg. alt+tab won't work either)

If you want *random* windows to gain focus (and implicitly move to their virtual desktop), just force their focus stealing prevention to "none" in the rules.
Does that cover your other case?
prentenr
Registered Member
Posts
2
Karma
0
I had excatly the same problem. thx a lot for the help
User avatar
Nebula
Registered Member
Posts
50
Karma
0
OS
Thx luebking, you've solved my problem


Bookmarks



Who is online

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