Bug 608372 - mail-notification popup is in the wrong place
Summary: mail-notification popup is in the wrong place
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: mail-notification
Version: 13
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Dmitry Butskoy
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-06-27 01:23 UTC by Jonathan Kamens
Modified: 2010-10-28 05:55 UTC (History)
3 users (show)

Fixed In Version: mail-notification-5.4-25.fc14
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-10-22 18:12:03 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Proposed patch (1.29 KB, patch)
2010-10-09 11:26 UTC, Erik van Pienbroek
no flags Details | Diff

Description Jonathan Kamens 2010-06-27 01:23:01 UTC
With current updates from F13 including updates-testing...

I have mail-notification configured to attach popups to my status icon.  Nevertheless, popups are showing up in the upper right corner of the screen rather than attached to the status icon (which is at the bottom of the screen).

I don't know whether this is a bug in mail-notification or a bug in the notification subsystem.  I do know that it's irritating ;-).

Comment 1 Erik van Pienbroek 2010-10-09 11:26:17 UTC
Created attachment 452491 [details]
Proposed patch

I've seen this behavior as well on KDE. It looks like a race-condition between the moment that the notification icon is really shown and the moment that the popup is created (+attached). As mail-notification doesn't use the GtkStatusIcon API, but the old EggTrayIcon API to maintain the notification icon this error doesn't occur on other applications.

I've created a small patch which adds a small delay (of at most 2 seconds) after a notification icon has been created before creating the popup. This patch has been tested by me for a couple of weeks and it works fine on my machine.

Comment 2 Fedora Update System 2010-10-12 13:38:47 UTC
mail-notification-5.4-25.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/mail-notification-5.4-25.fc14

Comment 3 Fedora Update System 2010-10-12 13:40:01 UTC
mail-notification-5.4-25.fc13 has been submitted as an update for Fedora 13.
https://admin.fedoraproject.org/updates/mail-notification-5.4-25.fc13

Comment 4 Fedora Update System 2010-10-13 06:11:04 UTC
mail-notification-5.4-25.fc14 has been pushed to the Fedora 14 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update mail-notification'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/mail-notification-5.4-25.fc14

Comment 5 Fedora Update System 2010-10-22 18:11:53 UTC
mail-notification-5.4-25.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2010-10-28 05:55:44 UTC
mail-notification-5.4-25.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.