DynamicPerception / Graffik_Legacy

Graffik Motion Control
Other
7 stars 2 forks source link

Time input boxes respond to cursors incorrect #6

Open RyanParle opened 11 years ago

RyanParle commented 11 years ago

When setting the "Real Time" & " Film Length" pressing the up cursor causes the value to decrease & pressing the down cursor causes the value to increase.

Windows 7 version

thisdroneeatspeople commented 11 years ago

Yeah, the problem here traces to the behavior of the FlickNumber widget, which is based on a QListWidget. "Up and Down," refer to the order in which items were added to the list, and therefore I need to change the order that the numbers are placed into the list widgets to be in reverse numerical order. It will also require me to invert the value based on the position returned from FlickNumber::value().

This does mean, however, that some people may register bugs that their scroll wheel operates inversely to the standard scroll wheel operation on some OSes, and there will likely be problems when swiping (either with finger or mouse) based on how you expect the numbers to roll based on the action.

Thus, perhaps the better solution is to intercept the arrow clicks in an even handler and invert them.

thisdroneeatspeople commented 11 years ago

Ignore the reference message from the commit above, it targeted the wrong issue.