Open Bug 1640519 Opened 5 years ago Updated 4 years ago

Reader mode toolbar controls get lighter if user hovers away from popover

Categories

(Toolkit :: Reader Mode, defect, P5)

defect

Tracking

()

Tracking Status
firefox78 --- affected

People

(Reporter: yoasif, Unassigned)

References

Details

Attachments

(2 files, 1 obsolete file)

Steps to reproduce:

  1. Open reader mode on a page like https://www.rollingstone.com/politics/politics-features/rudy-giuliani-new-york-trump-997712/
  2. Click on the "type controls" widget
  3. Move mouse pointer over page content (not popover)

What happens:

moving mouse pointer away from the popover causes the toolbar contents to get lighter

Expected result:

The toolbar is active as long as the popover is open, so the toolbar styling should have active styling - the toolbar controls should not fade.

See the three dot menu in the address bar for an example of how this ought to work.

Has STR: --- → yes
Depends on: 1550836

:yoasif, if you think that's a regression, then could you try to find a regression range in using for example mozregression?

The toolbar losing opacity and border when the popover opens is expected - the focus is on the popover/dropdown, closing the popover/dropdown ends that effect.

What's not expected is that hovering within the dropdown/popover brings back opacity on the toolbar; it's a result of this causing :hover styles on the toolbar to match because the popover/dropdown is a child of the toolbar.

FWIW, I don't see the border returning... Can you do a screencast or provide more details about what you mean?

Flags: needinfo?(yoasif)
Summary: Reader mode toolbar border disappears and controls get lighter once popover is opened → Reader mode toolbar continues having hover state while a dropdown is open if mouse is within dropdown
Attached image Screenshot from 2020-05-24 17-35-58.png (obsolete) —

(In reply to :Gijs (he/him) from comment #2)

The toolbar losing opacity and border when the popover opens is expected - the focus is on the popover/dropdown, closing the popover/dropdown ends that effect.

This doesn't feel expected to me. Look at the three dot menu in the address bar - clicking on the menu retains the active styling while the popover is open. It doesn't go from gray to white as soon as the popover is opened.

FWIW, I don't see the border returning... Can you do a screencast or provide more details about what you mean?

The border doesn't return, but I expect it to stay on screen while the popover is shown for the same reason as above.

Flags: needinfo?(yoasif)

See also the styling of extension popups and how the extension button remains "active" while the popover is open on screen.

The styling in the reader view toolbar while the popover is open is unexpected.

(attached the wrong attachment, sorry)

Attachment #9151361 - Attachment is obsolete: true

(In reply to Asif Youssuff from comment #3)

Created attachment 9151361 [details]
Screenshot from 2020-05-24 17-35-58.png

(In reply to :Gijs (he/him) from comment #2)

The toolbar losing opacity and border when the popover opens is expected - the focus is on the popover/dropdown, closing the popover/dropdown ends that effect.

This doesn't feel expected to me. Look at the three dot menu in the address bar - clicking on the menu retains the active styling while the popover is open. It doesn't go from gray to white as soon as the popover is opened.

This was a specific part of the design, and I don't think it's all that unexpected. User focus is on the dropdown, so we de-emphasize the toolbar. Also, clicking a different button will not do anything immediately except close the dropdown. You close the dropdown, the toolbar gets previous style back - though the difference is a bit subtle if you're scrolled down on the page (which will also lose the toolbar its border and reduces its opacity already, except when hovered).

Upon further review, I think that the border disappearing is fine and may actually contribute to making the interaction looking nicer, so scratch that from my feedback.

I disagree however that the opacity should decrease if the user's cursor is over the page -- this is now the active control that spawned a popover, and it doesn't make sense to de-emphasize it like when a user is reading and scrolling down the page.

The UI has now changed again. I don't see any issues here. Asif, can you please re-test in latest Nightly?

Flags: needinfo?(yoasif)

Given that bug 1640508 is a WONTFIX, I'm not sure it makes sense to maintain my objection here. Ideally, we would keep bug 1640508 open as an enhancement or modify the behavior such that it matches platform norms so that we could revisit this.

(If scrolling over the popover or page didn't interrrupt the popup, it makes sense to maintain the opacity on open, otherwise, if the scrolling over any part of the UI interrupts it, I'm not sure that the affordance of maintaining the on-open opacity makes a difference).

Thanks for your consideration!

Flags: needinfo?(yoasif)

This sounds like a P5 for now.

Severity: -- → S4
Priority: -- → P5
Summary: Reader mode toolbar continues having hover state while a dropdown is open if mouse is within dropdown → Reader mode toolbar controls get lighter if user hovers away from popover
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: