[patch] PlasmaApp::adjustSize with multiple monitors

Guillaume Pothier gpothier at gmail.com
Sun Aug 24 02:45:32 CEST 2008


Hi,
This is related to http://bugs.kde.org/show_bug.cgi?id=163676
It seems there is indeed a problem with QDesktopWidget. When I resize
my external monitor, the resize signal is fired with screen=0,
although the screen whose size changed is screen 1. Thus adjustSize
doesn't adjust the size of the panel, which I put on screen 1.

So as a workaround I wrote a hack that calls adjustSize for each
screen when we receive the signal. This works fine, at least on my
machine. The patch is attached. I'll try to have a look at
QDesktopWidget, but in the meantime this patch seems useful.

Regards,
g
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: plasma-adjustSize.diff
Url: http://mail.kde.org/pipermail/plasma-devel/attachments/20080823/f486ab6e/attachment.bat 


More information about the Plasma-devel mailing list