popup shown in incorrect location

Bug #375408 reported by Captain Chaos
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
notify-osd (Ubuntu)
Fix Released
Low
Mirco Müller

Bug Description

I have three monitors, in a Xinerama configuration. The middle monitor is screen 0 or the primary screen, and it has the menu and notifications bar and the taskbar on it. Whenever a popup is shown for new email or chat message, it is shown about a third of the way from the left of the (middle) screen, instead of being shown in the top right hand corner.

What I suspect is happening is that it is confusing two different coordinate systems. It is probably taking the width of the primary screen, or the location of the taskbar icon relative to the primary screen or something like that, and applying it to the coordinate system of the entire deskop, which starts at the left side of the *left* screen.

I have attached my Xorg.conf file for details of the screen layout. This is happening on Ubuntu 9.04 / indicator-applet 0.1.

Related branches

Revision history for this message
Captain Chaos (launchpad-chaos) wrote :
Revision history for this message
Captain Chaos (launchpad-chaos) wrote :

I suspect I have assigned this bug to the wrong package. It should be notify-osd. Fixed.

affects: indicator-applet → notify-osd
Revision history for this message
Captain Chaos (launchpad-chaos) wrote :

I attached a screenshot demonstrating the problem. Please note that this screenshot spans three monitors. The Firefox window in the middle represents my middle, primary, monitor.

Revision history for this message
David Barth (dbarth) wrote :

I couldn't get the same setup to try to reproduce the bug, but I've double checked the code that is in Jaunty and now Karmic, and I don't see the kind of mismatch that you mention as potential cause. Could you give a try to the latest version of notify-osd to let me know if the bug still exists for you?

Changed in notify-osd:
importance: Undecided → Low
Revision history for this message
Neil J. Patel (njpatel) wrote :

Thanks for filing this bug. To help us to figure out whats wrong, could you please run notify-osd in a terminal, this command should work:

$ killall notify-osd; /usr/lib/notify-osd/notify-osd

and then either let it run while a few notifications popup, or cause some notifications using the volume keys or the `notify-send` command.

Once you've had a few notifications, please attach the output of notify-osd to this bug report. It should be printing out various information, including the monitor information, which should tell us what values it's using. I'm marking this bug as incomplete until you've provided the information.

Changed in notify-osd:
status: New → Incomplete
Revision history for this message
Captain Chaos (launchpad-chaos) wrote :
Download full text (3.8 KiB)

I did as you said and changed the volume up and down a few times. The popup was still in the wrong location. I installed the latest updates so I assume I'm using the latest version of notify-osd. Here is the output it gave:

Xlib: extension "RANDR" missing on display ":0.0".

(notify-osd:4603): GLib-GObject-CRITICAL **: g_param_spec_int: assertion `default_value >= minimum && default_value <= maximum' failed

(notify-osd:4603): GLib-GObject-CRITICAL **: g_object_class_install_property: assertion `G_IS_PARAM_SPEC (pspec)' failed

(notify-osd:4603): GLib-GObject-WARNING **: IA__g_object_set_valist: object class `Defaults' has no property named `desktop-width'

(notify-osd:4603): GLib-GObject-WARNING **: value "4480" of type `gint' is invalid or out of range for property `desktop-right' of type `gint'
** (notify-osd:4603): DEBUG: [2009-09-15T13:54:59-00:00, gnome-settings-daemon, id:0, icon:notification-audio-volume-high (synchronous)]

** (notify-osd:4603): DEBUG: selecting monitor 0 at (1280,0) - 1920x1200
** (notify-osd:4603): DEBUG: no panel detetected; using workarea fallback

(notify-osd:4603): GLib-GObject-WARNING **: IA__g_object_set_valist: object class `Defaults' has no property named `desktop-width'

(notify-osd:4603): GLib-GObject-WARNING **: value "4480" of type `gint' is invalid or out of range for property `desktop-right' of type `gint'

(notify-osd:4603): GLib-GObject-WARNING **: IA__g_object_get_valist: object class `Defaults' has no property named `desktop-width'
** (notify-osd:4603): DEBUG: top corner at: 1606, 22
** (notify-osd:4603): DEBUG: [2009-09-15T13:54:59-00:00, gnome-settings-daemon, id:0, icon:notification-audio-volume-high (synchronous)]

** (notify-osd:4603): DEBUG: [2009-09-15T13:55:00-00:00, gnome-settings-daemon, id:0, icon:notification-audio-volume-high (synchronous)]

** (notify-osd:4603): DEBUG: [2009-09-15T13:55:06-00:00, gnome-settings-daemon, id:0, icon:notification-audio-volume-high (synchronous)]

** (notify-osd:4603): DEBUG: selecting monitor 0 at (1280,0) - 1920x1200
** (notify-osd:4603): DEBUG: no panel detetected; using workarea fallback

(notify-osd:4603): GLib-GObject-WARNING **: IA__g_object_set_valist: object class `Defaults' has no property named `desktop-width'

(notify-osd:4603): GLib-GObject-WARNING **: value "4480" of type `gint' is invalid or out of range for property `desktop-right' of type `gint'

(notify-osd:4603): GLib-GObject-WARNING **: IA__g_object_get_valist: object class `Defaults' has no property named `desktop-width'
** (notify-osd:4603): DEBUG: top corner at: 1606, 22
** (notify-osd:4603): DEBUG: [2009-09-15T13:55:06-00:00, gnome-settings-daemon, id:0, icon:notification-audio-volume-high (synchronous)]

** (notify-osd:4603): DEBUG: [2009-09-15T13:55:07-00:00, gnome-settings-daemon, id:0, icon:notification-audio-volume-high (synchronous)]

** (notify-osd:4603): DEBUG: [2009-09-15T13:55:07-00:00, gnome-settings-daemon, id:0, icon:notification-audio-volume-high (synchronous)]

** (notify-osd:4603): DEBUG: [2009-09-15T13:55:07-00:00, gnome-settings-daemon, id:0, icon:notification-audio-volume-high (synchronous)]

** (notify-osd:4603): DEBUG: [2009-09-15T13:5...

Read more...

Mirco Müller (macslow)
Changed in notify-osd:
status: Incomplete → In Progress
assignee: nobody → Mirco Müller (macslow)
Revision history for this message
Mirco Müller (macslow) wrote :

I've fixed this in https://code.edge.launchpad.net/~macslow/notify-osd/fix-375408. If you're very impatient ;) to try it out, you can grab that branch, compile and run it yourself. It'll take some time to land in the repository and be picked up by synaptic or the normal update-manager.

Mirco Müller (macslow)
Changed in notify-osd:
status: In Progress → Fix Committed
Mirco Müller (macslow)
Changed in notify-osd:
status: Fix Committed → Fix Released
affects: notify-osd → notify-osd (Ubuntu)
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.