Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Ext User
    Join Date
    Mar 2009
    Posts
    2
    Vote Rating
    0
    lexaux is on a distinguished road

      0  

    Default [CLOSED] Window:onEsc working inconsistently in FF3

    [CLOSED] Window:onEsc working inconsistently in FF3


    Hi. I've noticed that following simple code works inconsistently:
    Code:
        public void onModuleLoad() {
    
            Window w = new Window();
            w.setTitle("Broken onEsc");
            w.setSize(200, 230);
            w.setPosition(10, 10);
            w.setClosable(true);
            w.setOnEsc(true);
    
            w.show();
    
        }
    Just after the onModuleLoad is finished, pressing Esc closes window. Although, if you perform single lbutton mouse click at the window titlebar, pressing Esc does not close window.

    In the IE browser, it is stable.

    Moreover, I've noticed that event is generated, etc, event is lost at the check if the window is or has event target as child. RIght here:
    Code:
    // Window.class line 1006
      protected void onKeyPress(WindowEvent we) {
        int keyCode = we.getKeyCode();
        if (closable && onEsc && keyCode == KeyCodes.KEY_ESCAPE
            && getElement().isOrHasChild((com.google.gwt.dom.client.Element) we.getEvent().getEventTarget().cast())) {
          hide();
        }
      }

    is that already known/any workarounds?

  2. #2
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,966
    Vote Rating
    130
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    This works fine against the latest version. Marking this as closed.

Thread Participants: 1

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar