Multi-monitor - Add 'sticky edges deactivated for number of milliseconds after the user breaks the barrier' variable
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ayatana Design |
Fix Released
|
High
|
John Lea | ||
Unity |
Fix Released
|
High
|
Marco Trevisan (Treviño) | ||
unity (Ubuntu) |
Fix Released
|
High
|
Marco Trevisan (Treviño) |
Bug Description
We have tested the fix, and while it is an improvement the one of the important use cases is not yet solved. To reproduce:
1. Using a computer with two monitors, set the Launcher to auto-hide and sticky edges to 'off'
2. Set the 'sticky edges deactivated for number of milliseconds after the user breaks the barrier' variable in CCSM to "1000ms"
3. Move the pointer over the boundary from the left screen to the right screen slowly, and then try to move it back again (within 1 second).
What currently happens: the pointer gets caught on the Launcher reveal edge resistance on the left edge of the right monitor
What should happen: There should be no resistance when the pointer comes back across the barrier because the barrier was already broken inside 1000ms when the pointer moved from the left monitor to the right monitor.
Also: set the value of the variable to 1000ms
-------
Add 'sticky edges deactivated for number of milliseconds after the user breaks the barrier' variable to CCSM. This variable would de-activate sticky edges for a set number of milliseconds every time after the user's pointer moves from one monitor to another.
In addition to the 1000ms barrier switch off timer, the barrier should also only be switched off for only one crossing e.g. so that if the user tries to correct an accidental crossing of the barrier they can do so with no resistance, but after correcting this accidental crossing the barrier is switched on even if 1000ms has not yet elapsed.
The idea behind this behaviour is to allow the user to course-correct after they have broken through the barrier the first time.
Don't change any of the default values for the time being; once this is implemented we will user test and experiment with different values before deciding on whether we should change the default behaviour.
Note: Before working on this bug it is worth checking with Jason Smith to see if he has already implemented some of this.
Related branches
- jenkins (community): Approve (continuous-integration)
- Brandon Schaefer (community): Approve
-
Diff: 1251 lines (+587/-158)17 files modifiedUnityCore/GLibSource.cpp (+1/-2)
launcher/Decaymulator.h (+1/-3)
launcher/EdgeBarrierController.cpp (+88/-46)
launcher/EdgeBarrierController.h (+8/-7)
launcher/LauncherController.cpp (+4/-5)
launcher/LauncherHideMachine.cpp (+6/-8)
launcher/LauncherHideMachine.h (+1/-1)
launcher/LauncherHoverMachine.cpp (+1/-2)
launcher/LauncherOptions.cpp (+34/-34)
launcher/LauncherOptions.h (+1/-0)
launcher/PointerBarrier.cpp (+30/-23)
launcher/PointerBarrier.h (+17/-16)
plugins/unityshell/src/unityshell.cpp (+5/-0)
plugins/unityshell/unityshell.xml.in (+8/-0)
tests/CMakeLists.txt (+16/-11)
tests/test_edge_barrier_controller.cpp (+225/-0)
tests/test_pointer_barrier.cpp (+141/-0)
- Andrea Azzarone (community): Approve
-
Diff: 62 lines (+11/-9)2 files modifiedlauncher/EdgeBarrierController.cpp (+7/-5)
tests/test_edge_barrier_controller.cpp (+4/-4)
tags: | added: udp |
Changed in ayatana-design: | |
assignee: | nobody → John Lea (johnlea) |
importance: | Undecided → Medium |
status: | New → Fix Committed |
Changed in unity: | |
status: | New → Triaged |
Changed in unity (Ubuntu): | |
status: | New → Triaged |
Changed in unity: | |
milestone: | none → backlog |
assignee: | nobody → Marco Trevisan (Treviño) (3v1n0) |
description: | updated |
Changed in unity (Ubuntu): | |
assignee: | nobody → Marco Trevisan (Treviño) (3v1n0) |
Changed in unity: | |
milestone: | backlog → 6.2 |
importance: | Undecided → Low |
status: | Triaged → In Progress |
Changed in unity (Ubuntu): | |
status: | Triaged → In Progress |
Changed in unity: | |
status: | In Progress → Fix Committed |
Changed in unity (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in unity (Ubuntu): | |
importance: | Undecided → Low |
Changed in unity: | |
status: | Fix Committed → Fix Released |
Changed in unity: | |
status: | In Progress → Fix Committed |
Changed in unity (Ubuntu): | |
status: | In Progress → Fix Committed |
description: | updated |
Changed in unity: | |
status: | Fix Committed → Fix Released |
This bug was fixed in the package unity - 6.2.0-0ubuntu1
---------------
unity (6.2.0-0ubuntu1) quantal-proposed; urgency=low
[ Adam Conrad ] patches/ libgeis- rename. patch
* Removed debian/
[ Łukasz 'sil2100' Zemczak ] protocol- private. so unity.lintian- overrides, libunity- core-6. 0-5.lintian- overrides: or-shlib- defines- rpath error, since
* debian/rules:
- added override for dh_shlibdeps to point it to the private directory of
libunity-
* debian/
debian/
- added override to silence the binary-
we are forced to use RPATH in our case
[ Didier Roche ] :GraphicsEngine ::QRP_GLSL_ Color() from :GraphicsEngine ::QRP_Color( ) from nux::BasePainte r::PaintBackgro und :ui::KeyboardUt il::GetKeycodeA boveKeySymbol( ) (LP: #920258) spreadsheet :ui::EdgeBarrie rController: :Impl:: OnPointerBarrie rEvent( ) gine::QRP_ GLSL_1Tex glDrawArrays) (LP: #1031554)
* New upstream release.
- [nvidia] compiz crashed with SIGSEGV in
nux:
nux:
(LP: #982626)
- Launcher - when a user starts dragging a item, any folded launcher icons
that are valid drop receptacles should unfold. (LP: #839717)
- running applications without an icon use a blank icon (LP: #886778)
- compiz crashed with SIGSEGV in
unity:
- still some accent issues with unity/nux (LP: #950740)
- Launcher doesn't autoscroll when holding an icon (can't reach trash)
(LP: #987223)
- Purchased items are not being added to the Unity launcher (LP: #925014)
- [GLES] framebuffer output scaled incorrect in both blur and items above
shell with multimonitor (LP: #1016789)
- [regression] [unity 6.0] Fullscreen windows flicker and/or never redraw
properly if panel_opacity<1.0 or dash is opened. (LP: #1024911)
- panel and launcher blinks when using libreoffice presenter/
(LP: #1024459)
- compiz crashed with SIGSEGV in
unity:
(LP: #1020075)
- Update to 1.6.4 (LP: #1014850)
- [nvidia] unity crashed in nux::GraphicsEn
(
- Dragging image from firefox/chrome to dock causes lagg/freeze
(LP: #772445)
- Launcher, Dash - Showing dash, via super key, with a quicklist shown
doesn't work (LP: #913994)
- REGRESSION: can't type characters with accent (dead keys) (LP: #961741)
- Launcher wrongly shows top tooltip when peforming the accordion effect
(LP: #980942)
- Unity Launcher Fails To Auto-Hide When Enabled & Installing Commercial
Software (LP: #1002440)
- logging out/in with mounted drives causes unity launcher icons to be
duplicated (LP: #1010714)
- Mounted volume icons doubled up in launcher (LP: #1010858)
- Launcher - when a user starts dragging a item, the launcher icons that
are *not* valid drop receptacles should be tinted (LP: #1020891)
- Alt+F4 does not close the hud when Numlock or Capslock are on.
(LP: #1022801)
- Unity shortcut overlay needs to include shortcut for video lens
(LP: #937334)
- padding between last quicklist item and bottom edge is non-deterministic
(changes randomly) (LP: #955158)
- give a way to remove 'Show Desktop' from the Alt-Tab items
(LP: #1014346)
- Multi...