Home Forums Wiki Doc Install Extras Screenshots Source Code Projects Blog Users Groups Register
Glx-Dock / Cairo-Dock List of forums Problems at use | Problèmes à l'utilisation Animation of applications demanding attention lasts forever
The latest stable release is the *3.4.0* : How to install it here.
Note: We just switched from BZR to Git on Github! (only to host the code and your future pull requests)
Problems at use | Problèmes à l'utilisation

Subjects Author Language Messages Last message
[Locked] Animation of applications demanding attention lasts forever
Lunatico English 15 fabounet [Read]
03 December 2013 à 16:44

Lunatico, Friday 01 November 2013 à 14:30


Subscription date : 02 September 2012
Messages : 38
    • The version of Cairo-Dock ('cairo-dock -v' in a terminal).
3.3.2
    • Your GNU/Linux distribution (Debian, Ubuntu, Fedora, etc.).
Linux Mint 14 32-bit
    • Or you using OpenGL or not.
Yes.
    • Your Desktop Environment (Gnome, KDE, XFCE, etc.).

Cinnamon.

Hi,

I'm not sure if this is something that I just noticed now or if it's something that was introduced with a recent update. It's very annoying so I'd say I would have noticed.

When ever I get a new email (Thunderbird) or a new IM (Pidgin) the icon on the dock bounces forever. As far as I can tell from the settings I have it configured to only bound for 10 seconds.
It will only stop bouncing when the application gains focus.

Under Configuration -> Taskbar -> Interaction, I have duration of dialog set to 10 seconds.

Is there any other place where this gets configured?

Thanks!

Lunatico, Monday 04 November 2013 à 17:21


Subscription date : 02 September 2012
Messages : 38
I changed the subject from 'Thunderbird icon bounces forever on new email' to 'Animation of applications demanding attention lasts forever' this is not just with Thunderbird.

Lunatico, Wednesday 06 November 2013 à 12:59


Subscription date : 02 September 2012
Messages : 38
Today my Thunderbird icon started bouncing demanding attention but even after I gave focus to the window, I even closed TB and the icon kept bouncing. Could there really be an issue here?

fabounet, Wednesday 13 November 2013 à 15:56


Subscription date : 30 November 2007
Messages : 17118
Hi,

normally, an application sends a demand of attention, and the dock/panel displays it until the application removes the demand
in case of a messenger, it will remove it when you read the message, which usually coincides with focusing the window (and the dock stops displaying the demand when the window gains focus any way)

so, it's normal that an icon bounces forever (and I think other panels follow the same convention)
the duration in the configuration is only for the dialog bubble (maybe it's misleading ?)
if you don't want an application to demand your attention, you should tell it (I think such an option exists in Pidgin, not sure for TB).

about the last post, it shouldn't happen; do you have a way to reproduce it ?

Lunatico, Wednesday 13 November 2013 à 19:02


Subscription date : 02 September 2012
Messages : 38
Thanks for your reply.

fabounet :
about the last post, it shouldn't happen; do you have a way to reproduce it ?


Don't have a way to reproduce. I haven't seen it happen again. I'll keep an eye.

Lunatico, Wednesday 20 November 2013 à 11:21


Subscription date : 02 September 2012
Messages : 38
fabounet :

if you don't want an application to demand your attention, you should tell it (I think such an option exists in Pidgin, not sure for TB).


You see, that's the thing, TB does have this and I have it configured for 10 seconds. That's probably why this only started bothering me now, because this used to work.

http://s13.postimg.org/wlmofhm07/screenshot_area_2013_11_20_10_17_38.png

fabounet, Wednesday 20 November 2013 à 16:48


Subscription date : 30 November 2007
Messages : 17118
with the same version of TB ?
then, the log can maybe help us:
cairo-dock -l debug > log.txt, then reproduce the bug and post the file log.txt here
we should be able to see if the dock receives the "stop demanding attention" signal from TB

Lunatico, Tuesday 26 November 2013 à 18:03


Subscription date : 02 September 2012
Messages : 38
fabounet :
with the same version of TB ?


Might be a different TB version... there have been a few updates that have come in in the past months.

In the logs all I see is:

debug : (/build/buildd/cairo-dock-3.3.2/src/implementations/cairo-dock-X-manager.c:_set_demand_attention:319)
0; (null)/Inbox - Cisco - Mozilla Thunderbird
debug : (/build/buildd/cairo-dock-3.3.2/src/gldit/cairo-dock-applications-manager.c:_on_window_attention_changed:187)
Inbox - Cisco - Mozilla Thunderbird demande votre attention
debug : (/build/buildd/cairo-dock-3.3.2/src/gldit/cairo-dock-application-facility.c:gldi_appli_icon_demands_attention:96)
gldi_appli_icon_demands_attention (Inbox - Cisco - Mozilla Thunderbird, (nil))
debug : (/build/buildd/cairo-dock-3.3.2/src/gldit/cairo-dock-application-facility.c:_gldi_appli_icon_demands_attention:46)
_gldi_appli_icon_demands_attention (Inbox - Cisco - Mozilla Thunderbird, force:0)
debug : (/build/buildd/cairo-dock-3.3.2/src/gldit/cairo-dock-dialog-factory.c:gldi_dialog_new:607)
gldi_dialog_new (Inbox - Cisco - Mozilla Thunderbird, same icon, 0, 0, (0x9860bd8;0x9793300))
message : (/build/buildd/cairo-dock-3.3.2/src/gldit/cairo-dock-backends-manager.c:cairo_dock_set_dialog_decorator_by_name:411)
cairo_dock_set_dialog_decorator_by_name (tooltip)
message : (/build/buildd/cairo-dock-3.3.2/src/gldit/cairo-dock-animations.c:gldi_icon_start_animation:243)
gldi_icon_start_animation (Inbox - Cisco - Mozilla Thunderbird, 1)
debug : (/build/buildd/cairo-dock-plug-ins-3.3.2/Dbus/src/interface-main-query.c:_check_icon_matching:253)
found icon Inbox - Cisco - Mozilla Thunderbird
debug : (/build/buildd/cairo-dock-plug-ins-3.3.2/Dbus/src/interface-main-query.c:_check_icon_matching:253)
found icon Inbox - Cisco - Mozilla Thunderbird
message : (/build/buildd/cairo-dock-3.3.2/src/implementations/cairo-dock-X-manager.c:_on_update_applis_list:293)
cette fenetre (39845919) de la pile n'est pas dans la liste
debug : (/build/buildd/cairo-dock-3.3.2/src/implementations/cairo-dock-X-utilities.c:cairo_dock_xwindow_is_fullscreen_or_hidden_or_maximized:1340)
this appli should not be in taskbar anymore
debug : (/build/buildd/cairo-dock-3.3.2/src/implementations/cairo-dock-X-manager.c:_make_new_actor:169)
a shy window
message : (/build/buildd/cairo-dock-3.3.2/src/implementations/cairo-dock-X-manager.c:_remove_old_applis:262)
cette fenetre (39845919, 0x9e0e708, (null)) est trop vieille (9 / 10)
debug : (/build/buildd/cairo-dock-3.3.2/src/implementations/cairo-dock-X-manager.c:_unset_demand_attention:337)
4; Inbox - Cisco - Mozilla Thunderbird/Inbox - Cisco - Mozilla Thunderbird
debug : (/build/buildd/cairo-dock-3.3.2/src/gldit/cairo-dock-applications-manager.c:_on_window_attention_changed:195)
Inbox - Cisco - Mozilla Thunderbird se tait
debug : (/build/buildd/cairo-dock-3.3.2/src/gldit/cairo-dock-animations.c:gldi_icon_stop_attention:313)
gldi_icon_stop_attention (Inbox - Cisco - Mozilla Thunderbird)
message : (/build/buildd/cairo-dock-plug-ins-3.3.2/illusion/src/applet-notifications.c:cd_illusion_free_data:212)

message : (/build/buildd/cairo-dock-plug-ins-3.3.2/icon-effect/src/applet-notifications.c:cd_icon_effect_free_data:319)

message : (/build/buildd/cairo-dock-3.3.2/src/gldit/cairo-dock-animations.c:gldi_icon_start_animation:243)
gldi_icon_start_animation (Inbox - Cisco - Mozilla Thunderbird, 1)


The logs have no timestamps, how can you tell how long it's taking? After about 30 seconds I gave focus to the Window.

Thanks!

fabounet, Thursday 28 November 2013 à 17:17


Subscription date : 30 November 2007
Messages : 17118
debug : (/build/buildd/cairo-dock-plug-ins-3.3.2/Dbus/src/interface-main-query.c:_check_icon_matching:253)
found icon Inbox - Cisco - Mozilla Thunderbird


this indicates that someone sent a Dbus command to the dock about the TB icon
there is no log of what the command was though, I should probably add some, but we can assume TB did

then the "demanding attention" flag is removed on the TB window, and the animations stops:
debug : (/build/buildd/cairo-dock-3.3.2/src/implementations/cairo-dock-X-manager.c:_unset_demand_attention:337)
4; Inbox - Cisco - Mozilla Thunderbird/Inbox - Cisco - Mozilla Thunderbird
debug : (/build/buildd/cairo-dock-3.3.2/src/gldit/cairo-dock-applications-manager.c:_on_window_attention_changed:195)
Inbox - Cisco - Mozilla Thunderbird se tait
debug : (/build/buildd/cairo-dock-3.3.2/src/gldit/cairo-dock-animations.c:gldi_icon_stop_attention:313)
gldi_icon_stop_attention (Inbox - Cisco - Mozilla Thunderbird)
message : (/build/buildd/cairo-dock-plug-ins-3.3.2/icon-effect/src/applet-notifications.c:cd_icon_effect_free_data:319)


I think the last line is the focus animation that starts, but at this point the animation has already stopped:

message : (/build/buildd/cairo-dock-3.3.2/src/gldit/cairo-dock-animations.c:gldi_icon_start_animation:243)
gldi_icon_start_animation (Inbox - Cisco - Mozilla Thunderbird, 1)


so as far as I can tell, the dock seems to behave correctly, it receives the stop message from X and stops the animation

Lunatico, Thursday 28 November 2013 à 18:14


Subscription date : 02 September 2012
Messages : 38
fabounet :
so as far as I can tell, the dock seems to behave correctly, it receives the stop message from X and stops the animation


I'm still confused... that was me who gave focus to the TB window, it didn't stop after 10 seconds as configured. Are we saying the bug is in TB?

fabounet, Friday 29 November 2013 à 10:57


Subscription date : 30 November 2007
Messages : 17118
it's not easy to say because I'm not sure which parts of the log are connected
however, the dock does receive a signal from X saying TB window doesn't demand the attention any more, and stops the animation (it seems to be related, but it maybe occured later)
what could be nice is the same debug, but without giving focus to TB window

Lunatico, Friday 29 November 2013 à 17:15


Subscription date : 02 September 2012
Messages : 38
fabounet :
it's not easy to say because I'm not sure which parts of the log are connected
however, the dock does receive a signal from X saying TB window doesn't demand the attention any more, and stops the animation (it seems to be related, but it maybe occured later)
what could be nice is the same debug, but without giving focus to TB window :)


Sure, here you go:

debug : (/build/buildd/cairo-dock-3.3.2/src/implementations/cairo-dock-X-manager.c:_set_demand_attention:319)
0; (null)/Inbox - Cisco - Mozilla Thunderbird
debug : (/build/buildd/cairo-dock-3.3.2/src/gldit/cairo-dock-applications-manager.c:_on_window_attention_changed:187)
Inbox - Cisco - Mozilla Thunderbird demande votre attention
debug : (/build/buildd/cairo-dock-3.3.2/src/gldit/cairo-dock-application-facility.c:gldi_appli_icon_demands_attention:96)
gldi_appli_icon_demands_attention (Inbox - Cisco - Mozilla Thunderbird, (nil))
debug : (/build/buildd/cairo-dock-3.3.2/src/gldit/cairo-dock-application-facility.c:_gldi_appli_icon_demands_attention:46)
_gldi_appli_icon_demands_attention (Inbox - Cisco - Mozilla Thunderbird, force:0)
debug : (/build/buildd/cairo-dock-3.3.2/src/gldit/cairo-dock-dialog-factory.c:gldi_dialog_new:607)
gldi_dialog_new (Inbox - Cisco - Mozilla Thunderbird, same icon, 0, 0, (0xa04f368;0x9f7fc00))
message : (/build/buildd/cairo-dock-3.3.2/src/gldit/cairo-dock-backends-manager.c:cairo_dock_set_dialog_decorator_by_name:411)
cairo_dock_set_dialog_decorator_by_name (tooltip)
message : (/build/buildd/cairo-dock-3.3.2/src/gldit/cairo-dock-animations.c:gldi_icon_start_animation:243)
gldi_icon_start_animation (Inbox - Cisco - Mozilla Thunderbird, 1)
message : (/build/buildd/cairo-dock-3.3.2/src/implementations/cairo-dock-X-manager.c:_on_update_applis_list:293)
cette fenetre (39845941) de la pile n'est pas dans la liste
debug : (/build/buildd/cairo-dock-3.3.2/src/implementations/cairo-dock-X-utilities.c:cairo_dock_xwindow_is_fullscreen_or_hidden_or_maximized:1340)
this appli should not be in taskbar anymore
debug : (/build/buildd/cairo-dock-3.3.2/src/implementations/cairo-dock-X-manager.c:_make_new_actor:169)
a shy window
debug : (/build/buildd/cairo-dock-plug-ins-3.3.2/Dbus/src/interface-main-query.c:_check_icon_matching:253)
found icon Inbox - Cisco - Mozilla Thunderbird
debug : (/build/buildd/cairo-dock-plug-ins-3.3.2/Dbus/src/interface-main-query.c:_check_icon_matching:253)
found icon Inbox - Cisco - Mozilla Thunderbird

fabounet, Tuesday 03 December 2013 à 11:06


Subscription date : 30 November 2007
Messages : 17118
is that all, even after 30 seconds ?
we clearly see that we get no signal from X to stop the animation

we see the window demanding the attention, and someone triggering an action on the TB icon from DBus
but we don't see any call to _unset_demand_attention like in the previous log

so I would say that the problem is outside of the dock (probably in TB, if it's supposed to stop demanding the attention automatically)

matttbe, Tuesday 03 December 2013 à 15:04


Subscription date : 24 January 2009
Messages : 12573
Or maybe the dock should stop the animations after a very long delay? (as workaround)

Lunatico, Tuesday 03 December 2013 à 15:24


Subscription date : 02 September 2012
Messages : 38
matttbe :
Or maybe the dock should stop the animations after a very long delay? (as workaround)


Yeah maybe it should... It's very weird, I just went into TB preferences and disabled new message alerts and now when I receive new emails the dock icon is still bouncing forever until I give the TB window focus.

http://s18.postimg.org/lnz2mzg15/screenshot_area_2013_12_03_14_19_15.png

fabounet, Tuesday 03 December 2013 à 16:44


Subscription date : 30 November 2007
Messages : 17118
Or maybe the dock should stop the animations after a very long delay? (as workaround)

but then you might miss some notifications

what if you try with the cinnamon panel ? (if it report such signals)

Problems at use | Problèmes à l'utilisation

Subjects Author Language Messages Last message
[Locked] Animation of applications demanding attention lasts forever
Lunatico English 15 fabounet [Read]
03 December 2013 à 16:44


Glx-Dock / Cairo-Dock List of forums Problems at use | Problèmes à l'utilisation Animation of applications demanding attention lasts forever Top

Online users :

Powered by ElementSpeak © 2007 Adrien Pilleboue, 2009-2013 Matthieu Baerts.
Dock based on CSS Dock Menu (Ndesign) with jQuery. Icons by zgegball
Cairo-Dock is a free software under GNU-GPL3 licence. First stable version created by Fabounet.
Many thanks to TuxFamily for the web Hosting and Mav for the domain name.