Default Desktop and layout

Aaron J. Seigo aseigo at kde.org
Mon Aug 25 14:16:16 CEST 2008


On Monday 25 August 2008, Petri Damstén wrote:
> Hi,
>
> Layout in default desktop does not work on second screen. In
> DefaultDesktop::refreshWorkingArea it calls setWorkingArea with screen
> geometry which sets workingStart to 1280,0 (on my second screen). Using
> this workingStart added applets are then moved outside of my screen (which
> is 1280x1024). I guess it should be something like this:

yes, the problem is that the code is confusing two concepts:

* scene coordinates: geometry()
* screen coordinates: QDesktopWidget::availableGeometry()

and so your fix is correct ... pls commit =)

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Trolltech

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20080825/2b19892f/attachment.sig 


More information about the Plasma-devel mailing list