Closed
Bug 1465696
Opened 7 years ago
Closed 6 years ago
Search filter's help logo jumping / incorrectly placed
Categories
(DevTools :: Netmonitor, defect, P2)
DevTools
Netmonitor
Tracking
(firefox62 affected)
RESOLVED
WORKSFORME
| Tracking | Status | |
|---|---|---|
| firefox62 | --- | affected |
People
(Reporter: ruturaj, Assigned: Honza, Mentored)
Details
Attachments
(4 files)
The search box's help logo on the right keeps jumping in linux and is incorrectly placed on Mac.
| Reporter | ||
Comment 1•7 years ago
|
||
| Assignee | ||
Comment 2•7 years ago
|
||
Thanks for the report!
I can see the jumping problem on Windows 10
The incorrect position seems to be Mac issue only.
Honza
Priority: -- → P3
| Reporter | ||
Comment 3•7 years ago
|
||
Hey Honza,
I was looking into this bug. I found its also existing in the Beta.
The issue comes up specifically when toolbar is in a `devtools-toolbar-single-row`
AND the width of the window is inadequate to accommodate all the controls.
The issue is `devtools-searchbox has-clear-btn` is set to `flex:1` AND itself is set to `display: inline-flex`
and on hover, The extra help icon gets added the width of the `devtools-searchbox`, since its set to flex=1,
Which causes incremental reflows !
I'm not a CSS expert, probable suggestions,
- In single row mode, ensure the width is adequate by removing display: inline-flex
- always show the `help` icon (Easiest fix)
- show help icon the way we show `devtools-searchinput-clear` button by absolute positioning.
Rutu.
| Comment hidden (mozreview-request) |
| Assignee | ||
Comment 6•7 years ago
|
||
@Ruturaj: can you try out my patch? Does it fix the problem for you?
I used `visibility` instead of `display`.
Honza
Assignee: nobody → odvarko
Status: NEW → ASSIGNED
Flags: needinfo?(odvarko) → needinfo?(ruturaj)
Priority: P3 → P2
| Reporter | ||
Comment 7•7 years ago
|
||
Hey Honza,
The patch that you supplied solved the issue, but added another. Now on typing anything leads to the jump.
Perhaps showing it always, and only replacing for the "X" when somebody types text could be a solution.
Ruturaj.
Flags: needinfo?(ruturaj)
Updated•7 years ago
|
Product: Firefox → DevTools
Comment 8•6 years ago
|
||
Hi Ruturaj
The incorrect position seems to be fixed on Mac. Can you verify if the issue with Linux still exists?
Flags: needinfo?(ruturaj)
| Reporter | ||
Comment 9•6 years ago
|
||
Hey Heng,
The issue isn't present in Linux latest build. I guess its safe to close the issue if Windows too doesn't have the problem
thanks,
Rutu
Flags: needinfo?(ruturaj)
Comment 10•6 years ago
|
||
Hi Honza
Passing on to you to verify if the problem exists on Windows :) Am using Mac here.
Flags: needinfo?(odvarko)
| Assignee | ||
Comment 11•6 years ago
|
||
Tested on Win10 and it works for me, closing.
Thanks to everyone for testing!
Honza
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Flags: needinfo?(odvarko)
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•