[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-panel-devel
Subject:    Re: Default Desktop and layout
From:       "Aaron J. Seigo" <aseigo () kde ! org>
Date:       2008-08-25 12:16:16
Message-ID: 200808250616.16872.aseigo () kde ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


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


["signature.asc" (application/pgp-signature)]

_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic