Red Hat Bugzilla – Bug 741146
Next/Previous entry/fuzzy buttons based on last-edited entry rather than currently selected entry
Last modified: 2011-10-28 03:35:56 EDT
Description of problem:
In the webtrans editor, the next/previous entry/fuzzy buttons select rows based on which row had an editor cell open most recently, rather than based on the currently selected (i.e. grey outlined) row.
Next/previous fuzzy button can select approved entries if the selected row is different from the row that last had an editor open - it appears that the position of the next fuzzy is counted from the selected row, but the opened cell is counted from the previously open editor cell.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Sign in and open a document with at least 5 entries
2.Edit text and save entries to give the following:
3.Click target 1 to open editor cell
4.Click source 3 to select row 3 without opening an editor cell
5.Click 'next entry'
6.Click target 1 to open editor cell
7.Click source 3 to select row 3 without opening an editor cell
8.Click 'next fuzzy'
Next entry selects row 2
Next fuzzy selects row 2
Next entry selects row 4
Next fuzzy selects row 4
The algorithm for finding the offset of the next fuzzy is using the selected row, so it may be easy to make the row advancement based on the same thing could be an easy fix.
Bug fixed. See https://github.com/zanata/zanata/commit/fa206bbff2e6b192f602b88b1657a811a9762304
VERIFIED with Zanata version 1.4.2-SNAPSHOT (20111011-1535)
Note that, keyboard shortcut won't work in this scenario, as keyboard shortcut need an opening cell editor.