Bug 608372

Summary: mail-notification popup is in the wrong place
Product: [Fedora] Fedora Reporter: Jonathan Kamens <jik>
Component: mail-notificationAssignee: Dmitry Butskoy <dmitry>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 13CC: dmitry, erik-fedora, fedora
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: mail-notification-5.4-25.fc14 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-10-22 18:12:03 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Proposed patch none

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.