Closed
Bug 860360
Opened 11 years ago
Closed 11 years ago
Browser console Autocomplete popup doesn't get repositioned if it gets smaller
Categories
(DevTools :: Console, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 25
People
(Reporter: Gijs, Assigned: Optimizer)
Details
Attachments
(2 files, 2 obsolete files)
184.38 KB,
image/png
|
Details | |
2.52 KB,
patch
|
msucan
:
review+
|
Details | Diff | Splinter Review |
STR: 0. Set the magic prefs (devtools.chrome.enabled, devtools.debugger.chrome-enabled) 1. Open the Browser Console in a separate window 1a. Move it far enough to the bottom of the screen so that the autocomplete popup will have to be above the cursor (this step may be optional?) 1b. Make sure your mouse is nowhere near the cursor in the console window (or it'll select autocomplete items) 2. Type "g" (you get a long autocomplete popup list 3. Type "H" (the list goes a lot shorter) Expected result: the list anchors to the cursor (below or above the textbox) Actual result: the top left corner of the autocomplete list stays in the same position, miles away from the inputbox.
Reporter | ||
Comment 1•11 years ago
|
||
(funnily enough, I can't reproduce this problem with the web console? No idea why not)
Assignee | ||
Comment 2•11 years ago
|
||
Is that HiDPI ? If yes, then this bug is most probably a dupe of bug 855849.l If you undock the web console, then you might see the same issue.
Comment 3•11 years ago
|
||
Victor, this is probably related to the latest changes we did for the autocomplete popup. Do we have a bug about the issues? Afaik we discussed these with the team.
Comment 4•11 years ago
|
||
We don't have a bug yet on this, but the behavior is identical with bug 855849 (it seems it's happening on non HiDPI as well). I would be a lot happier if that bug got some attention instead, since this issue started badly affecting the debugger as well, and I'm not comfortable with setTimeouting everything and hoping that it works. As we talked on IRC, neither MozAfterPaint nor a setTimeout made a definitive difference worth considering "a fix".
Assignee | ||
Comment 5•11 years ago
|
||
I am seeing this now in web console on windows 7 too. and Mihai is prolly right in comment 3, but on Windows, this started happening only around 3 weeks back, so not sure ...
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → scrapmachines
Assignee | ||
Comment 6•11 years ago
|
||
Fixes all the issues ! Tested it on Windows 7 and Mac OS X 10.8 Please test it on your Linux. Lets land this before uplift :)
Attachment #784603 -
Flags: review?(mihai.sucan)
Assignee | ||
Updated•11 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 7•11 years ago
|
||
Removed one unrelated change that was present in previous patch. try push at : https://tbpl.mozilla.org/?tree=Try&rev=5687d45438a6
Attachment #784603 -
Attachment is obsolete: true
Attachment #784603 -
Flags: review?(mihai.sucan)
Attachment #785374 -
Flags: review?(mihai.sucan)
Assignee | ||
Comment 8•11 years ago
|
||
Rebased on top of web console loader and reload marker patches. new try : https://tbpl.mozilla.org/?tree=Try&rev=22b97be5570e
Attachment #785374 -
Attachment is obsolete: true
Attachment #785374 -
Flags: review?(mihai.sucan)
Attachment #785377 -
Flags: review?(mihai.sucan)
Comment 9•11 years ago
|
||
I was not able to reproduce the bug with STR from comment #0. If anyone else has problems here are my steps to reproduce: 1. open the browser console. 2. type |gooo| 3. then backspace once and repeat until you see that the popup is anchored at a wrong location. Girish, your patch seems to fix the problem on my system (Ubuntu 12.04). Thanks!
Comment 10•11 years ago
|
||
Comment on attachment 785377 [details] [diff] [review] rebased on top of web console loader patches Review of attachment 785377 [details] [diff] [review]: ----------------------------------------------------------------- This is looking ugly, but it seems to do the job. Thanks!
Attachment #785377 -
Flags: review?(mihai.sucan) → review+
Assignee | ||
Comment 11•11 years ago
|
||
(In reply to Mihai Sucan [:msucan] from comment #10) > Comment on attachment 785377 [details] [diff] [review] > rebased on top of web console loader patches > > Review of attachment 785377 [details] [diff] [review]: > ----------------------------------------------------------------- > > This is looking ugly, but it seems to do the job. Thanks! Yeah, I know <sadface>. Damn these XUL panels.
Assignee | ||
Comment 12•11 years ago
|
||
try was green, landed in fx-team : https://hg.mozilla.org/integration/fx-team/rev/ffe8cd748b6b
Whiteboard: [fixed-in-fx-team]
Comment 13•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/ffe8cd748b6b
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 25
Comment 14•11 years ago
|
||
This does not fix anything. In fact, it makes things much, much worse on OS X.
Comment 15•11 years ago
|
||
(In reply to Victor Porof [:vp] from comment #14) > This does not fix anything. In fact, it makes things much, much worse on OS > X. That's... bad. It works better for me (on Linux), see comment 9. Should we backout the patch?
Comment 16•11 years ago
|
||
Not sure. It seems to work better on Windows and Linux, so, on average, this patch does good things. Let's keep it. I hate panels.
Assignee | ||
Comment 17•11 years ago
|
||
(In reply to Victor Porof [:vp] from comment #14) > This does not fix anything. In fact, it makes things much, much worse on OS > X. Can you please explain how it got worse? Any STRs ? I've personally tested it on my Mac OS X 10.8 and it completely fixes the incorrect repositioning of the popup.
Comment 18•11 years ago
|
||
Regular usage. See bug 857441.
Assignee | ||
Comment 19•11 years ago
|
||
(In reply to Victor Porof [:vp] from comment #18) > Regular usage. See bug 857441. That doesn't help. Anyways, I will upload a screencast comparing the two nightlies with and without the patch when I get internet access at my home back.
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•