Looking in my application, it seems the delta() value of the Qt mouse
wheel event is about 3 times smaller under Windows 7 (very quick
estimation). So, to get the same behaviour under XP and Windows 7, I
would need to take this into account. But this should rather be the the
job of Qt.

Qt's own widgets, like QTextEdit, uses a delta of 120 to mean "scroll one line". If delta is less than 120, it means that your mouse has a better resolution than 15 degrees. In that case, Qt's own widgets will accumulate the delta until it is at least 120 before doing a scroll. In your case, if Win7 for some reason starts to send smaller deltas than before without compensating by sending more wheel events for the same amount of wheel roll, scrolling will go slower than before.

How does other native apps on your Win7 behave? Does this only happend with apps written with Qt? Does it change if you use another mouse?

-Richard


If you take Qt demos such as Text Edit and Interview: no apparent
problem, because the scroll step was already big under XP.
But if you use Assistant, the problem is obvious here, too much wheel
action for too less scrolling happening.

Philippe

On Tue, 20 Oct 2009 09:40:36 +0200
Richard <[email protected]> wrote:

Are you using the same version of Qt in both cases? Do you have a
special kind of mouse (meant for gaming etc, with higher resolution on
the wheel?)

-Richard




On Oct 17, 2009, at 11:48 PM, Philippe wrote:

Scroll wheel scale or event rate seems to be different under Windows 7
compared to Windows XP.

To see this: open Assistant and scroll with the mouse wheel: under
Windows 7 you need to turn the wheel again and again to scroll a bit,
while it works normally under XP.

Philippe

_______________________________________________
Qt4-preview-feedback mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback

_______________________________________________
Qt4-preview-feedback mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback


_______________________________________________
Qt4-preview-feedback mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback

_______________________________________________
Qt4-preview-feedback mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback

Reply via email to