notify-osd cannot detect panel with gtk 2.17.4
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
notify-osd (Ubuntu) |
Fix Released
|
Medium
|
Mirco Müller |
Bug Description
With a multihead configuration, left (primary) monitor being 1280x1024, and right monitor being 1280x800, aligned at their bases, notifications do not appear. This is because notify-osd places the notifications in the top right corner, which is not displayed by the secondary monitor, since it's aligned at the bases. The panel is at the top of the left monitor.
The reason for this is that notify-osd cannot detect the panel when libgtk 2.17.4 is installed, as shown by the following debug message:
(notify-osd:30917): Gdk-CRITICAL **: gdk_region_destroy: assertion `region != NULL' failed
** (notify-osd:30917): DEBUG: [2009-07-
** (notify-osd:30917): DEBUG: selecting monitor 0 at (0,0) - 1280x1024
** (notify-osd:30917): DEBUG: no panel detetected; using workarea fallback
** (notify-osd:30917): DEBUG: top corner at: 2295, 23
The offending snippet of code is this (in _window_
/* discard dialog windows like panel properties or the applet directory... */
if (gdk_window_
!= GDK_WINDOW_
For some reason, as of gtk 2.17.4, gdk_window_
The part of the code in GDK which causes GDK_WINDOW_
if (GDK_WINDOW_
return GDK_WINDOW_
Related branches
description: | updated |
Changed in notify-osd: | |
status: | Fix Committed → Fix Released |
affects: | notify-osd → notify-osd (Ubuntu) |
Just reviewed, tested and committed the branch "lp:~hyperair/notify-osd/wnck-for-dock" fixing this bug. Thanks Chow!