notify-osd uses multihead invisible area
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Notify OSD |
In Progress
|
High
|
Karl Lattimer | ||
Bug Description
I have the following screen configuration:
$ xrandr -q
Screen 0: minimum 320 x 200, current 2480 x 1600, maximum 2480 x 1600
VGA-0 connected 1200x1600+0+0 left (normal left inverted right x axis y axis) 367mm x 275mm
LVDS connected 1280x800+1200+800 (normal left inverted right x axis y axis) 331mm x 207mm
Notice the invisible area in the top-right part. I have a single gnome-panel located on the bottom part of LVDS. notify-osd will put bubbles in the invisible area:
$ /usr/lib/
* (notify-osd:7110): DEBUG: selecting monitor 0 at (0,0) - 1200x1600
** (notify-osd:7110): DEBUG: no panel detetected; using workarea fallback
** (notify-osd:7110): DEBUG: top corner at: 2077, -3
** (notify-osd:7110): DEBUG: selecting monitor 0 at (0,0) - 1200x1600
** (notify-osd:7110): DEBUG: no panel detetected; using workarea fallback
** (notify-osd:7110): DEBUG: top corner at: 2077, -3
** (notify-osd:7110): DEBUG: [2009-11-
I propose two things:
1) notify-osd should not fallback to the workarea, but use the selected monitor.
2) notify-osd should look for any panel, whether top or bottom.
Related branches
- Karl Lattimer (community): Needs Information
-
Diff: 116 lines (+30/-16)1 file modifiedsrc/defaults.c (+30/-16)
Changed in notify-osd: | |
assignee: | nobody → Karl Lattimer (karl-qdh) |
Changed in notify-osd: | |
status: | Confirmed → In Progress |
Your patch introduces new (internal) API and you don't test for the validity of the passed in pointer to "top". That needs to be fixed.