nsIAlertsService.showAlertNotification has issues with long title
Categories
(Toolkit Graveyard :: Notifications and Alerts, defect)
Tracking
(firefox111 fixed)
| Tracking | Status | |
|---|---|---|
| firefox111 | --- | fixed |
People
(Reporter: kernp25, Assigned: emilio)
Details
Attachments
(4 files)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/109.0
Steps to reproduce:
Install the test add-on.
Actual results:
Long title gets not rendered correctly (outside the box).
Expected results:
Should maybe truncate the title?
If i put the long title in the message body then everything works as expected.
I put this bug to Notifications and Alerts because notifications.create just calls svc.showAlertNotification.
Maybe you have an idea how to fix this bug?
| Assignee | ||
Comment 4•2 years ago
|
||
Yeah, this is probably a regression, the alert title is supposed to be closed here.
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Comment 5•2 years ago
|
||
| Assignee | ||
Comment 6•2 years ago
|
||
This makes the alert follow prefers-color-scheme properly.
Depends on D168896
Comment 8•2 years ago
•
|
||
Backed out for causing multiple failures (sorry for the wrong commit message)
- Backout link
- Push with failures
- Failure Log
- Failure line: [taskcluster:error] [mounts] Could not fetch from task EJCj4F1_QAGzTFjQnARQEw artifact public/build/mozharness.zip into file Z:\downloads\Dt7OR7-gQEaDAA2yNBzneg due to open Z:\downloads\Dt7OR7-gQEaDAA2yNBzneg: The system cannot find the path specified.
[taskcluster:error] [mounts] open Z:\downloads\Dt7OR7-gQEaDAA2yNBzneg: The system cannot find the path specified.
log 2 https://treeherder.mozilla.org/logviewer?job_id=404850457&repo=autoland
log 3: https://treeherder.mozilla.org/logviewer?job_id=404850533&repo=autoland
Comment 10•2 years ago
|
||
This got relanded, it looks like that is caused by something else. Sorry for the inconvenience
Comment 11•2 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/2e6897140088
https://hg.mozilla.org/mozilla-central/rev/ecb8b141c22b
Updated•2 years ago
|
Updated•2 years ago
|
Description
•