Status: New
Owner: ----
New issue 207 by nls...@googlemail.com: Horizontal scrolling causes an
exception
http://code.google.com/p/piccolo2d/issues/detail?id=207
What steps will reproduce the problem?
1. Create a PFrame, e.g. by starting GraphEditorExample
2. Use horizontal scrolling, e.g. via touchpad or tilt-wheel mouse
What is the expected output? What do you see instead?
No output is expected, but the following exception is thrown:
Exception in thread "AWT-EventQueue-0" java.lang.RuntimeException:
mousePressed without buttons specified
at
org.piccolo2d.PCanvas$MouseEventInputSource.mousePressed(PCanvas.java:785)
at java.awt.Component.processMouseEvent(Component.java:6264)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6032)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4630)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4460)
at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4235)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2478)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Furthermore, the API does not offer a convenient way to make use of
horizontal scrolling events.
What version of the product are you using? On what operating system?
Piccolo2D.Java 1.3 / SVN trunk at r1103
Ubuntu 10.10
Please provide any additional information below.
--
Piccolo2D Developers Group: http://groups.google.com/group/piccolo2d-dev?hl=en