Closed Bug 1465696 Opened 7 years ago Closed 6 years ago

Search filter's help logo jumping / incorrectly placed

Categories

(DevTools :: Netmonitor, defect, P2)

defect

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.
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
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.
I forgot `Need More Info` flag
Flags: needinfo?(odvarko)
@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
Attached video jumping.mp4
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)
Product: Firefox → DevTools

Hi Ruturaj

The incorrect position seems to be fixed on Mac. Can you verify if the issue with Linux still exists?

Flags: needinfo?(ruturaj)

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)

Hi Honza

Passing on to you to verify if the problem exists on Windows :) Am using Mac here.

Flags: needinfo?(odvarko)

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.

Attachment

General

Creator:
Created:
Updated:
Size: