! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
urgent notification not timing out
Status:
RESOLVED: MOVED
Product:
Xfce4-panel
Component:
Window Buttons

Comments

Description Marcus Moeller 2012-12-02 09:01:44 CET
When an application requests urgent notification, the window button starts to blink until it has been clicked. It would be great if the blinking times out after a while (e.g. 15sec) without the need of clicking the button.
Comment 1 haarp 2013-06-09 21:22:50 CEST
the timeout should definitely be a configuration option! Endlessly blinking buttons are annoying and an usability nightmare.

Also see http://forum.xfce.org/viewtopic.php?id=7989
Comment 2 haarp 2013-09-17 10:24:19 CEST
Created attachment 5152 
Limit blinks

I have had a look at the panel code. There already is a system to limit the number of blinks, but it is set to G_MAXUINT. For all intents and purposes, it might aswell be infinite.

I changed that value to 8, resulting in 4 blinks. However, it seems random whether it stops in a highlighted state (preferred) or not. It also should be a configuration option rather than hardcoded.
Comment 3 haarp 2013-09-21 13:59:40 CEST
Uneven values make it stop in a highlighted state :)
Comment 4 Johan 2013-12-22 21:38:48 CET
\o/ Thanks! \o/
Comment 5 Roman P. 2014-02-24 10:39:43 CET
Is it ever to be included officially?
Comment 6 Alan Ott 2014-09-09 00:14:36 CEST
It seems like other desktops will blink the button some fixed number of times and then stick highlighted until clicked. I don't think we need a config item in the GUI for the number of blinks. Something like the current patch (but using an odd number, to make it stick highlighted) would be perfect, or at least less annoying than the current blink-forever behavior.

The current blink-forever behavior becomes an issue when you're using IM or IRC and get a notification when you're in the middle of a task you don't want to interrupt.
Comment 7 Simon Steinbeiss editbugs 2017-06-21 23:34:51 CEST
*** Bug 8221 has been marked as a duplicate of this bug. ***
Comment 8 John Peterson 2018-08-10 15:42:39 CEST
Any chance the blink limiting could be added to the next release of XFCE? I know it takes time to develop a GUI option to set the number of blinks, but couldn't we just have it set a sensible default for now? Somewhere between 3 to 5 blinks seems tolerable.
Comment 9 Igor Kushnir 2019-08-26 12:09:56 CEST
MAX_BLINKING_COUNT was originally defined as (16) in 2010-2011. Then "fixed" to (G_MAXUINT) because of the "regression" in bug #7583.

In bug #7746 (enhancement) Nick Schermer wrote: "We can do this with style properties". I don't know what he referred to, but he resolved the enhancement as WONTFIX.

I am willing to implement GUI options in Window Buttons settings window to configure this value if Xfce4-panel maintainers don't mind reviewing and eventually merging such a feature. For example, there could be a GtkCheckButton "Limit the number of button blinks", a GtkSpinButton "Maximum button blink count" and another GtkCheckButton "Keep button highlighted after blinking timeout". Alternatively, the GtkSpinButton and the second GtkCheckButton could be merged into one GtkSpinButton with a tooltip explaining how odd/even values affect the final highlighted state. A minimal UI could be a single GtkSpinButton populated by default with the default max blink count (G_MAXUINT).
Comment 10 Git Bot editbugs 2020-05-28 01:44:42 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/xfce4-panel/-/issues/50.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #9571

Reported by:
Marcus Moeller
Reported on: 2012-12-02
Last modified on: 2020-05-28
Duplicates (1):
  • 8221 Windows Menu urgent state notification never ceases in some cases

People

Assignee:
Nick Schermer
CC List:
9 users

Version

Version:
4.10.0

Attachments

Limit blinks (289 bytes, patch)
2013-09-17 10:24 CEST , haarp
no flags

Additional information