What is the function of the "Sticky edges" on/off setting in displays?

It controls the mouse behaviour at the edges between monitors in a multi-monitor setup: If "Sticky Edges" is enabled the mouse stops on the edge.

See bug #965080 if you think this should be more obvious.


The answers by UbunTom, Jeff Welling, and Jayson Rowe, are all correct.

In fact, the accepted answer (with 10 votes currently) is completely wrong. Unfortunately, even the bug entry found in the accepted answer gets it partially wrong (not the first poster who says he doesn't know, and not Simon's answer, but some of the responses that suggest to relabel the sticky edge with the expected behavior of the mouse sticking to the edge).

The sticky edge toggle actually has absolutely no bearing on the mouse sticking to the side of the screen of a multi-monitor set up. I know this because I'm currently typing this from a multi-monitor set up. And even when this toggle is turned off (and the change is applied), my mouse still sticks a little bit to the side of the screen positioned adjacent to my second monitor (before it crosses over completely to it).

What this setting controls however is the semi-maximizing property of windows when the cursor touches the side of the screen while it's dragging a window bar to it.

Jayson Rowe nailed the description of the behavior in his comment:

It kinda does in a multi-monitor setup - for example, with it turned off, a window will not semi-maximize on the left-hand side of the right-hand monitor, but it will when it turned on. – Jayson Rowe

In my personal experience of using this setting both in a single monitor set up (when I'm on my laptop), and of using this setting in a multi-monitor set up at home when my laptop is connected to a second additional screen. I find that this sticky edge toggle should always be left turned on (Although, Simon in the bug entry seems to disagree with me, because he's so used to be able to drag windows from screen to screen smoothly, he hates it when that doesn't do that).

In either case, this makes me think that the person, who originally envisioned this setting and designed the UI for it, is probably not the same person who implemented it programmatically. And that's probably the bug, that this setting was originally meant to toggle the mouse sticking to the edge, but the person implementing it, took it to mean that it should toggle the windows sticking to the edges instead.


I found that if you simply disable sticky edges the mouse gets stuck on the other display. This is probably intentional, because launcher placement would not make any sense for both displays if you cannot select the launcher on the other display.

So what you need to do is Settings > Displays set sticky edges to OFF and set launcher placement to only one monitor.

Tags:

Display

12.04