What is the function of the "Sticky edges" on/off setting in displays?
772
I have installed Ubuntu 12.04 (Precise Pangolin). If I open System Settings >> Displays there is a new (?) on/off button for a setting named Sticky edges.
Can someone tell me what this setting is supposed to control?
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.
I dont know for sure but it sounds like that toggles the ability to drag a window close to the edge and have the window jump to that edge, lined up perfectly.
So, to quote someone from the bug discussion that @Florian Diesch posted, one one user put it, the "Sticky edge" toggle would more accurately be called "Avoid my mouse cursor to be accidentally lost in another display."
After playing with the setting, I've found that cursors moving at significant enough velocity can break the monitor barrier, and escape to the next display over.
According to this answer, it seems that Alt+F2 -> "gconf-editor" may allow you to actually change the velocity variable, which could, in theory, for someone, under the right circumstances, make the option actually useful.
Just disable Sticky edges in the Displays section under All Settings
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:
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.
I dont know for sure but it sounds like that toggles the ability to drag a window close to the edge and have the window jump to that edge, lined up perfectly.
So, to quote someone from the bug discussion that @Florian Diesch posted, one one user put it, the "Sticky edge" toggle would more accurately be called "Avoid my mouse cursor to be accidentally lost in another display."
After playing with the setting, I've found that cursors moving at significant enough velocity can break the monitor barrier, and escape to the next display over.
According to this answer, it seems that Alt+F2 -> "gconf-editor" may allow you to actually change the velocity variable, which could, in theory, for someone, under the right circumstances, make the option actually useful.
Just disable Sticky edges in the Displays section under All Settings
It allows you to position the edge of a window next to the edge of the screen
It is an interesting concept and nice way to working around docking to the edge where the two monitors meet