Bug 787064 - Alt+PageUp and Alt+PageDown shortcuts don't work when editor is not focused
Summary: Alt+PageUp and Alt+PageDown shortcuts don't work when editor is not focused
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Zanata
Classification: Retired
Component: Component-UI
Version: 1.5-SNAPSHOT
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 1.6-beta-1
Assignee: Patrick Huang
QA Contact: Joyce Chang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-03 04:39 UTC by David Mason
Modified: 2013-03-04 03:19 UTC (History)
4 users (show)

Fixed In Version: Zanata version 1.6.0-alpha-3-SNAPSHOT (20120515-0020).
Doc Type: Bug Fix
Doc Text:
Cause We only listen to keyboard events when focus is within editing area. Consequence In Firefox, when reaching the end of the document, focus will not be on editing area and further keyboard shortcut won't work. Workaround Use mouse to click on navigation buttons when focus has lost . Result May have to use mouse occasionally under Firefox.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-06-22 00:58:06 UTC


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 816843 0 unspecified CLOSED [WebTran] Next and Previous Fuzzy/Untranslated keyboard short cut does not work 2021-02-22 00:41:40 UTC
Red Hat Bugzilla 821591 0 unspecified CLOSED Alt+PageUp not working for last fuzzy/untranslated entry of whole document using Firefox 2021-02-22 00:41:40 UTC

Internal Links: 816843 821591

Description David Mason 2012-02-03 04:39:29 UTC
Description of problem:
In web editor, Alt+PageUp and Alt+PageDown shortcuts to modal navigation only work if the editor is open and has focus. These shortcuts are useful even without an editor open (e.g. in future read-only mode), so should work regardless whether the editor is open.


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Open any document with strings
2. Hold Alt and press PageDown
  
Actual results:
Nothing happens

Expected results:
Next fuzzy/untranslated textflow is selected

Additional info:

Comment 1 Patrick Huang 2012-05-14 00:05:21 UTC
Committed in master: https://github.com/zanata/zanata/commit/1a9846a12ca5f4ebd9a49894afcd41e5e8aa2587

Comment 2 Joyce Chang 2012-05-15 02:08:31 UTC
hey Patrick, 
it works fine now except for one weird behaviour under firebox.

On the very last fuzzy/untranslated entry of the whole document, it won't work for Alt+up if you want to navigate back fuzzy/untranslated entries, while the editor is closed but still focused. In this case, Alt+up would only work when editor is enabled by clicking it, so users can navigate back fuzzy/untranslated entries.   




additional info.
chrome doesn't have this issue.

Comment 3 Joyce Chang 2012-05-15 04:24:58 UTC
verified in Zanata version 1.6.0-alpha-3-SNAPSHOT (20120515-0020).

Comment 4 Joyce Chang 2012-05-15 04:43:45 UTC
(In reply to comment #2)
> hey Patrick, 
> it works fine now except for one weird behaviour under firebox.
> 
> On the very last fuzzy/untranslated entry of the whole document, it won't work
> for Alt+up if you want to navigate back fuzzy/untranslated entries, while the
> editor is closed but still focused. In this case, Alt+up would only work when
> editor is enabled by clicking it, so users can navigate back fuzzy/untranslated
> entries.   
> 
> 
> additional info.
> chrome doesn't have this issue.

This a minor issue and not affecting severely. will report another bug to track this issue. see bug 821591

Comment 5 Patrick Huang 2012-06-06 00:35:07 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Cause
We only listen to keyboard events when focus is within editing area.

Consequence
In Firefox, when reaching the end of the document, focus will not be on editing area and further keyboard shortcut won't work.

Workaround
Use mouse to click on navigation buttons when focus has lost .

Result
May have to use mouse occasionally under Firefox.


Note You need to log in before you can comment on or make changes to this bug.