[Translate.Next] Caret / Selection should be reset after switching to new string

RESOLVED FIXED

Status

defect
P3
normal
RESOLVED FIXED
4 months ago
3 months ago

People

(Reporter: petercpg, Assigned: adrian)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: tn-testing-2)

Attachments

(1 attachment)

  1. Open any project on Pontoon Next
  2. Find a string with longer translation which is easier to observe, however it applies to all strings
  3. Move input cursor to some position or select some of it
  4. Select another string on the left column
  • Expected:
  1. The input cursor should reset to beginning of the string after loading up new string
  2. The input focus stays inside the input field
  • Actual:
  1. The cursor stays at the same position of the new string. If some part of string was selected the same range stays selected.
  2. The focus moved away from input field

(In reply to Peter Pin-Guang Chen [:petercpg] (MozTW.org) from comment #0)

  • Expected:
  1. The input focus stays inside the input field
  • Actual:
  1. The focus moved away from input field

Ah, this one should probably reported in another bug?

I think it's fine, it's not a big thing and can be worked on as part of this. Thanks a lot for reporting! :-)

Priority: -- → P3
Assignee: nobody → adrian
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Whiteboard: tn-testing-2
You need to log in before you can comment on or make changes to this bug.