You are not logged in.

#1 2011-11-07 00:13:22

MikeW
Member
Registered: 2011-10-19
Posts: 66

[SOLVED] KDE4 dual monitors and window resize

I have looked through the settings to try and find an answer to this one, but no luck so far. What I would like to do is turn off the window resizing that happens when moving a window to different monitor in KDE4. Its a bit annoying and I'd prefer it didn't do any resizing.

This happens moving from primary to secondary or from secondary to the primary monitor.

If anyone knows the magic setting to disable this behaviour I'd very much like to know what it is. smile

Last edited by MikeW (2011-11-08 08:40:09)

Offline

#2 2011-11-07 07:07:16

AaronD
Member
From: Tosev 3
Registered: 2009-01-27
Posts: 29

Re: [SOLVED] KDE4 dual monitors and window resize

I think what you want is System Settings --> Workspace Behavior --> Screen Edges.  Uncheck one or both of the boxes under Window Management.


--Aaron

Offline

#3 2011-11-07 07:28:29

MikeW
Member
Registered: 2011-10-19
Posts: 66

Re: [SOLVED] KDE4 dual monitors and window resize

That sounded promising but didn't have any effect on the behavior I'm trying to get rid of. After moving the window to the the other monitor it gets re-sized as soon as I let go of the mouse.

It is just the width that changes, as soon as I let go of the mouse the width is expanded to the width of the screen that I moved to. The height remains unchanged.

I should also mention that this does not happen with all applications. Konsole is the one I notice it in most, there are others that it happens with sometimes too. I can't remember what the others were off hand though.

Last edited by MikeW (2011-11-07 07:45:50)

Offline

#4 2011-11-07 08:55:33

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,082

Re: [SOLVED] KDE4 dual monitors and window resize

I think this is a bug in kde, i noticed it too.
does it happens with every application?
If not, take dolphin as example; close all instances, then edit:
$HOME/.kde4/share/config/dolphinrc
you'll find the [MainWindow] section.
Delete Width and Height (just in case) entries and save.
Dolphin should be right now.

I've still to submit the bug to kde devs, cause i'm unable to reproduce everytime.

-EDIT-
Maybe i found it, d'you use vertical panels?

Last edited by kokoko3k (2011-11-07 09:00:24)


Help me to improve ssh-rdp !

Offline

#5 2011-11-07 09:24:31

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,082

Re: [SOLVED] KDE4 dual monitors and window resize


Help me to improve ssh-rdp !

Offline

#6 2011-11-07 20:37:29

MikeW
Member
Registered: 2011-10-19
Posts: 66

Re: [SOLVED] KDE4 dual monitors and window resize

This sounds similar, but in my case its Konsole thats the main issue especially since I tend to use it a lot. I also tend to move the konsole window from monitor to monitor a fair bit. Dolphin, and Konqueor behave properly and don't do this odd resize thing.

I don't use vertial panels, its a pretty minimal setup almost default. It is very easily reproducable and doesn't seem to matter if the application was closed maximized or not.

If this matters I'm using the nouveau driver, but if I recall it was happening with the proprietary drivers too.

This is how my screens are set up.

# the right one
Section "Monitor"
          Identifier   "Samsung-Right"
          Option "PreferredMode" "1280x1024_60.00"
EndSection

# the left one
Section "Monitor"
          Identifier   "Samsung-Left"
          Option "PreferredMode" "1680x1050_60.00"
          Option "LeftOf" "Samsung-Right"
EndSection

Section "Device"
    Identifier "nvidia card"
    Driver "nouveau"
    Option  "Monitor-DVI-I-1" "Samsung-Left"
    Option  "Monitor-DVI-I-2" "Samsung-Right"
EndSection

Section "Screen"
    Identifier "screen1"
    DefaultDepth 24
      SubSection "Display"
       Depth      24
       Virtual 2960 1050
      EndSubSection
    Device "nvidia card"
EndSection

Section "ServerLayout"
    Identifier "layout1"
    Screen "screen1"
EndSection

Is there any way I can run konsole in debug mode, and hopefully get some clue in logs to the culprit to this behaviour? I'm willing to try anything I'm just not sure where to start tracking this down. smile

Offline

#7 2011-11-08 08:00:48

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,082

Re: [SOLVED] KDE4 dual monitors and window resize

D'you run different resolutions on two monitors?
I'd check anyway what happens by following the advice in comment #4 of that bug report.


Help me to improve ssh-rdp !

Offline

#8 2011-11-08 08:38:02

MikeW
Member
Registered: 2011-10-19
Posts: 66

Re: [SOLVED] KDE4 dual monitors and window resize

Yes the two monitors are different size and resolution.

Following the advice in comment #4 does fix the problem. Thanks a lot for the help, I'll remember that one now. I didn't even realize that feature was there. smile

Last edited by MikeW (2011-11-08 08:38:40)

Offline

#9 2011-11-08 12:48:34

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,082

Re: [SOLVED] KDE4 dual monitors and window resize

Waiting for the fix by upstream, i just discovered that thigs are better if you allows window borders to be drawn on maximized applications too:
systemsettings->workspace appaearance and behaviour -> window behaviour -> window behaviour -> Moving:

[x]  Display borders on maximized windows


Help me to improve ssh-rdp !

Offline

Board footer

Powered by FluxBB