You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From rich.new...@gmail.com on April 26, 2011 22:54:56:
OK I have the fix - I tested the example app on Windows with the following:
pyjd
IE 9
FF 4
Safari
Opera
Chrome
and all seems fine. There were two problems:
The DialogBox.py file was incorrectly using 'self' as the widget to trap events through GlassWidget. Actually, the mouse handler of the DialogBox is the caption and that is the widget to be passed. Also, since MouseHandler does not define the glass events, python exceptions would occur under pyjd, so the glass enter/leave placeholder methods were added to Mousehandler.
The previewEvent method in PopupPanel.py was relying on DOM to tell it whether a mouse capture was in progress. The GlassWidget IE override did not involve DOM in the capture/release. That has been fixed by allowing browser-specific implementations to set/release capture, then letting GlassWidget simply use DOM to set/release capture.
KitchenSink - Popups - Show Dialog
Cannot move dialog around
0304c30 is first bad commit
Adds GlassWidget browser-specific override to fix issue 498
new file: library/ie6/pyjamas/ui/GlassWidget.py
Original issue: http://code.google.com/p/pyjamas/issues/detail?id=598 (April 26, 2011 15:13:03)
The text was updated successfully, but these errors were encountered: