Long wrapping lines in devtools console cause autocomplete to overlap text, and suggest to be misplaced.



4 years ago
a month ago


(Reporter: bugs, Unassigned)


(Blocks: 1 bug)

Dependency tree / graph

Firefox Tracking Flags

(Not tracked)


(Whiteboard: [btpp-fix-later])


(2 attachments)



4 years ago
Encountered when trying to create a bookmarklet for a friend.  The grey suggest text overlapped my typing, and the suggestion popup was positioned to the far right of my fullscreened browser.

When I made a non-fullscreen browser for purpose of screenshotting and testing this, the suggestions were positioned way outside the browser window even.  I'll attach a screenshot of this.

Comment 1

4 years ago
Created attachment 8465561 [details]
Screenshot of bug

Comment 2

4 years ago
Created attachment 8465573 [details]
Here's another screenshot with even more overlap of the grey text, and the suggest list actually scrolling for no reason
Duplicate of this bug: 1101887
Duplicate of this bug: 1234085
This should be fixed by Bug 983473
Depends on: 983473
Priority: -- → P2
Whiteboard: [btpp-fix-later]
Blocks: 1111089
Copying STR from Bug 1101887

1. Open Nightly
2. Resize the browser window so the width takes half of the screen, position the browser window to the left of your screen.
3. Open Tools -> Web Developer -> Web Console  
4. Type the following example JS: var xpathResult = document.evaluate( 'body/div/div/div/div/div/div/div/div/div/div/div/div/div/div/div/div/div/div/div', document, null, XPathResult.ANY_TYPE,  );

(the xpath selector here may be ridicilous, the point is to have the command line multi lined. Add /div if needed).

5. In the last evaluate() argument, start typing eg. document (so the autocomplete popup shows)


4 months ago
Product: Firefox → DevTools

Comment 7

a month ago
The completion text issue seems fixed on Nightly (with CodeMirror Jsterm enabled), but the positioning issue for the autocomplete popup remains.
You need to log in before you can comment on or make changes to this bug.