[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: What prevents QWidget to be shown big from startup on ?
From: Lubos Lunak <l.lunak () suse ! cz>
Date: 2006-06-24 22:55:30
Message-ID: 200606250055.30118.l.lunak () suse ! cz
[Download RAW message or body]
On Thursday 22 June 2006 08:23, Benrhard Schiffner wrote:
> Hallo,
>
> 1. I create a toplevel QWidget.
> 2. I resize(2048, 768); it to the reported size of my virtual Desktop.
> 3. I show (); it.
> And now:
> 5. It's shown in (1024, 768) on the right(!) screen.
>
> What goes on here?
>
> 6. If I try this with a little bit smaller sizes it's shown only at one
> screen (left!).
> 7. If I try this with initial sizes smaller then one screen, I can resize
> it later by mouse to 2048,768.
>
> This is with KDE 3.5.3.
> I think something in KWin is broken / has changed.
No, it works perfectly as it should. You have Xinerama and you have it
configured to place new windows only on one screen. So when you show a normal
window KWin resizes it to fit and places it on the Xinerama screen where the
center of that window is (since you also specified position).
> You find this scenario in .../kdegraphics/ksnapshot/regiongrabber.cpp,
> lines 87 ff. (see below). This behavior is base for
> http://bugs.kde.org/show_bug.cgi?id=72118
> and perhaps others.
You probably just need WX11BypassWM on that window since it seems to be a
special window that shouldn't be managed by KWin at all.
--
Lubos Lunak
KDE developer
---------------------------------------------------------------------
SuSE CR, s.r.o. e-mail: l.lunak@suse.cz , l.lunak@kde.org
Drahobejlova 27 tel: +420 2 9654 2373
190 00 Praha 9 fax: +420 2 9654 2374
Czech Republic http://www.suse.cz/
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic