Image 01
profile-image

cptG

Thomas Gahr
test
Bespin

Be-Shell/Bespin 1662 comments

Score 82.7%
Apr 25 2013
Glad I could help.
I've not (yet) subscribed to any kde-devel mailinglist, so I did miss the fact that there is a known problem with mapToGlobal in Qt4.8b1 - I also found nothing in Qt's bugtracker.
You don't happen to have a link to the relevant thread lying around? I would be interestedin reading it but haven't yet found anything in the archives of kde-devel.

Thanks,
Thomas - Aug 06 2011
I tried your workaraound and it works, but what also works is the following (you don't need mapToGlobal, since QMouseEvent gives you cursor coordinates in local coordinate-sytem):

Quote:
const bool under_mouse = Factory::isCompiz() ? underMouse() :
geometry().translated(-geometry().topLeft()).contains(event->pos());
- Aug 04 2011
No, no compiz. The real KWin :)
It does indeed seem to be an issue with mapToGlobal - in a single-screen setup everything works if the window's coordinates are at global (0,0). As soon as I move the window the buttons do not work anymore. In my dual-screen-setup it only works on the primary (left) screen ;)
I'll try your suggestion and let you know if it worked. - Aug 04 2011
Bespin window decoration buttons do not work - they visually react to button presses but the window is neither minimized/maximized or closed. I tried the package provided by my distro and also compiled and installed from SVN - no difference.
Using KDE 4.7 rc2 and Qt4.8 beta1 - Aug 03 2011
cupertino aurorae

Aurorae Themes
by vicko

Score 75.3%
9   Aug 02 2011
two0ten Aurorae

Aurorae Themes
by Scnd101

Score 80.0%
9   Aug 02 2011
Ember for Aurorae

Aurorae Themes
by garthecho

Score 85.6%
9   Aug 02 2011
Score 46.0%
3   Jul 25 2011
BusyTasks

Plasma 4 Extensions
by unknownSpirit

Score 78.7%
9   Jul 25 2011
QuickUrl

Plasma 4 Extensions
by blackhat77

Score 76.7%
9   Jul 25 2011
Tarmoid

Plasma 4 Extensions
by blackhat77

Score 63.3%
9   Jul 25 2011
Drop2Tag

Plasma 4 Extensions
by nik3nt3

Score 78.4%
9   Jul 25 2011
Losungen

Plasma 4 Extensions
by jwchile

Score 73.0%
9   Jul 25 2011
inUtileBar2

Plasma 4 Extensions
by gracca

Score 75.5%
9   Jul 25 2011