Last Comment Bug 659778 - Web Console autocomplete is behind the Web Console window
: Web Console autocomplete is behind the Web Console window
: regression
Product: Core
Classification: Components
Component: Widget: Cocoa (show other bugs)
: Trunk
: x86_64 Mac OS X
-- normal (vote)
: ---
Assigned To: Panos Astithas [:past]
: Markus Stange [:mstange]
Depends on:
  Show dependency treegraph
Reported: 2011-05-25 15:12 PDT by Jesse Ruderman
Modified: 2011-08-11 07:31 PDT (History)
10 users (show)
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---

screenshot (17.79 KB, image/png)
2011-05-25 15:12 PDT, Jesse Ruderman
no flags Details
[in-devtools] Simple fix (1.16 KB, patch)
2011-06-17 01:16 PDT, Panos Astithas [:past]
bugzilla: review+
enndeakin: review+
asa: approval‑mozilla‑aurora+
Details | Diff | Splinter Review

Description User image Jesse Ruderman 2011-05-25 15:12:20 PDT
Created attachment 535201 [details]

1. Open the Web Console (Cmd+Shift+K)
2. In the Web Console's "Position" menu, select "Window".
3. Type 'a', causing an autocomplete menu to appear.

Result: Web Console is on top of the autocomplete menu, so part of the autocomplete menu is not visible.
Comment 1 User image David Dahl :ddahl 2011-05-25 19:28:18 PDT
Probably Mac-only. Not affecting Linux, I'll check my windows build asap.
Comment 2 User image David Dahl :ddahl 2011-05-26 11:34:59 PDT
I filed it here, but am not sure if Core:Widgets:Cocoa is the correct place for this bug
Comment 3 User image Neil Deakin 2011-06-09 07:13:01 PDT
You should be able to work around it by using level="top" on the autocomplete popup. That should be sufficient as the autocomplete popup itself contains no text entry fields.
Comment 4 User image Kevin Dangoor 2011-06-16 04:59:20 PDT
Panos is going to give Neil's suggestion a shot.

Adding tracking-firefox6 because this behavior is ugly on Macs and makes autocompletion potentially less usable than it was in Firefox 5.
Comment 5 User image christian 2011-06-16 14:36:29 PDT
Tracking for Firefox 6.
Comment 6 User image Panos Astithas [:past] 2011-06-17 01:16:02 PDT
Created attachment 540008 [details] [diff] [review]
[in-devtools] Simple fix

The workaround works as advertised.
Comment 7 User image Panos Astithas [:past] 2011-06-17 01:18:42 PDT
Asking ddahl for review since IIRC he has the setup to verify the fix on Macs and make sure there are no regressions on Windows & Linux.
Comment 8 User image David Dahl :ddahl 2011-06-20 08:40:59 PDT
Comment on attachment 540008 [details] [diff] [review]
[in-devtools] Simple fix

Have you tested this with level = floating? "top" may not be the best solution as it will float above any window in any app.

You may consider fixing this as a Mac-specific fix as well.

In case you haven't seen it...
Comment 9 User image Neil Deakin 2011-06-20 08:57:30 PDT
Other autocomplete panels use level="top". Since the panel should disappear when another application is made active, whether it appears on top of other applications isn't important.
Comment 10 User image Panos Astithas [:past] 2011-06-20 11:43:41 PDT
Comment on attachment 540008 [details] [diff] [review]
[in-devtools] Simple fix

Thanks for the review Dave! Is everything OK here Neil?
Comment 11 User image Rob Campbell [:rc] (:robcee) 2011-06-24 07:09:46 PDT
Comment on attachment 540008 [details] [diff] [review]
[in-devtools] Simple fix

This is slated tracking-firefox-6 so we'd like to approval to land on aurora.
Comment 12 User image Rob Campbell [:rc] (:robcee) 2011-06-28 05:51:18 PDT
still waiting on approval to land this on aurora.

landing in devtools for now.
Comment 13 User image Asa Dotzler [:asa] 2011-06-28 15:26:41 PDT
Comment on attachment 540008 [details] [diff] [review]
[in-devtools] Simple fix

please land on central first. with that you have approval for aurora.
Comment 15 User image Virgil Dicu [:virgil] [QA] 2011-08-11 07:31:05 PDT
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:6.0) Gecko/20100101 Firefox/6.0 beta 5
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:7.0a2) Gecko/20110810 Firefox/7.0a2
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:8.0a1) Gecko/20110811 Firefox/8.0a1

Verified on Mac OS X 10.6. The issue can no longer be reproduced with the steps given in the description. The Web console does no longer overlap part of the autocomplete menu.

Note You need to log in before you can comment on or make changes to this bug.