I speak in IRC with macslow and pitti and seb128 that was more or less
the last conclusion that I get after see stack_layout and dnd mode.

The bubble is not getting displayed by dnd (Dont disturb mode), in my
case, because dnd_has_one_fullscreen_window function is returning true,
but I don't have fullscreen windows (just a laptop with a external
screen plugged) and any screen is in full screen mode. It seems a
problem detecting the status from libwnck libraty:

gboolean
dnd_has_one_fullscreen_window (void)
{
        gboolean result;

        WnckScreen *screen = wnck_screen_get_default ();
        wnck_screen_force_update (screen);
        WnckWorkspace *workspace = wnck_screen_get_active_workspace (screen);
        GList *list = wnck_screen_get_windows (screen);
        GList *item = g_list_find_custom (list, workspace, (GCompareFunc) 
is_fullscreen_cb);
        result = item != NULL;
#ifdef HAVE_WNCK_SHUTDOWN
        wnck_shutdown ();
#endif
        return result;
} 

The line result = item != NULL is getting a true value (1), but it
probably doesn't mean that it is a really fullscreen window value, maybe
needs more specific (I don't anything about how libwnck works, I am only
reading a bit today in spare time)

I mine the code with gwarning() calls (I also use gdb in the process)
and it seems that it gets a bubble id 0, then it gets to 1, and it crash
after dnd mode g_unref().

** (notify-osd:12603): WARNING **: Bubble id 0
** (notify-osd:12603): WARNING **: Stack push buble
** (notify-osd:12603): WARNING **: Bubble id: 0
** (notify-osd:12603): WARNING **: Bubble layout
** (notify-osd:12603): WARNING **: stack layout selecting bubble
** (notify-osd:12603): WARNING **: bubble: 0x80c42c0
** (notify-osd:12603): WARNING **: pre dnd mode
** (notify-osd:12603): WARNING **: dnd_is_online_presence_dnd: 0
** (notify-osd:12603): WARNING **: dnd_is_xscreensaver_active: 0
** (notify-osd:12603): WARNING **: dnd_is_screensaver_active: 0
** (notify-osd:12603): WARNING **: dnd_is_screensaver_inhibited: 0
** (notify-osd:12603): WARNING **: dnd_has_one_fullscreen_window: 1
** (notify-osd:12603): WARNING **: entering dnd
** (notify-osd:12603): WARNING **: bubble: 0x80c42c0
** (notify-osd:12603): WARNING **: Bubble id: 1
** (notify-osd:12603): WARNING **: Bubble id: 1
** (notify-osd:12603): WARNING **: stack layout selecting bubble
** (notify-osd:12603): WARNING **: bubble: (nil)
** (notify-osd:12603): WARNING **: Bubble dbus
CRASH

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1189281

Title:
  notify-osd sefaults in bubble_get_id() trying to access an unrefed
  object

To manage notifications about this bug go to:
https://bugs.launchpad.net/notify-osd/+bug/1189281/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to