Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-1748] Android : list of KS cases in which trackball does not give focus to onscreen elements

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionInvalid
Resolution Date2017-05-26T17:31:14.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsAndroid
Labelsandroid, focus, trackball
ReporterThomas Huelbert
AssigneeIngo Muschenetz
Created2011-04-15T03:01:15.000+0000
Updated2017-05-26T17:32:03.000+0000

Description

The following test cases require the user to tap the screen before the focus rect appears by way of the trackball. In some cases, if I use a tap to get to the test, the track ball works, but if I use the trackball to to make the selection, the resulting test wil not show the focus rect.

so,
trackball to make selection in list>trackball fails in test
finger tap in list>trackball works. That make any sense? :-P

Base UI>tab groups
Base UI>window Properties
Base UI>window layout
Base UI>window (Stand Alone) (all generated windows from this test)
Base UI>Custom Events
Base UI>View>scroll view>scrollable view (unable to focus on ui on bottom)
Base UI>Views>Table>Update rows
Base UI>views>options dialog

controls>slider
controls >button

Phone>sound

Comments

  1. Don Thorp 2011-04-15

    (from [5949bc7265e449dd0ae6e62b4b95b5ba77177f1c]) [#1748 state:fixed-in-qa] Code cleanup to not request getLayout() more than once. Fixed trackball focus. Since Android has the concept of touchable focus, your action on a preceding window in KS has an effect on the next window. For example, if you touch select a test, trackball focus will work on the next window. This seemed to be working before. If you trackball/dpad select, then it failed to let you use the trackball/dpad on the next activity. After the fix you should notice distinct behaviors. If you touch select and go to the next test, you will not see a focused item in most cases. If you trackball/dpad select then you will see a control with focus on the next Activity. http://github.com/appcelerator/titanium_mobile/commit/5949bc7265e449dd0ae6e62b4b95b5ba77177f1c"> http://github.com/appcelerator/titanium_mobile/commit/5949bc7265e44...

  2. Thomas Huelbert 2011-04-15

    These still fail (in that trackball does not give focus, wether its touch or trackball that invokes the window):

    Base UI> window (Stand Alone)> Open (plain)
    Base UI> window (Stand Alone)>Open (Nav Bar COvered)
    Base UI> window (Stand Alone)>Open (Fullscreen)

  3. Thomas Huelbert 2011-05-15

    closing to open
  4. Thomas Huelbert 2011-05-15

    issue noted in the comments persists. Was "open" "fixed in qe", closed and reopened so Don will see. Happy to punt to 1.8.0
  5. Lee Morris 2017-05-26

    Closing ticket as Invalid as this version of Kitchen Sink is no longer supported.

JSON Source