[PATCH] bug: getMousePosition() fails when MToolkit is being used and window is moved
|Reported by:||markb@…||Owned by:||framm|
I have discovered that with the current josm (r1212) and Java 1.6.0_07-b06 on Ubuntu 8.04 that if AWT_TOOLKIT is set to MToolkit (to avoid blank windows when using compiz) and the window that contains the layer dialog is moved, then the right mouse
button no longer pops up the context menu for a layer.
I fixed the problem by simplifying openPopup() so that it no longer calls
getMousePointer() on the list pane as this seems to be borked by the window move.
I therefore reverted to using the mouse coordinates supplied in the event to choose the list item and it now works for me.
Change History (6)
Changed 4 years ago by anonymous
comment:2 in reply to: ↑ 1 Changed 4 years ago by anonymous
- Component changed from unspecified to Core