linuxmint/Cinnamon — Issue #477: Panel continually bounces in and out when mouse pointer is at bottom of the screen
Author: sunahsuh
Created: 2012-03-04 21:11:11+00:00
State: open

Hi, I have a dual monitor setup with monitor 1 at 1920x1080 and monitor 2 at 1200x1920 (portrait mode), with monitor 2 displaying at an offset to the portrait monitor. Gnome defaults to monitor 2 as the primary but I wanted the panel on monitor 1 so I used xrandr to switch. I have auto-hide enabled and now when I move the mouse to the very bottom of the screen, the panel continually hides and unhides. I played with some of the offsets in panel.js and changing line 810 to:

```javascript

{ y: Main.layoutManager.bottomMonitor.y + Main.layoutManager.bottomMonitor.height - PANEL_HEIGHT + 1,
```

(adding one pixel to the offset) "fixed" it at the expense of the last line of the panel. If you have any ideas about what a proper fix might look like, I'd be happy to attempt it.