Image 01
profile-image

cptG

Thomas Gahr
Bespin

Be-Shell/Bespin by thomas12777 1663 comments

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
Bespin

Be-Shell/Bespin by thomas12777 1663 comments

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
Bespin

Be-Shell/Bespin by thomas12777 1663 comments

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

Be-Shell/Bespin by thomas12777 1663 comments

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

7 .5
9   Aug 02 2011
two0ten Aurorae

Aurorae Themes
by Scnd101

8 .1
9   Aug 02 2011
Ember for Aurorae

Aurorae Themes
by garthecho

8 .6
9   Aug 02 2011
4 .6
3   Jul 25 2011
BusyTasks

Plasma 4 Extensions
by unknownSpirit

7 .9
9   Jul 25 2011
QuickUrl

Plasma 4 Extensions
by blackhat77

7 .7
9   Jul 25 2011
Tarmoid

Plasma 4 Extensions
by blackhat77

6 .3
9   Jul 25 2011
Drop2Tag

Plasma 4 Extensions
by nik3nt3

7 .8
9   Jul 25 2011
Losungen

Plasma 4 Extensions
by jwchile

7 .3
9   Jul 25 2011
inUtileBar2

Plasma 4 Extensions
by gracca

7 .6
9   Jul 25 2011