Bug 4238

Summary: Notification-daemon window with arrow looks strange
Product: Galago Reporter: Michael Vogt <mvo>
Component: notification-daemonAssignee: Christian Hammond <chipx86>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: high    
Version: unspecified   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: Fix for the problem

Description Michael Vogt 2005-08-25 09:00:15 UTC
Notification-daemon shows a odd behaviour when the first notification it
displays is a notification window with a arrow. It looks like the
gdk_window_shape_combine_region() call in
PopupNotification::generate_arrow() is not working and there remains a gray area
on top of the window (see attached screenshot). This seems to be only happening
when gtk2.8 is used, gtk2.6 seems to be working fine.

To reproduce just start a new notification daemon and run "test-xy" from the
tests dir. I tried to reproduce the problem in a simple gtk test-case but that
failed. I also checked if gdk_window_shape_combine_region() changed between 2.6
and 2.8 and that seems to be not the case.

(this was reported in ubuntu as http://bugzilla.ubuntu.com/show_bug.cgi?id=14006)
Comment 1 Michael Vogt 2005-08-29 06:59:26 UTC
Created attachment 3099 [details] [review]
Fix for the problem

Looks like a race condition, the attached patch fixes the problem on my ubuntu
system.
Comment 2 Christian Hammond 2006-01-05 04:59:03 UTC
Given that notification-daemon/notify-daemon was rewritten, this shouldn't be an
issue anymore.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.