nekohayo / specto

Automatically exported from code.google.com/p/specto
0 stars 0 forks source link

associate the notification balloon with the notification icon, or use the new gnome shell notification system #43

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Enable the "Pop toasts from the tray icon when a watch is updated"
preference.
2. Disable the "Always show the icon in the notification area" preference.
3. Confirm that the specto icon does not appear in the notification area
and wait for a new watch notification...

What is the expected output? What do you see instead?

I expected the specto icon to appear and the notification popup to be
aligned with the icon. Instead, the pointy part of the popup seems to be
aligned to the right of the icon, or where it might have been if it were 1
pixel wide perhaps. Perhaps the popup location is being calculated before
the icon is made visible so it is getting the wrong coordinates.

What version of the product are you using? On what operating system?

Specto 0.2.0 on Ubuntu Edgy Eft 6.10

Please provide any additional information below.

My notification area is in the default location (for Ubuntu) in the panel
at the top of the screen, if that matters, which it shouldn't.

Original issue reported on code.google.com by beer...@gmail.com on 16 Feb 2007 at 5:38

GoogleCodeExporter commented 9 years ago
Yeah, I knew about that, and it is indeed caused by the fact that I calculate
coordinates before the tray icon is shown (it is there, but hidden). I did not 
know
how to fix this so far :|

Original comment by nekoh...@gmail.com on 16 Feb 2007 at 8:20

GoogleCodeExporter commented 9 years ago
hey. I actually fixed this in SVN revision 108 or something like that!

Original comment by nekoh...@gmail.com on 30 Jun 2007 at 7:28

GoogleCodeExporter commented 9 years ago

Original comment by nekoh...@gmail.com on 18 Mar 2008 at 2:06

GoogleCodeExporter commented 9 years ago
needs reverification, as the current solution is a hack. The only way I had to 
"fix"
this was an ugly workaround: waiting 1 second before sending out the 
notification
toast, "hoping" that the tray icon would have had the time to appear by then and
provide me with coordinates. According to Colins Walters, "this should be fixed 
now
assuming that you are associating the notification with the status icon".

blog post: http://cgwalters.livejournal.com/17495.html

gtk patch: http://bugzilla.gnome.org/show_bug.cgi?id=535303

notification-daemon patch:
http://cvs.fedoraproject.org/viewcvs/devel/notification-daemon/notification-daem
on-positioning.patch?rev=1.1&view=markup

libnotify patch:
http://cvs.fedoraproject.org/viewcvs/devel/libnotify/libnotify-send-xid-2.patch?
rev=1.1&view=markup

So basically, we need to figure out how to "associate" the notification toast 
with
the notification icon.

Original comment by nekoh...@gmail.com on 20 Jun 2008 at 2:34

GoogleCodeExporter commented 9 years ago

Original comment by nekoh...@gmail.com on 20 Mar 2009 at 12:25

GoogleCodeExporter commented 9 years ago
This 1) is a minor defect 2) may not be as relevant since notify-osd 3) may 
become 
entirely irrelevant when gnome 3.0 comes out with a new notification paradigm.

Thus, lowering the priority as we need to wait and see, I guess.

Original comment by nekoh...@gmail.com on 8 Nov 2009 at 9:08