--===============1008616845== Content-Type: multipart/signed; boundary="nextPart1935228.LNSbsnuNC2"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart1935228.LNSbsnuNC2 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Friday 02 March 2007 15:09, Thomas Zander wrote: > For the people that work with a tablet and want to try this, there are so= me > issues in Qt that I want to make people aware of. > * Qt4.2.2 makes us switch back to mouse as soon as the tablet leaves the > canvas. =A0This means that you can't access the tool-options :( > This is fixed in 4.3-rsync already. I made a workaround for qt-copy [1] [] > 1) workaround for the first bug; The patch I provided previously was incorrect, as the type can now be=20 uninitialized and cause unexpected events to be fired. =46ixed version; Index: src/gui/kernel/qapplication_x11.cpp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =2D-- src/gui/kernel/qapplication_x11.cpp (revision 638087) +++ src/gui/kernel/qapplication_x11.cpp (working copy) @@ -3408,7 +3408,7 @@ } else if (event->type =3D=3D EnterNotify || event->type =3D=3D LeaveN= otify) { XEvent *xevent =3D (XEvent *)event; //unsigned int xstate =3D event->xcrossing.state; =2D type =3D QEvent::MouseMove; + type =3D QEvent::None; pos.rx() =3D xevent->xcrossing.x; pos.ry() =3D xevent->xcrossing.y; pos =3D d->mapFromWS(pos); =2D-=20 Thomas Zander --nextPart1935228.LNSbsnuNC2 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQBF6cvACojCW6H2z/QRAhs0AJwLe3oJOQBMwvFhsQZR0i4S/ooQiACdFRC5 L+1LSuNO8xMsMdtRbuu4j1c= =RpW4 -----END PGP SIGNATURE----- --nextPart1935228.LNSbsnuNC2-- --===============1008616845== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ koffice-devel mailing list koffice-devel@kde.org https://mail.kde.org/mailman/listinfo/koffice-devel --===============1008616845==--