Bug #2023

Novnc-console in Sunstone closes when ESC-key is pressed

Added by Oliver Daudey about 8 years ago. Updated almost 8 years ago.

Status:ClosedStart date:05/11/2013
Priority:HighDue date:
Assignee:-% Done:

0%

Category:Sunstone
Target version:Release 4.2
Resolution:fixed Pull request:
Affected Versions:OpenNebula 4.0

Description

Pressing the ESC-key closes the VNC-console. This seems to be a re-incarnation of Bug #1043. See Bug #1043 for more info.

History

#1 Updated by Ruben S. Montero about 8 years ago

  • Status changed from Pending to New
  • Priority changed from Normal to Low

#2 Updated by Ruben S. Montero about 8 years ago

  • Priority changed from Low to High

#3 Updated by Ruben S. Montero about 8 years ago

  • Target version set to Release 4.2

#4 Updated by Daniel Molina about 8 years ago

Our current version of zurb reveal modal does not support disabling this behaviour. The code responsible of this trigger is in jquery.foundation.reveal.js:
//
// Bind keyup functions on the body element.
// We'll want to close the modal when the 'escape' key is hit.
//
$( 'body' ).bind( 'keyup.reveal', function ( event ) {
//
// Did the escape key get triggered?
//
if ( event.which === 27 ) { // 27 is the keycode for the Escape key
//
// Escape key was triggered.
// Trigger the modal 'close' event.
//
modal.trigger( 'reveal:close' );
}

}); // end $(body)

#5 Updated by Oliver Daudey about 8 years ago

Thanks Daniel, that at least allowed me to come up with an easy temporary patch by commenting out the trigger. That will probably prevent ESC from being used to close windows all over the place, but the mouse should work just as well for that. :-)

#6 Updated by Daniel Molina about 8 years ago

  • Priority changed from High to Normal

#7 Updated by Daniel Molina about 8 years ago

  • Priority changed from Normal to High

#8 Updated by Ruben S. Montero about 8 years ago

  • Target version deleted (Release 4.2)

#9 Updated by Ruben S. Montero about 8 years ago

  • Target version set to Release 4.2

#10 Updated by Ruben S. Montero almost 8 years ago

  • Status changed from New to Closed
  • Resolution set to fixed

This is supported if the VNC window is detached. This is a new feature in 4.2

Also available in: Atom PDF