jonbrett / cinnamon-feeds-applet

Cinnamon applet for fetching and displaying RSS feeds
https://jonbrettdev.wordpress.com
20 stars 10 forks source link

Refresh when menu is open results in "stuck" tooltip #16

Closed jonbrett closed 11 years ago

jonbrett commented 11 years ago

To reproduce:

  1. Set the update interval to 1 min in settings
  2. Open the feed menu and hover the mouse over a feed item so that a tooltip appears with the item description
  3. Wait until the applet auto-refreshes and receives new feed items (this will depend on how frequently the feed updates, so it may take some time!)
  4. Menu will close, leaving a "stuck" tooltip which cannot be removed except by restarting Cinnamon

Guess at a possible fix: The Tooltip's destruction needs to be linked to the destruction of the menu item.

pehiv commented 11 years ago

This also occurs if you click on the feed item as the tooltip is loading .. the timing has to be perfect but it happens to me frequently (cinnamon 1.8.8)

jonbrett commented 11 years ago

I have pushed what I think is a fix for the issue (if I have understood the underlying problem correctly). However, it was a little tricky to reproduce the issue for me, so I cannot be sure.

@pehiv Since you were having more success reproducing this problem, please feel free to checkout the latest master branch and see if it is fixed for you.

pehiv commented 11 years ago

That seemed to fix the issue :) I can't get it to repro anymore

jonbrett commented 11 years ago

Great. Thanks for confirming the fix