Closed
Bug 783971
Opened 12 years ago
Closed 12 years ago
[gcli] GCLI popup not appearing at its correct position
Categories
(DevTools :: General, defect)
Tracking
(firefox16 fixed, firefox17 fixed)
RESOLVED
FIXED
Firefox 18
People
(Reporter: Optimizer, Assigned: miker)
References
Details
(Whiteboard: [gclicommands][fixed-in-fx-team])
Attachments
(2 files, 1 obsolete file)
101.05 KB,
image/png
|
Details | |
12.43 KB,
patch
|
akeybl
:
approval-mozilla-aurora+
akeybl
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
1. type any command
2. while typing its options, the popup sometimes appear at wrong position. It also overlaps the input area sometimes.
This happens for all boolean options, for options of commands that are not valid and for some other cases that I am unable to pin point.
try these commands :
a. restart t
b. screenshot abc g
c. asdas era
d. screenshot abc 10
Assignee | ||
Comment 1•12 years ago
|
||
I am unable to reproduce this on Linux. Is there anybody that can try this on Windows?
Blocks: GCLICMD
Whiteboard: [gclicommands]
Assignee | ||
Comment 2•12 years ago
|
||
I can reproduce this on Windows & OSX but not on Linux.
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → mratcliffe
Status: NEW → ASSIGNED
Assignee | ||
Comment 3•12 years ago
|
||
There is a tooltip bug on Windows and Linux that prevents them from being positioned properly. There is a panel bug on Linux that causes ugly focus issues. We now use a tooltip on Linux and a panel on OSX & Windows. I know it is ugly but the key point is that it works.
If a panel has no content and no height it is not shown when openPopup is called on Windows and OSX ... this was stopping the panel from appearing the first time it was shown (bug 692348). Setting the panel's height to 1px before calling openPopup fixes the issue as we resize it ourselves anyway.
Attachment #656424 -
Flags: review?(jwalker)
Comment 4•12 years ago
|
||
Comment on attachment 656424 [details] [diff] [review]
Fix
Review of attachment 656424 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good. Please could you add a slab of docs to the function that lets people unravel what is going on? Particularly useful would be links to bugs etc. Imagine you have a bad memory and have to look at this code in a years time...
Attachment #656424 -
Flags: review?(jwalker) → review+
Assignee | ||
Comment 5•12 years ago
|
||
Added comments as requested
Attachment #656424 -
Attachment is obsolete: true
Assignee | ||
Updated•12 years ago
|
Whiteboard: [gclicommands] → [gclicommands][land-in-fx-team]
Comment 6•12 years ago
|
||
Whiteboard: [gclicommands][land-in-fx-team] → [gclicommands][fixed-in-fx-team]
Comment 7•12 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 8•12 years ago
|
||
We should also get this into Aurora & Beta if possible.
Comment 9•12 years ago
|
||
(In reply to Michael Ratcliffe [:miker] [:mratcliffe] from comment #8)
> We should also get this into Aurora & Beta if possible.
Care to request approval?
Assignee | ||
Comment 10•12 years ago
|
||
From who?
Assignee | ||
Comment 11•12 years ago
|
||
Comment on attachment 656794 [details] [diff] [review]
Added extra comments
[Approval Request Comment]
Bug caused by (feature/regressing bug #): Linux Window manager bugs plus Windows and OSX tooltip bugs.
User impact if declined: Panels will be opened in the wrong location ... very ugly.
Testing completed (on m-c, etc.): Yes
Risk to taking this patch (and alternatives if risky): None
String or UUID changes made by this patch: None
Attachment #656794 -
Flags: approval-mozilla-beta?
Attachment #656794 -
Flags: approval-mozilla-aurora?
Comment 12•12 years ago
|
||
Comment on attachment 656794 [details] [diff] [review]
Added extra comments
[Triage Comment]
If this is truly a no-risk patch, let's land on branches. If you'd like to reconsider that evaluation, we'd want to know more info about when this originally regressed before landing.
Attachment #656794 -
Flags: approval-mozilla-beta?
Attachment #656794 -
Flags: approval-mozilla-beta+
Attachment #656794 -
Flags: approval-mozilla-aurora?
Attachment #656794 -
Flags: approval-mozilla-aurora+
Updated•12 years ago
|
Target Milestone: --- → Firefox 18
Assignee | ||
Updated•12 years ago
|
status-firefox17:
--- → fixed
Assignee | ||
Comment 13•12 years ago
|
||
Assignee | ||
Comment 14•12 years ago
|
||
status-firefox16:
--- → fixed
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•