lp:~stolowski/unity-2d/hud-mouse-steals-focus-fix

Created by Paweł Stołowski and last modified
Get this branch:
bzr branch lp:~stolowski/unity-2d/hud-mouse-steals-focus-fix
Only Paweł Stołowski can upload to this branch. If you are Paweł Stołowski please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Paweł Stołowski
Project:
unity-2d
Status:
Development

Recent revisions

1024. By Paweł Stołowski

Use resultList.incrementCurrentIndex() / decrementCurrentIndex() instead of incrementing/decrementing currentIndex directly.

1023. By Paweł Stołowski

[hud] Prevent search entry from stealing focus on mouse click, rendering up/down keys unusable.
Up/Down keys update currentIndex of resultsList. Changed color & width property code in ResultItem
to report color/width based on whether it's current item, rather than relying on "selected" state
of AbstractButton.

1022. By Paweł Stołowski

Fix testability test - use global Y as starting results postion rather then local Y.

1021. By Paweł Stołowski

Tests - added sleep to ensure hud service is connected. Added some comments.

1020. By Paweł Stołowski

Tests - expect 6 rows in hud search results.

1019. By Paweł Stołowski

Added testability tests for hud search results highlighting and keyboard/mouse nvaigation.

1018. By Paweł Stołowski

Call forceActiveFocus() on mouseover change to workaround an issue when clicking on hud search entry steals focus and highlight is no longer visible and
keyboard navigation doesn't work. This workaround makes highlight visible for mouse, but doesn't fully solve keyboard navigation issue.

1017. By Paweł Stołowski

[hud] Highlight one item only in hud results.
Moving mouse over an item sets currentIndex in the model, rather than relying on "selected" or "hovered" state.
This makes it impossible to have different items highlighted with keyboard and mouse.
TODO: there is still an occasional misbehavior - sometimes highlight disappears completly.

1016. By Launchpad Translations on behalf of unity-2d-team

Launchpad automatic translations update.

1015. By Launchpad Translations on behalf of unity-2d-team

Launchpad automatic translations update.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:unity-2d
This branch contains Public information 
Everyone can see this information.