google-code-export / umple

Automatically exported from code.google.com/p/umple
1 stars 0 forks source link

Umpleonline canvas resize keyboard shortcuts conflict with browser shorcuts #556

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Go to http://cruise.eecs.uottawa.ca/umpleonline
2. Use ctrl-shift-+ or ctrl-shift-- to resize the canvas

What is the expected output? What do you see instead?
The expected result is that the canvas will be resized.

The actual result varies depending on browser.
Chrome 34: The canvas larger shortcut causes both an increase in the canvas 
size and causes the browser to zoom. The canvas smaller shortcut also causes 
both the Umpleonline and browser effects.

Firefox 28: Neither of the canvas larger or smaller shortcuts have an effect on 
the Umpleonline canvas size. The canvas larger shortcut increases increases the 
browser zoom. The canvas smaller shortcut has no effect.

Opera 12: The canvas larger shortcut zooms the browser. The canvas smaller 
shortcut works as expected.

Original issue reported on code.google.com by CraigBry...@gmail.com on 9 May 2014 at 5:57

GoogleCodeExporter commented 9 years ago
The problem also occurs on other keyboard shortcuts, such as ctrl-t, which 
hides the text and opens a new tab (in Firefox). 

The source of this issue is likely the difference between the ctrl key on Linux 
or Windows and the command key on Mac; the native browser commands are 
implemented with the command key on Mac, so the ctrl key is free to use for 
shortcuts.

Original comment by CraigBry...@gmail.com on 12 May 2014 at 3:53

GoogleCodeExporter commented 9 years ago
Fixed with revision r4325.

Original comment by CraigBry...@gmail.com on 21 Aug 2014 at 5:05

GoogleCodeExporter commented 9 years ago
An incomplete solution was implemented with revision r4325 that required focus 
on one of the main elements for any of the umpleonline shortcuts to work. When 
one of these elements were not focused, the browser-native shortcuts were 
allowed again, and the umpleonline shortcuts were disabled.

Original comment by CraigBry...@gmail.com on 21 Aug 2014 at 7:48