Closed Bug 1690417 Opened 5 years ago Closed 4 years ago

Tooltip appears under Reader mode menu

Categories

(Toolkit :: Reader Mode, defect, P5)

Firefox 86
Desktop
All
defect

Tracking

()

RESOLVED FIXED
91 Branch
Tracking Status
firefox91 --- fixed

People

(Reporter: mathew.hodson, Assigned: mathew.hodson)

References

Details

Attachments

(3 files)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:86.0) Gecko/20100101 Firefox/86.0

Steps to reproduce:

  1. Go to https://getpocket.com/explore/item/the-science-of-good-chocolate
  2. Click the Type controls button to open the menu
  3. Hover over the Pocket button

Actual results:

The tooltip for the Pocket button is under the menu.

Expected results:

Tooltips should have a consistent appearance.

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: Untriaged → New Tab Page

The tooltips for the other buttons were hidden in bug 1655402, but I think it would be more consistent if the tooltips were just on top of the menu. That's how it works for other menus like the main Firefox menu.

Component: New Tab Page → Reader Mode
Product: Firefox → Toolkit
Depends on: 1680604
See Also: → 1655402

I'd take a patch for this. Mathew, don't suppose you have an interest in providing one? :-)

Severity: -- → S4
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: needinfo?(mathew.hodson)
OS: Unspecified → All
Priority: -- → P5
Hardware: Unspecified → Desktop

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

I'd take a patch for this. Mathew, don't suppose you have an interest in providing one? :-)

Which approach? To just hide the tooltip for the Pocket button or make all of them visible on top of the menu?

Flags: needinfo?(mathew.hodson) → needinfo?(gijskruitbosch+bugs)

(In reply to Mathew Hodson from comment #5)

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

I'd take a patch for this. Mathew, don't suppose you have an interest in providing one? :-)

Which approach? To just hide the tooltip for the Pocket button or make all of them visible on top of the menu?

I think hiding only the tooltip of the currently open menu (because showing that one makes no real sense and will likely make the initial opening of the menu look odd) and adding a shadow around the others and showing them on top of the menu would make sense. Does that sound right?

Flags: needinfo?(gijskruitbosch+bugs) → needinfo?(mathew.hodson)

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

I think hiding only the tooltip of the currently open menu (because showing that one makes no real sense and will likely make the initial opening of the menu look odd) and adding a shadow around the others and showing them on top of the menu would make sense. Does that sound right?

That sounds good to me. I can try to write a patch, but it might be awhile since I don't have space for the repo right now.

Flags: needinfo?(mathew.hodson)

Don't show the tooltip of the currently open dropdown button
so that the opening of the dropdown popup doesn't look odd.

Assignee: nobody → mathew.hodson
Status: NEW → ASSIGNED

Can you help me land this patch?

Flags: needinfo?(jaws)
Pushed by ntim.bugs@gmail.com: https://hg.mozilla.org/integration/autoland/rev/d806baa4c336 Show tooltips when a reader mode dropdown is open. r=desktop-theme-reviewers,harry
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 91 Branch

(Sorry, it appears that the patch here being created happened to coincide with me being on PTO, which I imagine didn't make things easier. But I'm glad this landed - thank you!)

Flags: needinfo?(jaws)
QA Whiteboard: [qa-91b-p2]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: