Red Hat Bugzilla – Bug 773175
It now takes two clicks to start translating
Last modified: 2012-03-06 19:06:59 EST
Description of problem:
As of 1.5, empty cells say "click here to start translating", but if the cell is not part of the current row, the first click just selects the row, and only the second click opens the editor.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. click in the second row's editor cell
cell row is selected, but editor is not opened
cell row is selected, and editor is opened
The same problem occurs when clicking from editor to editor. The first editor cell closes, but the editor on the new row doesn't open unless I click in the editor area a second time.
Bug fix. See https://github.com/zanata/zanata/commit/246f648924ed5c40ae98341a460fdbe4d63e7194
Re-implement with event based solution: See https://github.com/zanata/zanata/commit/3712e6a2a19057677bd1002b5e7532d70ffade4f
Can you please make sure we only trigger the editor when using the left mouse button (and no modifiers)? Having the editor trigger on RMB makes using DOM inspectors *extremely* difficult.
Two clicks are still required to start translating. The editor now opens with one click, but about 90% of the time in Chrome and Firefox 3.6 the editor does not have focus, so translation cannot be initiated without an extra click to focus the editor.
Fix issues: https://bugzilla.redhat.com/show_bug.cgi?id=773175#c5
Fix found issues with https://bugzilla.redhat.com/show_bug.cgi?id=773175#c6.
Works on Firefox 3.6, but on Chrome it still is not opening the editor on the first click. I found it will open the editor on the first click randomly when clicking just outside the "click here" text.
Verified with Zanata version 1.5.0-alpha-3-SNAPSHOT (20120227-1458).