Closed Bug 1178422 Opened 9 years ago Closed 6 years ago

Badged menu-buttons on Windows don't highlight

Categories

(Firefox :: Toolbars and Customization, defect)

defect
Not set
normal

Tracking

()

RESOLVED WONTFIX
Tracking Status
firefox42 --- affected

People

(Reporter: mkaply, Assigned: mkaply)

Details

Attachments

(2 files)

If you create a badged menu-button, hovering over it doesn't show the highlight.

I have a patch for this.
> I have a patch for this.

That's nice. Can we have it, too? ;-)
Assignee: nobody → mozilla
(In reply to Ben Bucksch (:BenB) from comment #1)
> > I have a patch for this.
> 
> That's nice. Can we have it, too? ;-)

Where do you think the patch came from? :)


This adds in the missing cases. Basically anywhere there was a .toolbarbutton-menubutton-button > .toolbarbutton-icon, it should have had a .toolbarbutton-menubutton-button > .toolbarbutton-badge-container as well.
Attachment #8627367 - Flags: review?(gijskruitbosch+bugs)
I'm sorry for not reviewing this within my normal deadline of 24 hours, I'm still getting out of whistler backlog (and having to deal with MS releasing win10 updates all the time).

Do you have an add-on that I can test this with? The CSS looks fine, but I'd like to actually see it apply to something, and I don't have usable badged menu buttons.
Flags: needinfo?(mozilla)
Comment on attachment 8627367 [details] [diff] [review]
Add in missing cases

It's hard to be sure without a testcase, but I expect this will also need changes in panelUIOverlay.(inc.)css , and maybe devedition CSS to not break stuff just in that theme.
Attachment #8627367 - Flags: review?(gijskruitbosch+bugs)
> Do you have an add-on that I can test this with? The CSS looks fine, but I'd like to actually see it apply to something, and I don't have usable badged menu buttons.

I'll get a test add-on together.
Flags: needinfo?(mozilla)
Attached file Test XPI
Here's an XPI to test with.

It adds a toolbar and nav buttons to compare.

Underneath the menus are menuitems that let you remove the badges to compare.

Not sure if you are using HiRes Windows or not, but there is some weirdness around the icons on the nav bar disappearing when you turn off the badges. Investigating that as a separate issue.
And this only works on nightly. For some reason on FF38, adding badges to any button with  menus makes the dropmarker disappear? I'm at a loss.
(In reply to Mike Kaply [:mkaply] from comment #7)
> And this only works on nightly. For some reason on FF38, adding badges to
> any button with  menus makes the dropmarker disappear? I'm at a loss.

Didn't the badged-menubutton support not land until quite recently, so it's not in Fx38? bug 1157688 is marked fixed in 40, but not 39 or 38, so that makes sense to me...

(In reply to :Gijs Kruitbosch from comment #4)
> It's hard to be sure without a testcase, but I expect this will also need
> changes in panelUIOverlay.(inc.)css , and maybe devedition CSS to not break
> stuff just in that theme.

Were you planning on changing the patch to address this feedback?
Flags: needinfo?(mozilla)
(In reply to :Gijs Kruitbosch from comment #8)
> (In reply to :Gijs Kruitbosch from comment #4)
> > It's hard to be sure without a testcase, but I expect this will also need
> > changes in panelUIOverlay.(inc.)css , and maybe devedition CSS to not break
> > stuff just in that theme.
> 
> Were you planning on changing the patch to address this feedback?

(just so we're clear, not trying to push, just wondering if I need to re-review right now or wait)
> Didn't the badged-menubutton support not land until quite recently, so it's not in Fx38? bug 1157688 is marked fixed in 40, but not 39 or 38, so that makes sense to me...

Yes, but even regular menu buttons get their dropmarkers dropped. It's weird.

> Were you planning on changing the patch to address this feedback?

Yes. Let me see if anything else is needed before reviewing.

tx
Flags: needinfo?(mozilla)
(In reply to Mike Kaply [:mkaply] from comment #10)
> > Didn't the badged-menubutton support not land until quite recently, so it's not in Fx38? bug 1157688 is marked fixed in 40, but not 39 or 38, so that makes sense to me...
> 
> Yes, but even regular menu buttons get their dropmarkers dropped. It's weird.

Err, that's a regression, I'm 99% sure - we did quite a bit of work to make that work for Australis... Can you file a separate bug and needinfo me? (bonus points if you have an easy testcase for a non-badged menu button as well...)

> > Were you planning on changing the patch to address this feedback?
> 
> Yes. Let me see if anything else is needed before reviewing.

Perfect, thanks!
bug 1029937 is going to bitrot things here, but it might help you a bit. Hopefully.
(In reply to :Gijs Kruitbosch from comment #12)
> bug 1029937 is going to bitrot things here, but it might help you a bit.
> Hopefully.

Yeah, I'm quite happy with Neil's changes. Should make things a little better.
Per policy at https://wiki.mozilla.org/Bug_Triage/Projects/Bug_Handling/Bug_Husbandry#Inactive_Bugs. If this bug is not an enhancement request or a bug not present in a supported release of Firefox, then it may be reopened.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INACTIVE
Related to old style extensions.
Resolution: INACTIVE → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: