[unity-2d] FF exception to add PointerBarrier to Unity2d
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
unity-2d |
Fix Released
|
High
|
Albert Astals Cid | ||
unity-2d (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
PointerBarrier is an important part of the desktop specification for the Precise cycle. It creates an XPointerBarrier with additional logic to detect if a mouse is pushing against the barrier, triggering Launcher reveal if over a certain pressure, and causing the barrier to drop if over a higher pressure.
This feature is currently in place in Unity. So for feature parity, Unity 2D needs this also.
Please find the ready-to-merge MR for this feature attached to this bug report.
Testing is 2-fold: first there is a comprehensive unit test of the PointerBarrier class, which runs inside a fake Xserver and manipulates the mouse to ensure the barrier operates properly.
Second, our automated UX tests have been updated to reflect the change from Mouse-over area to PointerBarrier, and all previous behaviour of the Launcher is maintained
Please find pbuilder logs attached.
Related branches
- Gerry Boland (community): Approve
-
Diff: 1524 lines (+1187/-52)22 files modifiedCMakeLists.txt (+4/-0)
data/com.canonical.Unity2d.gschema.xml (+38/-0)
debian/control (+1/-0)
libunity-2d-private/CMakeLists.txt (+1/-0)
libunity-2d-private/Unity2d/plugin.cpp (+4/-0)
libunity-2d-private/src/CMakeLists.txt (+5/-0)
libunity-2d-private/src/decayedvalue.cpp (+65/-0)
libunity-2d-private/src/decayedvalue.h (+45/-0)
libunity-2d-private/src/pointerbarrier.cpp (+361/-0)
libunity-2d-private/src/pointerbarrier.h (+154/-0)
libunity-2d-private/src/pointerbarriermanager.cpp (+84/-0)
libunity-2d-private/src/pointerbarriermanager.h (+44/-0)
libunity-2d-private/tests/CMakeLists.txt (+4/-0)
libunity-2d-private/tests/pointerbarriertest.cpp (+312/-0)
shell/Shell.qml (+11/-18)
shell/common/visibilityBehaviors/AutoHideBehavior.qml (+6/-12)
shell/common/visibilityBehaviors/IntelliHideBehavior.qml (+5/-5)
shell/launcher/Launcher.qml (+23/-1)
shell/launcher/LauncherLoader.qml (+3/-13)
tests/launcher/autohide_show_tests.rb (+6/-0)
tests/launcher/autohide_show_tests_common.rb (+5/-3)
tests/launcher/autohide_show_tests_rtl.rb (+6/-0)
Changed in unity-2d (Ubuntu): | |
importance: | Undecided → High |
Changed in unity-2d: | |
status: | New → Confirmed |
milestone: | none → 5.8 |
importance: | Undecided → High |
Changed in unity-2d: | |
status: | Confirmed → Fix Committed |
assignee: | nobody → Albert Astals Cid (aacid) |
Changed in unity-2d: | |
milestone: | 5.8 → 5.7 |
Changed in unity-2d: | |
status: | Fix Committed → Fix Released |
When would this be able to land and be user visible after integration testing in Ubuntu?