Closed Bug 888380 Opened 11 years ago Closed 11 years ago

Alert service notifications shouldn't disappear when hovered

Categories

(Toolkit Graveyard :: Notifications and Alerts, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla27

People

(Reporter: sirnewton_01, Assigned: MattN)

References

Details

Attachments

(1 file, 1 obsolete file)

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:22.0) Gecko/20100101 Firefox/22.0 (Beta/Release)
Build ID: 20130620135945

Steps to reproduce:

Install an add-on that makes use of the add-on sdk notifications API.
Trigger some action that causes a notification to occur.


Actual results:

The notification shows up in a new style from Firefox 21. They disappear too quickly for me to read them fully.


Expected results:

The notifications would ideally show up using the native Linux desktop notification system and stay visible for a little longer than they do now. When I hover over them with my mouse they would remain there until I move my mouse or click on them.
Component: Untriaged → General
Product: Firefox → Add-on SDK
Version: 22 Branch → unspecified
I was under the impression that the SDK notifications just use Firefox's built-in notification API starting in Firefox 22, right Irakli?
Flags: needinfo?(rFobic)
SDK was always using a firefox's built-in notification API. Firefox has switched notifications back-end so I'd just forward all such bugs to firefox notifications.
Flags: needinfo?(rFobic)
Moving to Firefox, in that case.
Product: Add-on SDK → Firefox
(In reply to Chris McGee from comment #0)
> The notifications would ideally show up using the native Linux desktop
> notification system and stay visible for a little longer than they do now.

Bug 858919 covers libnotify integration and bug  

> When I hover over them with my mouse they would remain there until I move my
> mouse or click on them.

I'm morphing this bug to cover this enhancement which I don't see an existing bug on.
Assignee: nobody → mnoorenberghe+bmo
Severity: normal → enhancement
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
OS: Linux → All
Product: Firefox → Toolkit
Hardware: x86_64 → All
Summary: Firefox 22 add-on notifications disappear too quickly on Linux → Alert service notifications shouldn't disappear when hovered
Growl on OS X does this and comment 0 says at least some type of Linux notifications do this.

It's especially bad without this patch when a notification disappears from under your mouse when trying to click on it.
Attachment #798261 - Flags: review?(jaws)
Comment on attachment 798261 [details] [diff] [review]
v.1 Pause the CSS animation on :hover

I forgot to mention that I manually tested this on 10.7, Windows 7, and Fedora 18.
Comment on attachment 798261 [details] [diff] [review]
v.1 Pause the CSS animation on :hover

Review of attachment 798261 [details] [diff] [review]:
-----------------------------------------------------------------

This is great! Can we also force opacity:1 when it is hovered?
Attachment #798261 - Flags: review?(jaws) → review+
Attached patch Patch v.11 (obsolete) — Splinter Review
Setting opacity:1 doesn't get applied but it does work when !important is used. I tested this out by making the fade out start at 50% of the animation duration.
Attachment #800896 - Flags: review?(mnoorenberghe+bmo)
Comment on attachment 800896 [details] [diff] [review]
Patch v.11

It seems like the opacity change should go in the theme files with the others. Would that also avoid the !important? I'll just land my patch for now and we can handle opacity in a follow-up since it's a small edge-case to hover during the short opacity animation.
Attachment #800896 - Attachment is obsolete: true
Attachment #800896 - Flags: review?(mnoorenberghe+bmo)
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/51d151978c2b
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → mozilla27
Depends on: 1184790
Component: General → Notifications and Alerts
Product: Toolkit → Toolkit Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: