After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 648633 - gnome-shell notification pop-ups do not emit object:state-changed:showing
gnome-shell notification pop-ups do not emit object:state-changed:showing
Status: RESOLVED FIXED
Product: clutter
Classification: Platform
Component: cally
unspecified
Other Linux
: Normal normal
: ---
Assigned To: clutter-maint
clutter-maint
Depends on:
Blocks: 648646
 
 
Reported: 2011-04-25 18:45 UTC by Joanmarie Diggs (IRC: joanie)
Modified: 2011-08-04 13:29 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
test script (431 bytes, text/x-python)
2011-04-25 18:45 UTC, Joanmarie Diggs (IRC: joanie)
  Details
Proposed patch (876 bytes, patch)
2011-08-04 10:52 UTC, Alejo Pacín Jul
committed Details | Review

Description Joanmarie Diggs (IRC: joanie) 2011-04-25 18:45:55 UTC
Created attachment 186610 [details]
test script

Steps to reproduce:

1. Run the attached script.
2. Cause a notification (e.g. incoming chat message) to pop up in gnome-shell.

Expected results: An object:state-changed:showing event would be seen in addition to object:state-changed:visible.

Actual results: (See below). object:state-changed:showing is not emitted.

object:state-changed:visible(1, 0, 0)
	source: [panel | ]
	host_application: [canvas | Stage]
has showing: True
has visible: True
object:state-changed:visible(0, 0, 0)
	source: [panel | ]
	host_application: [canvas | Stage]
has showing: True
has visible: False
Comment 1 Alejandro Piñeiro Iglesias (IRC: infapi00) 2011-04-25 18:52:15 UTC
Just to not forget that, as we were talking about this via IRC:

After a quick check, the problem here is that although cally-actor takes into account ATK_STATE_SHOWING on ref_state_set, I forget to add the equivalent code on the notify_clutter code.

So the description can be "CallyActor doesnt notify changes on ATK_STATE_SHOWING", but lets keep the current description, as explain how to reproduce it.

BTW, this code has a related commit waiting to be applied, so I will work based on that:

http://gitorious.org/clutter-cally/clutter-cally/commit/864034df1654509247adc5cbdfff2567a2fcd107
Comment 2 Alejandro Piñeiro Iglesias (IRC: infapi00) 2011-07-26 14:25:56 UTC
(In reply to comment #1)

> BTW, this code has a related commit waiting to be applied, so I will work based
> on that:
> 
> http://gitorious.org/clutter-cally/clutter-cally/commit/864034df1654509247adc5cbdfff2567a2fcd107

This commit was just applied on master.
Comment 3 Alejo Pacín Jul 2011-08-04 10:52:15 UTC
Created attachment 193238 [details] [review]
Proposed patch

Please, revise and apply it.
Comment 4 Alejandro Piñeiro Iglesias (IRC: infapi00) 2011-08-04 11:04:24 UTC
Review of attachment 193238 [details] [review]:

The patch seems ok, but the description is not fine.

That line should be descriptive by his own, so anyone looking at the log could know more or less the purpose of the commit without looking at bugzilla.

As you don't have account, I will modify that line by myself. Take this for the future.