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

List:       kde-core-devel
Subject:    Re: Problem with QWidget->mapToGlobal()
From:       Shaun Reich <shaun.reich () kdemail ! net>
Date:       2011-07-26 21:55:15
Message-ID: CADVynFASyedMKEx1=K1Q+tpt8+eCu_tPgsnRYZHFe+=F5K2VLA () mail ! gmail ! com
[Download RAW message or body]

I have the same problem with master and Qt 4.7.

Clicking the windeco icon on a window which is on either screen
results in the menu displaying as far left on the left screen, and the
top of the screen + (heightOfTitlebar) it seems.
Simply right-clicking the titlebar itself results in an incorrect
offset (resulting in it being on the left-most screen at the top. The
difference is that the first one is statically always at left-top. The
second case (sort of) follows the x axis of the titlebar, but at the
top.

Anyways, ran it through gdb just for curiousity's sake and yeah
mapToGlobal isn't giving what one might expect. Does the widget need a
parent or something? Because other uses of it seem pretty similar to
this one, yet they work fine. or is this some qt/x bug?


-- 
Shaun Reich,
KDE Software Developer (kde.org)
[prev in list] [next in list] [prev in thread] [next in thread] 

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