[Qt-interest] bug with mouse events
Colin Kern
colin.kern at gmail.com
Tue Feb 10 18:10:26 CET 2009
On Tue, Feb 10, 2009 at 11:59 AM, Ivan S. Lyapunov <dront78 at gmail.com> wrote:
> Hello.
>
> I'm write a small program and i want to make frameless parent window with
> mouse dragging enabled
> This code has a bug on Windows XP (and m.b anywhere else)
> when system panel with Start menu button is placed on left or on top of the
> desktop
> qwidget::mouseMoveEvent receives incorrect coordinates, so the dragging
> window jump to the width()/heith() of the system Start menu panel.
> The manual drag works if Qt::Popup style is enabled to widget but it is not
> a correct style for use.
>
> I'm using qt 4.5 rc1, compiled this Visual Studio 2005 SP1
> the sample of the problem code is attached
>
Seems to work fine for me in Ubuntu 8.10 (Gnome 2.22.3) with Qt 4.4.0.
I tried it with the Gnome panel on the top, left, and bottom.
Colin
More information about the Qt-interest-old
mailing list