Closed Bug 1706777 Opened 4 years ago Closed 4 years ago

Download Panel "find in folder" button is missing hover/active state

Categories

(Firefox :: Downloads Panel, defect, P2)

defect

Tracking

()

RESOLVED FIXED
90 Branch
Tracking Status
firefox89 --- fixed
firefox90 --- fixed

People

(Reporter: mconley, Assigned: mconley)

References

(Blocks 1 open bug)

Details

(Whiteboard: [proton-door-hangers] [priority:2a])

Attachments

(1 file)

According to the specification, if the user is hovering the "Find in folder" button, then it should use the "ghost button" hover/active states. If they're hovering any other part of the download item, then the entire download item should show the current hover state.

I'm not 100% sure this can be done with CSS - the cascade doesn't let us affect the state of the containing download item element when hovering the child find-in-folder item.

Turns out we must have been dealing with this before - a .downloadHoveringButton class is applied on the root richlistitem when hovering the button.

Assignee: nobody → mconley
Priority: -- → P2
Whiteboard: [proton-door-hangers] → [proton-door-hangers] [priority:2a]
See Also: → 1708278
Pushed by mconley@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/39959393568c Apply ghost-button styling to Downloads Panel's Show In Folder button. r=mak,desktop-theme-reviewers,harry

Hi Mike, it seems that hover effect is also missing for the cancel and retry buttons, will these issues be fixed with this patch? Otherwise, we can file separate bugs to track them.

Flags: needinfo?(mconley)
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 90 Branch

Yes, this should address that too.

Flags: needinfo?(mconley)

Comment on attachment 9217912 [details]
Bug 1706777 - Apply ghost-button styling to Downloads Panel's Show In Folder button. r?mak!

Beta/Release Uplift Approval Request

  • User impact if declined: Required for MR1 / Proton
  • Is this code covered by automated tests?: No
  • Has the fix been verified in Nightly?: No
  • Needs manual test from QE?: No
  • If yes, steps to reproduce:
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): A very simple almost CSS-only patch that carries forward some pre-Proton rules for download panel buttons.
  • String changes made/needed: None.
Attachment #9217912 - Flags: approval-mozilla-beta?

Comment on attachment 9217912 [details]
Bug 1706777 - Apply ghost-button styling to Downloads Panel's Show In Folder button. r?mak!

Approved for 89 beta 6, thanks.

Attachment #9217912 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Regressions: 1715001
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: