[regression] Tray region of the panel is not redrawn when notify-osd is on top

Bug #1049964 reported by Steve Magoun
98
This bug affects 14 people
Affects Status Importance Assigned to Milestone
Unity
Fix Released
Medium
Daniel van Vugt
6.0
Fix Released
Medium
Łukasz Zemczak
unity (Ubuntu)
Fix Released
Medium
Daniel van Vugt
Quantal
Won't Fix
Medium
Łukasz Zemczak

Bug Description

A red rectangle is sometimes drawn around notification bubbles. The rectangle disappears when the notification is redrawn (such as when it is fading away). This is a recent regression in 12.10; I first noticed the problem just after the release of 12.10 beta 1.

Hardware is a MacbookPro 3,1 with NVIDIA 8600M GT. I am using nvidia-current 304.43-0ubuntu3.

To reproduce:
1) Press a hotkey such as brightness up/down

Expect results:
Brightness changes, and the notification is displayed with no artifacts

Actual results:
Brightness changes, and the notification is displayed. The notification may have a red rectangle around the top of the notification (see attached video).

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: notify-osd 0.9.34-0ubuntu4
ProcVersionSignature: Ubuntu 3.5.0-14.15-generic 3.5.3
Uname: Linux 3.5.0-14-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.5.1-0ubuntu7
Architecture: amd64
Date: Wed Sep 12 13:03:46 2012
GtkTheme: Radiance
IconTheme: ubuntu-mono-light
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Beta amd64 (20100901.1)
MachineType: Apple Inc. MacBookPro3,1
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.5.0-14-generic root=UUID=4b3d81ed-fb5d-4946-97c0-ec537e1bfa3f ro quiet splash vt.handoff=7
RelatedPackageVersions:
 xserver-xorg 1:7.7+1ubuntu3
 libgl1-mesa-glx 9.0~git20120903.e1673d20.is.git20120821.c1114c61-0ubuntu1
 libdrm2 2.4.39-0ubuntu1
 xserver-xorg-video-intel 2:2.20.6-0ubuntu1
 xserver-xorg-video-ati 1:6.99.99~git20120713.6ef1ad6a-0ubuntu1
SourcePackage: notify-osd
UpgradeStatus: Upgraded to quantal on 2012-08-07 (36 days ago)
WindowManager: compiz
dmi.bios.date: 03/05/08
dmi.bios.vendor: Apple Inc.
dmi.bios.version: MBP31.88Z.0070.B07.0803051658
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: Mac-F4238BC8
dmi.board.vendor: Apple Inc.
dmi.board.version: PVT
dmi.chassis.asset.tag: Asset Tag#
dmi.chassis.type: 2
dmi.chassis.vendor: Apple Inc.
dmi.chassis.version: Mac-F4238BC8
dmi.modalias: dmi:bvnAppleInc.:bvrMBP31.88Z.0070.B07.0803051658:bd03/05/08:svnAppleInc.:pnMacBookPro3,1:pvr1.0:rvnAppleInc.:rnMac-F4238BC8:rvrPVT:cvnAppleInc.:ct2:cvrMac-F4238BC8:
dmi.product.name: MacBookPro3,1
dmi.product.version: 1.0
dmi.sys.vendor: Apple Inc.

Related branches

Revision history for this message
Steve Magoun (smagoun) wrote :
Revision history for this message
Steve Magoun (smagoun) wrote :
Revision history for this message
Omer Akram (om26er) wrote :

Its probably more of a unity issue.

affects: notify-osd (Ubuntu) → unity
Changed in unity:
status: New → Confirmed
Revision history for this message
Omer Akram (om26er) wrote : Re: [regression] Red area around notify-osd

This one started after GLES changes landed. (I think there is one report on that already)

Changed in unity:
importance: Undecided → Medium
milestone: none → 6.6
summary: - Red area around notify-osd
+ [regression] Red area around notify-osd
Changed in unity (Ubuntu):
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Omer Akram (om26er) wrote :

Its not red though, in my cases its generally of the same color as BG

Changed in unity:
milestone: 6.6 → 7.0
tags: added: screencast
Revision history for this message
Neil J. Patel (njpatel) wrote :

After speaking to the Compiz guys, it seems this is a bug in notify-osd, as it only knows about the background average colour that we calculate, and hence it must be not clearing an area correctly. Re-assigning.

no longer affects: notify-osd (Ubuntu)
Changed in unity:
status: Confirmed → Invalid
Changed in notify-osd:
status: New → Confirmed
importance: Undecided → Medium
assignee: nobody → Mirco Müller (macslow)
Revision history for this message
Mirco Müller (macslow) wrote :

Steve, is there anything else - apart form the synchronous notification - that would help me reproduce this? I've not been able to trigger this here on my system (0.9.34-0ubuntu5, GTX 580, nvidia-current 304.43-0ubuntu5). Actually that kind of bug I've never seen before.

Revision history for this message
Steve Magoun (smagoun) wrote :

@Mirco - I haven't been able to reproduce this in any way except via notifications.

I confirmed Omer's observation, the color of the rectangle is related to the colors in the desktop background. I switched from the default Ubuntu background to a blue desktop background; the color of the rectangle changed from red to blue.

Further experimentation shows the incorrectly-drawn rectangle seems to be the top panel redrawing - it's the same size/shape/position as the panel.

Revision history for this message
Omer Akram (om26er) wrote :

I can easily reproduce this issue here on SandyBridge.

1. make sure desktop have the focus (happens if there's an app running as well).
2. change volume

Revision history for this message
Sebastien Bacher (seb128) wrote :

I almost overlooked that one due to the title, thanks to Neil pointing it. For me it's not "around notify-osd" but "around indicator", which seems to be what the screenshot points there?

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thanks seb128. With a fresh pair of eyes today I agree, it looks like the tray region of the unity panel being damaged (but failing to redraw) when notify-osd is above it.

This should be handled by UnityScreen::compizDamageNux ... and there is code to redraw the panel itself in this case. But maybe that's not always redrawing the tray rectangle too?

summary: - [regression] Red area around notify-osd
+ [regression] Tray region of the panel is not redrawn when notify-osd is
+ on top
Changed in notify-osd:
status: Confirmed → Invalid
Changed in unity:
status: Invalid → Confirmed
Changed in notify-osd (Ubuntu Quantal):
status: New → Invalid
Revision history for this message
Sebastien Bacher (seb128) wrote :

extra detail, the "notification is over the panel" happens only if I do:

$ gsettings set com.canonical.notify-osd multihead-mode 'focus-follow'

if the focus is set to not follow the bubble is under the panel, in which case the artifact is not a rectangle but just a colored line at the bottom of the panel

Omer Akram (om26er)
no longer affects: notify-osd
no longer affects: unity/6.0
no longer affects: notify-osd (Ubuntu Quantal)
Revision history for this message
Bilal Akhtar (bilalakhtar) wrote :

Bug #1059731 seems to be very similar to this one, though I can't reproduce either. Daniel, do you think these two issues are caused by the same code?

Omer Akram (om26er)
Changed in unity (Ubuntu Quantal):
status: Confirmed → Triaged
Changed in unity:
status: Confirmed → Triaged
Revision history for this message
Amr Ibrahim (amribrahim1987) wrote :

Here is what I experience:

A graphical glitch (orange straight line) appears above the sound volume confirmation bubble when the mouse pointer travels over it. See the attached screencast.

Revision history for this message
Amr Ibrahim (amribrahim1987) wrote :

A workaround to solve this is to disable the Effects plugins in CompizConfig Settings Manager.

After I disabled both 'Animations' and 'Fading Windows' to gain a performance boost, I noticed that the graphical glitches above the sound bubble disappeared. Don't disable 'Window Decoration' or you'll lose the outside frame and the minimize, maximize & close buttons.

Actually I hit two birds with one stone; got rid of the glitches and gained a performance boost :D

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

It's possible the proposed fix for bug 1070735 might fix this.

Revision history for this message
Ivan Katanović (igadmile-deactivatedaccount) wrote :

Can confirm that fix for bug 1070735 fixes this bug also. It disappeared after unity 6.12 update that came today.

Changed in unity:
assignee: nobody → Daniel van Vugt (vanvugt)
Changed in unity (Ubuntu):
assignee: nobody → Daniel van Vugt (vanvugt)
Changed in unity (Ubuntu Quantal):
assignee: nobody → Daniel van Vugt (vanvugt)
Changed in unity:
status: Triaged → Fix Committed
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Confirmed. Updating to the proposed Unity 6.12 packages fixes the bug.

Changed in unity (Ubuntu):
status: Triaged → Fix Released
Changed in unity (Ubuntu Quantal):
status: Triaged → Fix Released
status: Fix Released → Fix Committed
assignee: Daniel van Vugt (vanvugt) → Łukasz Zemczak (sil2100)
Changed in unity (Ubuntu):
milestone: none → ubuntu-13.04-alpha-1
Changed in unity (Ubuntu Quantal):
milestone: none → quantal-updates
Stephen M. Webb (bregma)
Changed in unity:
status: Fix Committed → Fix Released
Changed in unity:
status: Fix Released → Fix Committed
Stephen M. Webb (bregma)
Changed in unity:
status: Fix Committed → Fix Released
cdagruma (cdagruma)
description: updated
Revision history for this message
Rolf Leggewie (r0lf) wrote :

quantal has seen the end of its life and is no longer receiving any updates. Marking the quantal task for this ticket as "Won't Fix".

Changed in unity (Ubuntu Quantal):
status: Fix Committed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.