Red Hat Bugzilla – Bug 700547
rhsm-icon pop up notification appears in a random location
Last modified: 2013-01-10 05:52:50 EST
Created attachment 495583 [details]
pop up warning
Description of problem:
When receiving a pop up warning from rhsm-icon, the pop up shows up in a random location
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Get a rhel 5.7 system with subscription-manager* installed
2. make sure there is a product installed in /etc/pki/products/
3. make sure rhsm-icon is running
4. log into your user
(you can also replicate this with any other action that would prompt this pop up, such as starting subscription-manager-gui, or running rhsm-icon --force-icon=expired -d)
The pop up shows up in a random location or doesn't show up at all.
The pop up shows up under the rhsm-icon in the taskbar
Also for interesting results, log into gnome as a different, non root user. Then as that user open a terminal and 'su -'. Then run rhsm-icon --force-icon=expired -d. The icon in the taskbar shows up, but the pop up does not.
Verified using following setup :
Moving defect status from Modified to Verified
Created attachment 499894 [details]
This appears to be fixed when you run rhsm-icon manually as in the case above.
However, when you log in, and rhsm-icon is spawned as part of your desktop session loading, the pop up is on the opposite side of the icon. See screenshot.
subscription-manager-gnome-0.95.5.18-1.el5.x86_64 (version found in rhel 5.7 beta)
Created attachment 499896 [details]
Also note that in verifying the above, if you start up the icon manually now, the icon is now about twice as big and doesn't fit in the taskbar (see attached).
(In reply to comment #2)
> Created attachment 499894 [details]
> warning dialog
> This appears to be fixed when you run rhsm-icon manually as in the case above.
> However, when you log in, and rhsm-icon is spawned as part of your desktop
> session loading, the pop up is on the opposite side of the icon. See
> subscription-manager-gnome-0.95.5.18-1.el5.x86_64 (version found in rhel 5.7
clarification: this doesn't ALWAYS occur on the opposite side of the task bar, it seems to shift along the whole bar.
fixed in master, I've set the first status check to not run until a few minutes after launch. this should be enough time for the panel to load up and position the icon correctly.
commit is 5f2424b3db15b7b67170544b4a3158d8c8906126
The icon now pops up many minutes after login and I cannot replicate the issue anymore. Moving to VERIFIED.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.