public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] KDE4.6 with two monitors does not respect boundaries/edges between them
@ 2011-05-17 20:22 Mick
  2011-05-17 21:09 ` Neil Bothwick
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Mick @ 2011-05-17 20:22 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 876 bytes --]

It seems that some setting changed from the 4.5 to 4.6 because now the 
boundaries between the two monitors are no longer respected.  Let me try to 
explain:

In KDE4.5 if I were to maximise a window of an application while it was 
positioned say in the left monitor, it would maximise to occupy all of the 
real estate in the left monitor only.  If the application was in the right 
monitor, it would maximise to occupy only the right monitor.

Also in KDE4.5 moving an application window near the ends of a monitor would 
snap to the edge even if this was the vertical edge between the two monitors.

In KDE4.6 application windows maximise across both screens and there's no 
snapping into the edge at the middle.

Finally, I can no longer set different wallpapers for the two monitors.

Is there some setting I could use to fix this?
-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] KDE4.6 with two monitors does not respect boundaries/edges between them
  2011-05-17 20:22 Mick
@ 2011-05-17 21:09 ` Neil Bothwick
  2011-05-17 22:48   ` Mick
  2011-05-17 21:12 ` Alan McKinnon
  2011-05-17 22:35 ` Florian Philipp
  2 siblings, 1 reply; 13+ messages in thread
From: Neil Bothwick @ 2011-05-17 21:09 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 811 bytes --]

On Tue, 17 May 2011 21:22:56 +0100, Mick wrote:

> In KDE4.5 if I were to maximise a window of an application while it was 
> positioned say in the left monitor, it would maximise to occupy all of
> the real estate in the left monitor only.  If the application was in
> the right monitor, it would maximise to occupy only the right monitor.

In The monitors section of system settings, there should be a multiple
monitors section. I think, I'm on my single-screen netbook now, that I
have all the boxes ticked, and it works as you want.

However, occasionally, after an upgrade, it reverts to how you describe.
The "solution" is to unset and reset some of those options and restart
KDE, then it remembers how it should behave again. 


-- 
Neil Bothwick

Top Oxymorons Number 22: Childproof

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] KDE4.6 with two monitors does not respect boundaries/edges between them
  2011-05-17 20:22 Mick
  2011-05-17 21:09 ` Neil Bothwick
@ 2011-05-17 21:12 ` Alan McKinnon
  2011-05-17 22:35 ` Florian Philipp
  2 siblings, 0 replies; 13+ messages in thread
From: Alan McKinnon @ 2011-05-17 21:12 UTC (permalink / raw
  To: gentoo-user; +Cc: Mick

Apparently, though unproven, at 22:22 on Tuesday 17 May 2011, Mick did opine 
thusly:

> It seems that some setting changed from the 4.5 to 4.6 because now the
> boundaries between the two monitors are no longer respected.  Let me try to
> explain:
> 
> In KDE4.5 if I were to maximise a window of an application while it was
> positioned say in the left monitor, it would maximise to occupy all of the
> real estate in the left monitor only.  If the application was in the right
> monitor, it would maximise to occupy only the right monitor.
> 
> Also in KDE4.5 moving an application window near the ends of a monitor
> would snap to the edge even if this was the vertical edge between the two
> monitors.
> 
> In KDE4.6 application windows maximise across both screens and there's no
> snapping into the edge at the middle.
> 
> Finally, I can no longer set different wallpapers for the two monitors.
> 
> Is there some setting I could use to fix this?

This might help narrow the source of the problem down.

This doesn't affect my nVidia card [GeForce 8600M GT] on any version between 
4.3 and latest 4.6 in the tree, so I suspect your drivers.

Snap to the edge between two monitors works here.
An unmaximized window always maximizes to fill the monitor it is on.
An unmaximized window that is partly on one monitor and partly on the other 
does a neat trick when maximized - it fills the monitor that held the bigger 
fraction of the window.

All this neat goodness works on both nVidia driver and nouveau, straight out 
the box, no fiddling required


-- 
alan dot mckinnon at gmail dot com



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] KDE4.6 with two monitors does not respect boundaries/edges between them
  2011-05-17 20:22 Mick
  2011-05-17 21:09 ` Neil Bothwick
  2011-05-17 21:12 ` Alan McKinnon
@ 2011-05-17 22:35 ` Florian Philipp
  2011-05-17 22:50   ` Mick
  2011-05-18  2:26   ` Leonardo Guilherme
  2 siblings, 2 replies; 13+ messages in thread
From: Florian Philipp @ 2011-05-17 22:35 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1169 bytes --]

Am 17.05.2011 22:22, schrieb Mick:
> It seems that some setting changed from the 4.5 to 4.6 because now the 
> boundaries between the two monitors are no longer respected.  Let me try to 
> explain:
> 
> In KDE4.5 if I were to maximise a window of an application while it was 
> positioned say in the left monitor, it would maximise to occupy all of the 
> real estate in the left monitor only.  If the application was in the right 
> monitor, it would maximise to occupy only the right monitor.
> 
> Also in KDE4.5 moving an application window near the ends of a monitor would 
> snap to the edge even if this was the vertical edge between the two monitors.
> 
> In KDE4.6 application windows maximise across both screens and there's no 
> snapping into the edge at the middle.
> 
> Finally, I can no longer set different wallpapers for the two monitors.
> 
> Is there some setting I could use to fix this?

I had the same problem. You have to enable the xinerama use flag, even
if you do not intend to configure xinerama.

euse -E xinerama && emerge -av --reinstall changed-use world

will do the job.

Hope this helps,
Florian Philipp


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] KDE4.6 with two monitors does not respect boundaries/edges between them
  2011-05-17 21:09 ` Neil Bothwick
@ 2011-05-17 22:48   ` Mick
  0 siblings, 0 replies; 13+ messages in thread
From: Mick @ 2011-05-17 22:48 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 1624 bytes --]

On Tuesday 17 May 2011 22:09:41 Neil Bothwick wrote:
> On Tue, 17 May 2011 21:22:56 +0100, Mick wrote:
> > In KDE4.5 if I were to maximise a window of an application while it was
> > positioned say in the left monitor, it would maximise to occupy all of
> > the real estate in the left monitor only.  If the application was in
> > the right monitor, it would maximise to occupy only the right monitor.
> 
> In The monitors section of system settings, there should be a multiple
> monitors section. I think, I'm on my single-screen netbook now, that I
> have all the boxes ticked, and it works as you want.
> 
> However, occasionally, after an upgrade, it reverts to how you describe.
> The "solution" is to unset and reset some of those options and restart
> KDE, then it remembers how it should behave again.

Thanks Neil, there's the 'Display and Monitor' section in SystemSettings.  
I've changed things around, changed their position from 'absolute' to 'right 
of' and back again, changed the refresh rate to auto and finally changed the 
Primary Output to DVI.  Logged out/in and it is still the same xinerama like 
behaviour.  One big single virtual screen, rather than two screens in two 
monitors as it was until 4.6 came along.

I knew from the start KDE4.6 was installed something was amiss because the 
toolbar at the bottom of the screen was extended across both monitors (it used 
to be on the RH side only) and on the left hand monitor it was not visible (it 
was below the bottom edge of the screen).

This is really annoying and hinders productivity ...  :-(
-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] KDE4.6 with two monitors does not respect boundaries/edges between them
  2011-05-17 22:35 ` Florian Philipp
@ 2011-05-17 22:50   ` Mick
  2011-05-18  2:26   ` Leonardo Guilherme
  1 sibling, 0 replies; 13+ messages in thread
From: Mick @ 2011-05-17 22:50 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 1437 bytes --]

On Tuesday 17 May 2011 23:35:30 Florian Philipp wrote:
> Am 17.05.2011 22:22, schrieb Mick:
> > It seems that some setting changed from the 4.5 to 4.6 because now the
> > boundaries between the two monitors are no longer respected.  Let me try
> > to explain:
> > 
> > In KDE4.5 if I were to maximise a window of an application while it was
> > positioned say in the left monitor, it would maximise to occupy all of
> > the real estate in the left monitor only.  If the application was in the
> > right monitor, it would maximise to occupy only the right monitor.
> > 
> > Also in KDE4.5 moving an application window near the ends of a monitor
> > would snap to the edge even if this was the vertical edge between the
> > two monitors.
> > 
> > In KDE4.6 application windows maximise across both screens and there's no
> > snapping into the edge at the middle.
> > 
> > Finally, I can no longer set different wallpapers for the two monitors.
> > 
> > Is there some setting I could use to fix this?
> 
> I had the same problem. You have to enable the xinerama use flag, even
> if you do not intend to configure xinerama.
> 
> euse -E xinerama && emerge -av --reinstall changed-use world
> 
> will do the job.

Have they changed the use of this flag in KDE4.6?  I don't having it set 
before ...

Thanks for the suggestion, I'll try it out tomorrow, because it's getting late 
now.

-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] KDE4.6 with two monitors does not respect boundaries/edges between them
  2011-05-17 22:35 ` Florian Philipp
  2011-05-17 22:50   ` Mick
@ 2011-05-18  2:26   ` Leonardo Guilherme
  1 sibling, 0 replies; 13+ messages in thread
From: Leonardo Guilherme @ 2011-05-18  2:26 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1547 bytes --]

2011/5/17 Florian Philipp <lists@binarywings.net>

> Am 17.05.2011 22:22, schrieb Mick:
> > It seems that some setting changed from the 4.5 to 4.6 because now the
> > boundaries between the two monitors are no longer respected.  Let me try
> to
> > explain:
> >
> > In KDE4.5 if I were to maximise a window of an application while it was
> > positioned say in the left monitor, it would maximise to occupy all of
> the
> > real estate in the left monitor only.  If the application was in the
> right
> > monitor, it would maximise to occupy only the right monitor.
> >
> > Also in KDE4.5 moving an application window near the ends of a monitor
> would
> > snap to the edge even if this was the vertical edge between the two
> monitors.
> >
> > In KDE4.6 application windows maximise across both screens and there's no
> > snapping into the edge at the middle.
> >
> > Finally, I can no longer set different wallpapers for the two monitors.
> >
> > Is there some setting I could use to fix this?
>
> I had the same problem. You have to enable the xinerama use flag, even
> if you do not intend to configure xinerama.
>
> euse -E xinerama && emerge -av --reinstall changed-use world
>
> will do the job.
>
> Hope this helps,
> Florian Philipp
>
>
I had the very same problem and I can confirm that using the xinerama flag
fixes it.

I'm using fglrx drivers, also I have defined two "Screens" in my
xorg.conf.d, I don't know if it has something to do with it (tried multiple
solutions and when things got working i just left it untouched).

Leonardo

[-- Attachment #2: Type: text/html, Size: 2152 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] KDE4.6 with two monitors does not respect boundaries/edges between them
@ 2011-05-18  3:50 Bill Longman
  2011-05-18 18:53 ` Alan McKinnon
  0 siblings, 1 reply; 13+ messages in thread
From: Bill Longman @ 2011-05-18  3:50 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 567 bytes --]

I don't know if this is considered hijacking this thread or not but I have a
similar issue getting my kde to remember its screen layout. Two screens with
different resolutions and kde just will NOT remember what I tell it to do.

Is there some secret X mojo I have to do to the X configuration files to
augment what kde knows about the display geometry? What's more annoying is
that I have other machines that have no problem. What's the general
consensus for configuring multiple heads? Just go with xorg.conf? Add
Monitor sections in xorg.conf.d?

-- 
Bill Longman

[-- Attachment #2: Type: text/html, Size: 610 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] KDE4.6 with two monitors does not respect boundaries/edges between them
  2011-05-18  3:50 [gentoo-user] KDE4.6 with two monitors does not respect boundaries/edges between them Bill Longman
@ 2011-05-18 18:53 ` Alan McKinnon
  2011-05-18 19:48   ` Bill Longman
  2011-05-18 20:22   ` Mick
  0 siblings, 2 replies; 13+ messages in thread
From: Alan McKinnon @ 2011-05-18 18:53 UTC (permalink / raw
  To: gentoo-user

Apparently, though unproven, at 05:50 on Wednesday 18 May 2011, Bill Longman 
did opine thusly:

> I don't know if this is considered hijacking this thread or not but I have
> a similar issue getting my kde to remember its screen layout. Two screens
> with different resolutions and kde just will NOT remember what I tell it
> to do.
> 
> Is there some secret X mojo I have to do to the X configuration files

Yes. Delete them.


> to
> augment what kde knows about the display geometry? What's more annoying is
> that I have other machines that have no problem. What's the general
> consensus for configuring multiple heads? Just go with xorg.conf? Add
> Monitor sections in xorg.conf.d?

Do you have an xorg.conf?

I suspect X has correctly figured out what you have and then you turn around 
and tell it something different. Whereupon it believes you.



-- 
alan dot mckinnon at gmail dot com



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] KDE4.6 with two monitors does not respect boundaries/edges between them
  2011-05-18 18:53 ` Alan McKinnon
@ 2011-05-18 19:48   ` Bill Longman
  2011-05-18 20:24     ` Alan McKinnon
  2011-05-18 20:22   ` Mick
  1 sibling, 1 reply; 13+ messages in thread
From: Bill Longman @ 2011-05-18 19:48 UTC (permalink / raw
  To: gentoo-user

On 05/18/2011 11:53 AM, Alan McKinnon wrote:
> Do you have an xorg.conf?
> 
> I suspect X has correctly figured out what you have and then you turn around 
> and tell it something different. Whereupon it believes you.

When I have NO xorg.conf file, KDE starts in clone mode. The 1280x1024
LCD wins and the 1680x1050 gets that same resolution. Or worse still,
the widescreen is disabled.

I've gone into krandrtray and Systems Settings and, in 4.6 now, can save
it as the default. It never does, or, if it really is saving defaults,
it is ignored upon next KDE restart.




^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] KDE4.6 with two monitors does not respect boundaries/edges between them
  2011-05-18 18:53 ` Alan McKinnon
  2011-05-18 19:48   ` Bill Longman
@ 2011-05-18 20:22   ` Mick
  1 sibling, 0 replies; 13+ messages in thread
From: Mick @ 2011-05-18 20:22 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 1746 bytes --]

On Wednesday 18 May 2011 19:53:38 Alan McKinnon wrote:
> Apparently, though unproven, at 05:50 on Wednesday 18 May 2011, Bill
> Longman
> 
> did opine thusly:
> > I don't know if this is considered hijacking this thread or not but I
> > have a similar issue getting my kde to remember its screen layout. Two
> > screens with different resolutions and kde just will NOT remember what I
> > tell it to do.
> > 
> > Is there some secret X mojo I have to do to the X configuration files
> 
> Yes. Delete them.
> 
> > to
> > augment what kde knows about the display geometry? What's more annoying
> > is that I have other machines that have no problem. What's the general
> > consensus for configuring multiple heads? Just go with xorg.conf? Add
> > Monitor sections in xorg.conf.d?
> 
> Do you have an xorg.conf?
> 
> I suspect X has correctly figured out what you have and then you turn
> around and tell it something different. Whereupon it believes you.

Thank you all for your help, Florian's suggestion and Leonardo's confirmation 
is what worked for me too.  Everything is as it was before KDE4.6, except for 
one thing, the kdm login box shows up on the left hand monitor, and the KDE 
splash comes up on the right hand monitor after entering the passwd.  
Previously it was in the middle of the whole virtual desktop and stayed there 
throughout the KDE startup process.  This is more of an observation, rather 
than a complaint.  It seems that the two monitors are separate under KDM and 
the KDM wallpaper is cloned, but the login box is not.  In KDE-4.5.5, during 
KDM the two monitors behaved as one (xinerama style) and then they split into 
separate screens after KDE started up.
-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] KDE4.6 with two monitors does not respect boundaries/edges between them
  2011-05-18 19:48   ` Bill Longman
@ 2011-05-18 20:24     ` Alan McKinnon
  2011-05-18 20:42       ` Mick
  0 siblings, 1 reply; 13+ messages in thread
From: Alan McKinnon @ 2011-05-18 20:24 UTC (permalink / raw
  To: gentoo-user

Apparently, though unproven, at 21:48 on Wednesday 18 May 2011, Bill Longman 
did opine thusly:

> On 05/18/2011 11:53 AM, Alan McKinnon wrote:
> > Do you have an xorg.conf?
> > 
> > I suspect X has correctly figured out what you have and then you turn
> > around and tell it something different. Whereupon it believes you.
> 
> When I have NO xorg.conf file, KDE starts in clone mode. The 1280x1024
> LCD wins and the 1680x1050 gets that same resolution. Or worse still,
> the widescreen is disabled.
> 
> I've gone into krandrtray and Systems Settings and, in 4.6 now, can save
> it as the default. It never does, or, if it really is saving defaults,
> it is ignored upon next KDE restart.


I have a 1920x1200 internal LCD and two different Samsungs (home & work), both 
1920x1080. I do not have the issues you experience - everything works as it 
should and has done so for many versions now, with both nvidia and nouveau 
drivers.

This would be a good time to post actual configs.


-- 
alan dot mckinnon at gmail dot com



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] KDE4.6 with two monitors does not respect boundaries/edges between them
  2011-05-18 20:24     ` Alan McKinnon
@ 2011-05-18 20:42       ` Mick
  0 siblings, 0 replies; 13+ messages in thread
From: Mick @ 2011-05-18 20:42 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 2291 bytes --]

On Wednesday 18 May 2011 21:24:17 Alan McKinnon wrote:
> Apparently, though unproven, at 21:48 on Wednesday 18 May 2011, Bill
> Longman
> 
> did opine thusly:
> > On 05/18/2011 11:53 AM, Alan McKinnon wrote:
> > > Do you have an xorg.conf?
> > > 
> > > I suspect X has correctly figured out what you have and then you turn
> > > around and tell it something different. Whereupon it believes you.
> > 
> > When I have NO xorg.conf file, KDE starts in clone mode. The 1280x1024
> > LCD wins and the 1680x1050 gets that same resolution. Or worse still,
> > the widescreen is disabled.
> > 
> > I've gone into krandrtray and Systems Settings and, in 4.6 now, can save
> > it as the default. It never does, or, if it really is saving defaults,
> > it is ignored upon next KDE restart.
> 
> I have a 1920x1200 internal LCD and two different Samsungs (home & work),
> both 1920x1080. I do not have the issues you experience - everything works
> as it should and has done so for many versions now, with both nvidia and
> nouveau drivers.
> 
> This would be a good time to post actual configs.

... and following my recent experience start with:

euse -i xinerama

BTW, I do have an xorg file in which among other things I have defined two 
monitors:

Section "Monitor"
        #DisplaySize      360   290     # mm
        Identifier   "Monitor0"
        VendorName   "NEC"
        ModelName    "NEC LCD1860NX"
        HorizSync    31.0 - 82.0
        VertRefresh  55.0 - 85.0
        Option       "PreferredMode"  "1280x1024"
        Option       "DPMS"
EndSection

Section "Monitor"
        #DisplaySize      510   290     # mm
        Identifier   "Monitor1"
        VendorName   "DEL"
        ModelName    "DELL ST2320L"
        HorizSync    56.0 - 76.0
        VertRefresh  30.0 - 83.0
        Option       "PreferredMode"  "1920x1080"
        Option       "RightOf" "Monitor0"
        Option       "DPMS"
EndSection

and under Section "Device" I have:

        Identifier  "Card0"
        Driver      "radeon"
        BusID       "PCI:1:0:0"
        Option  "monitor-VGA-0" "Monitor0"
        Option  "monitor-DVI-0" "Monitor1"

but these are historical.  I have not tried removing them to see what happens.
-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2011-05-18 20:43 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-18  3:50 [gentoo-user] KDE4.6 with two monitors does not respect boundaries/edges between them Bill Longman
2011-05-18 18:53 ` Alan McKinnon
2011-05-18 19:48   ` Bill Longman
2011-05-18 20:24     ` Alan McKinnon
2011-05-18 20:42       ` Mick
2011-05-18 20:22   ` Mick
  -- strict thread matches above, loose matches on Subject: below --
2011-05-17 20:22 Mick
2011-05-17 21:09 ` Neil Bothwick
2011-05-17 22:48   ` Mick
2011-05-17 21:12 ` Alan McKinnon
2011-05-17 22:35 ` Florian Philipp
2011-05-17 22:50   ` Mick
2011-05-18  2:26   ` Leonardo Guilherme

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox