Discourse Captures escape from other applications


  • kills Dumbledore

    Steps:

    Expected
    the window closes, Discourse doesn't change since it doesn't have focus

    Actual
    The window closes, so does the lightboxed image



  • BELGIUM!

    I didn't get a repro first: my outlook mail was sitting on my other monitor and no issue then.
    Moved it to the same monitor as chrome containing the shitboxed image and then the shitbox is closed. Even if chrome is not the active window.


  • SockDev

    i think that's a chrome bug.

    try this. make two chrome windows, load a long document into each one. mouse over the one that is not active and scroll down with the mouse wheel.

    result: the document in the inactive window scrolls down.

    i suspect chrome hooks some part of windows and made its scope rather larger than it had to be.



  • Maybe the popup window auto-closes if the main window gets focus?

    The scroll behaviour is what I'd expect, but that's linux convention: The scroll wheel affects the mouseover control, rather than the control with focus.


  • SockDev

    @PleegWat said:

    The scroll behaviour is what I'd expect, but that's linux convention: The scroll wheel affects the mouseover control, rather than the control with focus.

    I'm not saying that it was unexpected behavior, just that it's not windows standard behavior so chrome had to do something to get it and if they did it a bit too big... ;-)


  • mod

    • No repro in IE 11.
    • Repro in Chrome 37.

    Which browser were you using?


  • SockDev

    hmm... OP didn't specify, but @Luhmann and @accalia both posted Repro with Chrome and @accalia posted theory on providence of bug.

    so... @jaloopa, what browser were you using?



    • Mixed repro in IE 10
      • No repro when tapping Esc
      • Repro when holding Esc, then releasing Esc when browser had focus (lightbox dismissed on release)
    • Repro in Firefox 32

  • kills Dumbledore

    Discovered in chrome. Probably the latest version but it's my work pc so can't check right now


Log in to reply
 

Looks like your connection to What the Daily WTF? was lost, please wait while we try to reconnect.