Bug 155544

Summary: Multi monitors without Xinerama places all desktops to one screen
Product: [Plasma] kwin Reporter: Szombathelyi György <gyurco>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Screenshot of the bad behavior

Description Szombathelyi György 2008-01-12 18:18:12 UTC
Version:            (using KDE KDE 4.0.0)
Installed from:    Compiled From Sources
OS:                Linux

When X is set up with multiple screens, but no Xinerama, the desktop is shown twice (that is ok), but both on the same screen. I don't really know that it's a plasma or kwin issue.
Comment 1 Szombathelyi György 2008-01-12 18:22:09 UTC
Created attachment 22968 [details]
Screenshot of the bad behavior

The screenshot shows that the two screens are merged into one. The first screen
is set up for 1024x768, the second is 640x480. The second should be displayed
on the TV, not on top of the first.
This has worked mostly on KDE3, except the background image.
Comment 2 Szombathelyi György 2008-01-12 18:36:25 UTC
(Just a short notice: the background problem of KDE3 is #132307)
Comment 3 Szombathelyi György 2008-01-12 18:39:33 UTC
I experimented a bit more, and seems to be a general KDE4 problem. I tried:
>export DISPLAY=localhost:0.1
>konsole &
konsole came up on the second head, kwin managed its window correctly.
now I tried:
>export DISPLAY=localhost:0.0
>konsole &
konsole came up again on the second head! So it seems that one app can only be displayed on one screen at one time. 
Pure X apps (like xterm), Qt4 apps (assistant) are OK.
Comment 4 Szombathelyi György 2008-01-12 19:00:23 UTC
Seems it's a problem with KUniqeApplication...all apps which inherit from this class, not from KApplication suffers from the problem.
Comment 5 Szombathelyi György 2008-01-12 19:20:24 UTC
I investigated further...all apps, which creates new windows in newInstance() inherited from KUniqueApplication, should respect DISPLAY somehow.
Its not clear for me that this is the problem with plasma, but plasma is a KUniqeApplication.
But now, the "product" assignment is wrong, since it's clearly not a kwin problem.
Comment 6 Szombathelyi György 2008-01-13 02:20:31 UTC
Next time I'll search more...

*** This bug has been marked as a duplicate of 152676 ***