Closed
Bug 1491776
Opened 6 years ago
Closed 6 years ago
Typing a non-alpha character insert it after the completion text for a brief moment
Categories
(DevTools :: Console, defect)
DevTools
Console
Tracking
(firefox64 fixed)
RESOLVED
FIXED
Firefox 64
Tracking | Status | |
---|---|---|
firefox64 | --- | fixed |
People
(Reporter: nchevobbe, Assigned: nchevobbe)
References
Details
Attachments
(3 files)
**Steps to reproduce** 1. Open the console 2. Type `doc` 3. The completion text should be visible (with `ument`. 4. Type `;` **Actual results** For a very brief moment, the input looks like `document;` (where `ument` is in grey), before switching to `doc;`. This results in a flash of styling which looks weird (see attachment). --- This is probably because of the way we use markText in the editor.
Assignee | ||
Comment 1•6 years ago
|
||
Here's a still of what's visible just after typing `;`. It's only displayed for some milliseconds.
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 2•6 years ago
|
||
Assignee | ||
Comment 3•6 years ago
|
||
TRY is fine https://treeherder.mozilla.org/#/jobs?repo=try&revision=e532475fc94e8117b15a4eea6d9f27e93a2b38e0
Assignee | ||
Comment 4•6 years ago
|
||
TRY push when keeping the markText approach: https://treeherder.mozilla.org/#/jobs?repo=try&revision=4264ce9e120e2ca9d9eb681850d7e21af07300e5&selectedJob=199881206
Comment 5•6 years ago
|
||
Comment on attachment 9009579 [details] Bug 1491776 - Do not use markText to show the completion text; r=bgrins. Brian Grinstead [:bgrins] has approved the revision.
Attachment #9009579 -
Flags: review+
Pushed by nchevobbe@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/83af3bf2f967 Do not use markText to show the completion text; r=bgrins.
Comment 7•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/83af3bf2f967
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
status-firefox64:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 64
You need to log in
before you can comment on or make changes to this bug.
Description
•