Bug 169251 - KDM's theme system lacks support for xinerama/twinview
Summary: KDM's theme system lacks support for xinerama/twinview
Status: RESOLVED FIXED
Alias: None
Product: kdm
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kdm bugs tracker
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-16 18:55 UTC by Thomas Brix Larsen
Modified: 2009-06-01 14:28 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Proposed patch using tiling. (1.16 KB, patch)
2008-08-16 18:56 UTC, Thomas Brix Larsen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Brix Larsen 2008-08-16 18:55:12 UTC
Version:            (using KDE 4.1.0)
Installed from:    Compiled From Sources
Compiler:          gcc version 4.3.1 (Gentoo 4.3.1-r1 p1.1) 
OS:                Linux

When using nVidia twinview the background in KDM gets split in the middle of my two screens.

I've created a patch: it takes the screen resolution from the first found screen and uses it for rendering the background to a pixmap, which is then tiled across the combined resolution of the connected screens.
Comment 1 Thomas Brix Larsen 2008-08-16 18:56:40 UTC
Created attachment 26878 [details]
Proposed patch using tiling.
Comment 2 Oswald Buddenhagen 2008-08-16 20:25:20 UTC
this patch isn't very good, as it does not deal with differently sized desktops properly. tiling isn't particularly nice anyway.
i suggest to introduce an extension to the theme file format to specify a background for secondary screens. maybe an altbackground attribute to items. dunno.
Comment 3 Thomas Brix Larsen 2008-08-16 20:49:33 UTC
I started out by trying to loop through the screens and assign each of them a pixmap with matching resolution, but Qt wouldn't let me do it.

Each screen in Qt seem to have the combined resolution of all the screens (physical: 2x 1680x1050, every screen widget in Qt: 3360x1050); possibly a bug in Qt?
Comment 4 Oswald Buddenhagen 2008-08-16 21:08:17 UTC
yes, i know - i run into that problem when i tried to make krootimage render all screens but the themed one. but you can see how it deals with xinerama.
Comment 5 Gabe Yoder 2008-09-19 00:23:06 UTC
I'm seeing a different variation on this issue in 4.1.1 with the radeonhd driver (version 1.2.1).  First it draws the background centered (and thus split across the two screens), and then it draws the background on the first screen.
Comment 6 Miikka Salminen 2008-11-30 16:09:10 UTC
I'm experiencing the same as Gabe Yoder with 4.1.3 with nvidia driver (version 177.80) using twinview.

There is also a noticeable latency between the initial draw to the center of both screens and the redraw to the first screen. So in the end approximately half of the original centered background is left on the second screen, while the background of the first screen appears correctly.
Comment 7 Frank Sagurna 2008-12-07 13:50:04 UTC
Same here like Gabe Yoder, and still in kubuntu 4.2beta1 packages.
nvidia 177.80 driver and nvidia 180.11beta driver.
Comment 8 Gabe Yoder 2008-12-08 03:57:20 UTC
(In reply to comment #7)
> Same here like Gabe Yoder, and still in kubuntu 4.2beta1 packages.
> nvidia 177.80 driver and nvidia 180.11beta driver.
> 

That's interesting because as of 4.2 beta 1 (which I built from source), it works correctly (a copy of the background positioned properly on each screen).
Comment 9 Frank Sagurna 2008-12-08 21:41:46 UTC
Sorry, i dont know why i thought this (maybe i mixed some things up) as it of course works now in 4.2beta1.
Sorry for that misinformation.
Comment 10 FiNeX 2009-04-29 21:53:00 UTC
Kdm is displayed fine in current trunk with twinview on my system too. Can we close this bug as fixed?