Improve XUL alerts styling on Linux

NEW
Unassigned

Status

()

5 years ago
6 months ago

People

(Reporter: marco, Unassigned)

Tracking

Trunk
All
Linux
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

They're really ugly at the moment, could we do something to improve their look?
Summary: Improve XUL notifications styling on Linux → Improve XUL alerts styling on Linux
Component: XUL → XUL Widgets
Product: Core → Toolkit
Blocks: 782211
I see three options here:
1) Improve the alert.css and keep using XUL notification, keeping a consistent look between the three platforms.
2) Use a platform-specific nsAlertsService that creates notifications like notification-daemon/notify-osd/whatever (not directly using those services, but using their same "bubble" windows).
3) Use a platform-specific nsAlertsService that uses libnotify and falls back to option 1 or option 2 when the notification server doesn't support features needed for the notifications API.
Depends on: 900842

Comment 2

5 years ago
> 3) Use a platform-specific nsAlertsService that uses libnotify and falls back to
> option 1 or option 2 when the notification server doesn't support features needed
> for the notifications API.

Not that I disagree with you, but the original rationale for removing libnotify support was that it didn't support the features needed for the w3c notifications. So what you are proposing is a NOOP.
(In reply to Philip Chee from comment #2)
> > 3) Use a platform-specific nsAlertsService that uses libnotify and falls back to
> > option 1 or option 2 when the notification server doesn't support features needed
> > for the notifications API.
> 
> Not that I disagree with you, but the original rationale for removing
> libnotify support was that it didn't support the features needed for the w3c
> notifications. So what you are proposing is a NOOP.

Yes, I know, I was proposing to use libnotify for simple notifications and custom alerts when libnotify isn't enough.
No longer depends on: 900842
Depends on: 879921
Bulk move to Toolkit::Notifications and Alerts

Filter on notifications-and-alerts-component.
Component: XUL Widgets → Notifications and Alerts
You need to log in before you can comment on or make changes to this bug.