notify-osd, Multimonitor - notify-osd in invisible area of dual screen setup

Bug #716458 reported by David Verhasselt
142
This bug affects 30 people
Affects Status Importance Assigned to Milestone
Ayatana Design
Fix Released
Medium
John Lea
notify-osd (Ubuntu)
Fix Released
High
Unassigned
Precise
Fix Released
High
Unassigned

Bug Description

Binary package hint: notify-osd

When using TwinView for a dual head setup, with one monitor at a resolution of 1920x1200 and another at 1280x1024 to the right of the first, with the bottoms lined up, the notifications are invisible, probably because they are 'shown' in the invisible area above the rightmost (smaller) monitor.

Independent experiments I did in which each time notify-osd did show the notifications:
 - align the tops of the monitors, so the invisible area is at the bottom of the rightmost monitor instead of at the top
 - change the resolution of the bigger monitor to equal that of the smaller one, so there is no invisible area present
 - disable the second monitor

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: notify-osd 0.9.29-0ubuntu3
ProcVersionSignature: Ubuntu 2.6.35-25.44-generic-pae 2.6.35.10
Uname: Linux 2.6.35-25-generic-pae i686
NonfreeKernelModules: nvidia
Architecture: i386
Date: Thu Feb 10 15:31:29 2011
GtkTheme: Ambiance
IconTheme: ubuntu-mono-dark
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
MachineType: System manufacturer P5K
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.35-25-generic-pae root=UUID=95e216f3-37ee-4dfe-9b07-028499ced47c ro quiet splash
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
RelatedPackageVersions:
 xserver-xorg 1:7.5+6ubuntu3
 libgl1-mesa-glx 7.9~git20100924-0ubuntu2
 libdrm2 2.4.21-1ubuntu2.1
 xserver-xorg-video-intel 2:2.12.0-1ubuntu5.1
 xserver-xorg-video-ati 1:6.13.1-1ubuntu5
SourcePackage: notify-osd
WindowManager: gnome-wm
dmi.bios.date: 10/30/2007
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 0704
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: P5K
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: Rev 1.xx
dmi.chassis.asset.tag: Asset-1234567890
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr0704:bd10/30/2007:svnSystemmanufacturer:pnP5K:pvrSystemVersion:rvnASUSTeKComputerINC.:rnP5K:rvrRev1.xx:cvnChassisManufacture:ct3:cvrChassisVersion:
dmi.product.name: P5K
dmi.product.version: System Version
dmi.sys.vendor: System manufacturer
glxinfo: Error: [Errno 2] No such file or directory

Related branches

Revision history for this message
David Verhasselt (davidverhasselt) wrote :
Revision history for this message
Tim Dean (tim-amprsnd) wrote :

I have this problem too. My second monitor isn't that much smaller than my first so I can see the bottom of notifications. I've done a little searching and can't find any information on fixing this by changing a configuration file. As far as I can tell, notifications are completely unusable with this type of dual monitor setup.

Left monitor (primary): 1680x1050
Right monitor: 1440x900
I have a NVIDIA GeForce 9500 GT set up to use TwinView

Revision history for this message
Marten de Vries (marten-de-vries) wrote :

I'm having the same problem in 11.04 using an onboard Radeon HD 3200 with the proprietary drivers enabled, so it's not an nvidia-only problem. It's really annoying, notifications are completely unusable this way.

Revision history for this message
David Verhasselt (davidverhasselt) wrote :

This is a problem that affects everyone with a dual-monitor setup, where the rightmost monitor is smaller than the leftmost, and the bottoms are aligned.

The solution is to check where the top of the rightmost monitor is, and put notifications below that.

Revision history for this message
Nick Lib (nikolauslieb) wrote :

I'm having the same problem. Notifications used to mostly just turn up on left hand monitor in Maverick, for me, but in Natty they are always in the invisible area, which does make them quite useless.

David, is your solution a suggestion to the devs, or is it meant for users, who are looking for a workaround? In case of the latter, would you mind pointing us to the right config file?

Revision history for this message
David Verhasselt (davidverhasselt) wrote :

Nick, it's a suggestion to the devs, sorry. I do have a workaround though, you need to patch notify-osd [1], I tested and am running it on Maverick Meerkat:

sudo add-apt-repository ppa:leolik/leolik
sudo apt-get update && sudo apt-get upgrade
gconftool-2 -s /apps/notify-osd/gravity --type=int 3
pkill notify-osd

That gconftool-2 line sets the notifications to the bottom-right corner. Use a value other than 3 to set it to other corners, see the article for more info on that.

[1]: http://www.webupd8.org/2010/07/patched-notifyosd-updates-option-to.html

Revision history for this message
Guilhem Bonnefille (guilhem-bonnefille) wrote :

I encounter the same problem.

But there is certainly a solution: I use vertical panels, and they correctly detect the screen resolution as they do not expand outside the visible area. So, it is certainly possible to change the notify-osd code to request/compute the x,y coordinate of the NORTH_EAST corner.

Revision history for this message
Chow Loong Jin (hyperair) wrote :

A nice workaround is to set /apps/notify-osd/multihead_mode to "focus-follow". This doesn't work very well with Unity's panels though, because those panels aren't normal windows and can't be detected by notify-osd, so the notifications end up overlapping the panel. It's at least better than no notifications, though.

An appropriate solution to this entire top-right corner mess would be to use the _UNITY_NET_WORKAREA_REGION property with the networkarearegion extension in Compiz enabled, but this is Compiz-specific for the time being.

Changed in notify-osd (Ubuntu):
status: New → Confirmed
Revision history for this message
Marius Gedminas (mgedmin) wrote :

Some playing around with gdb tells me that in src/defaults.c, in defaults_get_top_corner(), the code used under Unity is the "no panel detetected; using workarea fallback" branch.

In my configuration (1280x1024 on the left, 1024x800 on the right, with bottoms aligned) the workarea rect is {x = 0, y = 24, width = 2560, height = 1000}, which results in the attached screenshot (for very long notifications).

Changed in notify-osd (Ubuntu):
importance: Undecided → High
Changed in notify-osd:
assignee: nobody → Canonical Desktop Experience Team (canonical-dx-team)
importance: Undecided → High
Bryce Harrington (bryce)
tags: added: precise
Revision history for this message
Bryce Harrington (bryce) wrote :

Reproduced on Precise.

To verify the notices are offscreen rather than just missing, you can set the right display's top to be slightly offset lower than the left, then use volume or brightness keys to show the indicators. They'll appear clipped.

Changed in notify-osd (Ubuntu Precise):
status: Confirmed → Triaged
tags: added: rls-mgr-p-tracking
David Barth (dbarth)
Changed in unity:
milestone: none → 5.6.0
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Bryce Harrington (bryce) wrote :

Still affecting precise, tested with unity 5.2.

John Lea (johnlea)
summary: - notify-osd in invisible area of dual screen setup
+ notify-osd, Multimonitor - notify-osd in invisible area of dual screen
+ setup
Changed in ayatana-design:
assignee: nobody → John Lea (johnlea)
importance: Undecided → Medium
status: New → Triaged
tags: added: multi-monitor multimonitor udp
Revision history for this message
Shannon Black (shannon-netforge) wrote :

Marius Gedminas (mgedmin) mentioned the function defaults_get_top_corner() on 2011-10-30 ... i managed to find a script that picks up the different monitors on a twinview setup .. would it not be possible to implement these .. i don't have time to but hopefully this script will help someone else.. The script is written python but calls normal GTK functions so it should be fairly easy to get the relevant information .. i don't think the function to find out the primary monitor is included though, but for now even getting the notifications to show up correctly on the right or left most monitor would be an improvement

Changed in unity:
milestone: 5.6.0 → 5.8.0
tags: added: rls-p-tracking
Mirco Müller (macslow)
Changed in notify-osd:
status: New → In Progress
Changed in unity:
milestone: 5.8.0 → 5.10.0
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package notify-osd - 0.9.34-0ubuntu1

---------------
notify-osd (0.9.34-0ubuntu1) precise; urgency=low

  * New upstream release
    - Use _GNOME_BACKGROUND_REPRESENTATIVE_COLORS to better determine tinting
      for the notification background
    * notify-osd in invisible area of dual screen setup (LP: #716458)
 -- Ken VanDine <email address hidden> Fri, 23 Mar 2012 12:21:58 -0400

Changed in notify-osd (Ubuntu Precise):
status: Triaged → Fix Released
Revision history for this message
Shannon Black (shannon-netforge) wrote :

Confirmed that this is fixed :) would be cool if it showed up on the primary monitor though .. right now its on the right most monitor

Mirco Müller (macslow)
Changed in notify-osd:
status: In Progress → Fix Released
Changed in unity:
milestone: 5.10.0 → 5.12.0
Tim Penhey (thumper)
Changed in ayatana-design:
status: Triaged → Fix Committed
no longer affects: unity
John Lea (johnlea)
tags: added: reviewedbydesignp
removed: udp
Changed in ayatana-design:
status: Fix Committed → Fix Released
no longer affects: notify-osd
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related blueprints

Remote bug watches

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