After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 325217 - XConfigureEvent is not sent to notification area applets
XConfigureEvent is not sent to notification area applets
Status: RESOLVED INCOMPLETE
Product: gnome-panel
Classification: Other
Component: notification area
2.6.x
Other All
: Normal normal
: ---
Assigned To: Panel Maintainers
Panel Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-12-29 12:14 UTC by Artem Ananiev
Modified: 2006-09-02 00:01 UTC
See Also:
GNOME target: ---
GNOME version: 2.5/2.6



Description Artem Ananiev 2005-12-29 12:14:02 UTC
Please describe the problem:
I have an application that embeds an applet (tray icon) into the notification
area. Application is run in the multiscreen environment, Xinerama enabled. In
the applet I need to track what screen currently my applet is located on. I
expect that when GNOME panel is dragged by user to another screen, my applet to
receive XConfigureEvent, but it doesn't. To be more precise, when the panel is
switched from/to horizontal to/from vertical, an event is sent with x and y
members filled with local coordinates, otherwise there are no events sent at all.

Steps to reproduce:
1. Write an application that embeds a window into GNOME notification area
2. Setup the window to listen to XConfigureNotify notifications
3. Drag the panel from one screen to another without changing its
horizontal/vertical layout (for example, from the bottom of the first screen to
the bottom of the second screen), Xinerama should be enabled
4. If no XConfigureEvents is sent, the bug is reproduced


Actual results:


Expected results:


Does this happen every time?
Always

Other information:
Comment 1 Vincent Untz 2006-01-23 22:28:52 UTC
Does it work if you connect to the "screen-changed" GTK+ event? I don't see why it wouldn't work...

Looking at some doc for XConfigureEvent, it's not clear whether an event should be sent when the screen changes for the window.
Comment 2 Christian Kirbach 2006-09-02 00:01:34 UTC
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for.
Thanks!