Closed Bug 1509440 Opened 6 years ago Closed 6 years ago

Home/End button should dismiss the completion text if the popup is hidden

Categories

(DevTools :: Console, defect, P2)

65 Branch
defect

Tracking

(firefox65 verified)

VERIFIED FIXED
Firefox 65
Tracking Status
firefox65 --- verified

People

(Reporter: nchevobbe, Assigned: nchevobbe)

Details

Attachments

(1 file)

**Steps to reproduce**
1. Go to `data:text/html,<meta charset=utf8>`
2. Open the console
3. Type `Wind`
4. You should now see the completion text `ow` at the end
5. Hit <kbd>Home</kbd>
6. Hit <kbd>ArrowRight</kbd>

**Expected results**

The input still contains `Wind` and the cursor is after the `W`

**Actual results**

At 5. the completion node is not dismissed, and then, when hitting arrow right, the input gets weirdly completed with it, making the input `owWind`

---
Assignee: nobody → nchevobbe
Status: NEW → ASSIGNED
Pushed by nchevobbe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/614d2236358a
Fix JsTerm completionText handling with Left/Home/End keys; r=Honza.
https://hg.mozilla.org/mozilla-central/rev/614d2236358a
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 65
Flags: qe-verify+

I reproduced this issue using Fx 65.0a1, build ID: 20181122220059, on Windows 10 x64.

I can confirm this issue is fixed, I verified using Fx 65.0b12, build ID: 20190117232427, on Windows 10 x64, macOS X 10.13 and Ubuntu 18.04.

Status: RESOLVED → VERIFIED
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: