Closed Bug 577930 Opened 14 years ago Closed 3 years ago

Linux styling of menu buttons in popup notifications

Categories

(Toolkit :: Themes, enhancement)

All
Linux
enhancement
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: Terepin, Unassigned)

References

Details

(Whiteboard: [doorhanger])

Attachments

(2 files, 2 obsolete files)

User-Agent:       Mozilla/5.0 (Windows; Windows NT 6.1; WOW64; sk; rv:2.0b2pre) Gecko/20100710 Minefield/4.0b2pre
Build Identifier: Mozilla/5.0 (Windows; Windows NT 6.1; WOW64; sk; rv:2.0b2pre) Gecko/20100710 Minefield/4.0b2pre

Doorhanger is using grey pop-up with squareish buttons.

Reproducible: Always
Blocks: 577927
Version: unspecified → Trunk
Status: UNCONFIRMED → NEW
Ever confirmed: true
Attached patch wip (obsolete) — Splinter Review
Using -moz-appearance: menulist; on the button makes it fit in with the current theme. However, to avoid showing two dropmarkers, I need to hide the dropmarker that the split button adds, which is kind of sketchy. Clicking on different parts of the button seems to work as expected, but this doesn't seem like the correct approach.
Assignee: nobody → margaret.leibovic
Attached image wip screenshot
This doesn't match the mockup, but the mockup doesn't match the rest of the current theme, like the menulist buttons in the edit bookmark panel, so maybe there should be another bug to universally update these buttons to avoid inconsistencies.
Attachment #479858 - Flags: feedback?(shorlander)
Attachment #479856 - Flags: feedback?(dao)
Attached patch wip v2 (obsolete) — Splinter Review
This patch still needs the correct background coloring, but it has the correct active states for the left/right sides of the button.
Attachment #479856 - Attachment is obsolete: true
Attachment #479856 - Flags: feedback?(dao)
Attached patch wip v2Splinter Review
Whoops, I uploaded the wrong version of the patch.
Attachment #480307 - Attachment is obsolete: true
Depends on: 604257
Bug 604257 and bug 408284 make it sound like the arrows are a challenge. Stephen, should we make a contingency plan in case we can't get arrow panels to work on linux? Is there anything we can do to make the rectangular panels better?
blocking2.0: --- → ?
Assignee: margaret.leibovic → shorlander
shorlander - are the changes here blocking?
(In reply to comment #7)
> shorlander - are the changes here blocking?

They should block, but I am not sure how this bug differs from bug 604257 (which is blocking final+).
The diversity of Gtk themes makes this potentially delicate; I don't think we can block on it. We need to test the patch with a range of setups and take it if it works and leave it if it doesn't.
Can't make a blocking call until the question in comment #8 is answered.
I'm updating the bug summary to make this bug about the button styling for the doorhanger notifications, so this bug is the linux version of bug 577928. The patch for this bug should just involve adding those button style rules to gnomestripe/global/notification.css.

Bug 604257 is about general arrow panel stying, which should add the arrows and general panel styling to gnomestripe/global/popup.css.

I think it's best to keep these bugs separate, for the sake of easier reviewing.
Summary: Linux specific styling of Doorhanger → Linux styling of menu buttons in popup notifications
blocking2.0: ? → betaN+
Component: Theme → Themes
Product: Firefox → Toolkit
QA Contact: theme → themes
bug 621395 improved the default styling for these buttons on Linux, so this probably doesn't need to block anymore.
blocking2.0: betaN+ → ---
These buttons *just* became weirder-looking than they've been in a long time, though, as described in bug 621465...  You duped that to this bug, but perhaps that regression should block?
Ah, my bad -- looks like bug 621395 (which Dão mentioned in comment 13) landed this morning, so its effects won't show up in nightlies until tomorrow, which is why I thought bug 621465 was still an issue.

I just tried an updated-to-now mozilla-central local build and confirmed that the buttons look much nicer now.  Thanks Dao!
Whiteboard: [doorhanger]
Attachment #479858 - Flags: feedback?(shorlander)

Doorhangers have been restyled many times since this was filed.

Assignee: stephen → nobody
Status: NEW → RESOLVED
Type: defect → enhancement
Closed: 3 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: