Registered Member
|
Hello to everyone!
Every day I spend some time watching movies at my TV connected to laptop with KDE. 1) First problem happens when I attach cable (VGA) to laptop (1366x768) and "configure" external monitor Sony (1920x1080). If I choose to place monitors horizontally, then mouse become "twice" faster moving in horizontal way, if vertically orient monitors then "twice" faster in that way. I write twice in quotes because I think that it is not a 2, but (1366+1920)/1366 and (768+1080)/768 (or 1920/1366 and 1080/768) respectively to orientation of monitors and configuration. 2) Second and the most important problem happens then I disconnect external monitor by selecting in Krandr "disable". I checked it only for horizontal placement... Right after I push "apply" all of maximized windows compressed vertically, i.e. instead (768-panel_width) it becomes almost twice smaller. Here I think as well not twice, but 768*(768/1080). So the problem is that the window manager thinks that maximal vertical space decreased by that value. New windows opened in the top of screen and have maximally that "twice smaller" vertical size. Even if I increase its size, then close window (for example dolphin), and start it again, vertical size would be decreased to that MAGIC max value, but horizontal would the same as I changed it. And all of maximization would cause window be compressed and put to the top part of the screen. This problems stays until restart of X, or by connecting external monitor again (But after disconnecting, problem comes back). I have tried this in some distribution: Debian, Mint, Ubuntu, Fedora, Arch, openSUSE. In every this problem is present, so it could be only problem of KDE. By the way using all those distributions with GNOME2, GNOME3 I have no problem. |
Administrator
|
Have you tried restarting KWin to see if this has any impact?
With regards to the mouse speed, I believe this is caused by the way X is treating the mouse settings - as it is responsible for implementing the mouse handling - KDE just sets the settings for you. You can restart KWin by running in Konsole:
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
1) connected monitor, configure horizontal placement, disconnect.
typed in konsole "kwin --replace" tried to maximize, and it still maximized horizontally correct but vertically still twice compressed. 2) After that connected monitor again, configure vertical placement, disconnect. WOW! windows maximized properly, BUT unmaximize is wrong! It get correct horizontal unmaximized size, but it still maximized vertically. type in konsole "kwin --replace" but no effect... Still gets wrong vertical size of unmaximized window. 3) After I again connect monitor and configure it horizontally, then disconnect. And here we are! All windows again maximized wrongly. And unmaximezed as well wrong. No matter how small was window before maximization, after i click unmaximize button it still maximized vertically, BUT to that MAGIC half value. by the way, All of this I do in openSUSE 12.1 now. |
Administrator
|
Okay, as restarting KWin has no effect here, it is possible that X is keeping the input "alive" even though no monitor is there.
What is the output of "xrandr" with the following states please? 1) Monitor not connected, not configured (ie. state once logged in) 2) Monitor connected, but not configured 3) Monitor connected, and configured 4) Monitor disconnected, without having disabled it first. Have you tried using xrandr to disable a display prior to disconnecting it (using xrandr --output <output name> --off)
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
1) Monitor not connected, not configured (ie. state once logged in)
2) Monitor connected, but not configured
3) Monitor connected, and configured
4) Monitor disconnected, without having disabled it first.
At this moment nothing bad happens. Windows maximized correctly. but after 5) xrandr --output <output name> --off
That problems appears. So it seems that problem should be in xrandr or X itself ? |
Administrator
|
The problem appears to be in X itself.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
Well, it was my first thought.
I tried the same in Gnome3, and there was NO PROBLEM with window maximization. As well as in KDE3 I also have no such problem. |
Registered Member
|
In Gentoo, KDE 4.7.4 I have no such a problem, BUT here different implementation of external monitor:
In openSUSE, Ubuntu, Arch linux, Linux Mint external monitor by default attached as external, but have a common edge through which I can move windows. In Gentoo by default external monitor attached as prolongation of first, i.e. two monitors become one with common panel through two monitors. Wallpaper as well stretched... |
Administrator
|
The prolongataion of the screen is known as Xinerama I believe - and is a deprecated method as such - but was the recommended method when KDE 3.5 was developed, and likely was when the screen support for GNOME 3 was developed. It appears that X is not unregistering the newly created screen it creates properly - causing KWin some problems as far as I can tell.
The mouse speed issue is my primary reason for suspecting that this issue is centered in X rather than in KWin - as the window manager cannot affect the speed of the mouse pointer I believe.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered users: Bing [Bot], Evergrowing, Google [Bot]