Closed Bug 953610 Opened 10 years ago Closed 10 years ago

Do not flash forever on new incoming messages

Categories

(Instantbird Graveyard :: Conversation, enhancement)

x86
Windows XP
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: florian, Unassigned)

Details

*** Original post on bio 163 at 2009-01-13 12:33:00 UTC ***

When a new message arrives and the conversation window is not focused, we call window.getAttention() on the conversation window.

On Windows, this has for effect of making the taskbar entry and the title bar of the window flash forever, which is visually very distracting. It should flash a few times (3 sounds a sensible number, but it's probably better to make this a pref), and after it should stop flashing but the taskbar entry should stay highlighted.

It's pretty easy limit the number of flashes (just call getAttentionWithCycleCount instead of getAttention).

Note to self: the name getAttentionWithCycleCount is misleading, the count parameter actually counts the number of state change, not the number of flash cycles (probably a bug).
*** Original post on bio 163 at 2010-03-03 21:40:04 UTC ***

This works for me. I think it this ( https://bugzilla.mozilla.org/show_bug.cgi?id=313403 ) was the respective bug on Mozilla Bugzilla , fixed with http://hg.mozilla.org/mozilla-central/rev/e783d41a4e4a .
*** Original post on bio 163 at 2010-03-03 22:08:39 UTC ***

(In reply to comment #1)
> This works for me. I think it this (
> https://bugzilla.mozilla.org/show_bug.cgi?id=313403 ) was the respective bug on
> Mozilla Bugzilla , fixed with
> http://hg.mozilla.org/mozilla-central/rev/e783d41a4e4a .

This looks exactly like it, thanks! :)
Resolving as WORKSFORME.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.