While searching often times the keyboard hides while typing

Bug #1514143 reported by Victor Thompson on 2015-11-08
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical System Image
Critical
Zoltan Balogh
Ubuntu Music App
High
Unassigned
ubuntu-ui-toolkit (Ubuntu RTM)
Critical
Tim Peeters

Bug Description

On rc-proposed when searching the keyboard often hides momentarily making it possible/likely that the user can accidently select an item when they intend to type a letter instead.

If this is an issue that can not be worked around, potentially an acceptable solution would be to wait to filter the items until the user stops typing.

phablet@ubuntu-phablet:~$ system-image-cli -i
current build number: 152
device name: mako
channel: ubuntu-touch/rc-proposed/bq-aquaris.en
last update: 2015-11-04 23:03:12
version version: 152
version ubuntu: 20151105
version device: 20150911

Related branches

Victor Thompson (vthompson) wrote :

This seems to have been introduced by the update to UC1.3 in r932. So perhaps this might be an issue other apps that use search (weather? clock?) are also affected.

Victor Thompson (vthompson) wrote :

The text field goes inactive when the filtering changes the view enough and this seems to cause the keyboard to disappear, until the TextField is active again.

Changed in music-app:
status: New → Triaged
importance: Undecided → High
Victor Thompson (vthompson) wrote :

Currently the default AppHeader for the MainView is disabled when it's not exposed of if it's "moving". What this seems to do is also disable the header when the data in the view is loading or changing. This means that the music app's search feature currently causes the OSK to show and hide as the contents refresh during a search. Is there a way to override the AppHeader's enabled property?

Here is a simple example of this issue: https://code.launchpad.net/~vthompson/+junk/test-1514143

Victor Thompson (vthompson) wrote :

I'd appreciate a workaround, as we are getting pressure to land the app with UC1.3 support, and also think this needs to be fixed. The C++ header's "moving" property is not behaving as it should.

Zsombor Egri (zsombi) wrote :

Unfortunately there's no workaround for this. AppHeader has a binding on enabled, which cannot be worked around. This is indeed a use case we had not thought enough about. Sorry, we'll fix it ASAP!

Changed in ubuntu-ui-toolkit (Ubuntu):
importance: Undecided → Critical
status: New → Confirmed
assignee: nobody → Tim Peeters (tpeeters)
Tim Peeters (tpeeters) on 2015-11-16
Changed in ubuntu-ui-toolkit (Ubuntu):
status: Confirmed → In Progress
Pat McGowan (pat-mcgowan) wrote :

Consider a hotfix

Changed in canonical-devices-system-image:
assignee: nobody → Zoltan Balogh (bzoltan)
importance: Undecided → Critical
milestone: none → ww02-2016
status: New → In Progress
tags: added: hotfix

Fix committed into lp:music-app at revision 941, scheduled for release in music-app, milestone 3.0

Changed in music-app:
status: Triaged → Fix Committed
Tim Peeters (tpeeters) on 2015-11-19
Changed in ubuntu-ui-toolkit (Ubuntu):
status: In Progress → Fix Committed
Changed in music-app:
status: Fix Committed → Fix Released
Zoltan Balogh (bzoltan) on 2015-12-02
affects: ubuntu-ui-toolkit (Ubuntu) → ubuntu-ui-toolkit (Ubuntu RTM)
Łukasz Zemczak (sil2100) wrote :
Download full text (6.8 KiB)

This bug was fixed in the package ubuntu-ui-toolkit 1.3.1742+15.04.20151209-0ubuntu1 in https://launchpad.net/~ci-train-ppa-service/+archive/ubuntu/stable-phone-overlay

---------------

ubuntu-ui-toolkit (1.3.1742+15.04.20151209-0ubuntu1) vivid; urgency=medium

  [ Zoltán Balogh ]
  * Enable building the UITK tests in any case.
  * Remove Q_Q(UCStyledItemBase) because of unused variable warning.
  * Resolve Trusty specific compiler issue not resolving QPointer data on
    connections.
  * Use only the object name when selecting sections and labels in tests.

  [Zsombor Egri ]
  * Update BottomEdge with UI/UX agreed during the sprint. Fixes LP: #1368811.
  * BottomEdge component. Fixes LP: #1368811.
  * Remove build failure on Xenial caused by deprecated Qt functions.
  * Fix BottomEdgeHint consumes activeFocusOnPress handling. Fixes LP: #1517777
  * Migrate DirectionalDragArea from Unity8, named as SwipeArea. Original code
    (from lp:unity8) by: Daniel d'Andrada <email address hidden>.
  * Delete QQuickView when the application quits. Fixing segfault caused by the
    dangling objects in GestireDetector.
  * BottomEdgeHint API changes, deprecating state property, introducing locked
    property to drive visuals lock and click handling.
  * Fixing CheckBox and Switch getting checked property altered after clicked()
    signal is emitted. Fixes LP: #1510919.
  * Add ListItem.swipeEnabled property to block swiping when overlay MouseArea
    is used to drag content. Fixes swiping when leading/trailing actions list
    is empty. Fixes LP: #1500409, LP: #1500416.
  * Follow the new design in BottomEdgeHint.
  * Provide import version information for StyledItem and remove theme.version
    obsolete property.
  * Use QQuickItemChangeListener to listen parent changes, skipping the meta
    object model. Convert UCThemingExtension into a Q_INTERFACE so object_cast<>
    can work with it saving the need to memorise on an item whether it is an
    extended item or not.
  * Set mouseAttached to false to revert regression in UITK gallery.
  * Remove BottomEdgeHint from UITK gallery's MainPage.qml which occludes with
    the bottom-up dragging of the ListView.

  [ Benjamin Zeller ]
  * Avoid unnecessary updates for i18n strings.
  * "MathUtils.clamp, min value should not be bigger than the max value".
    Fixes LP: #1520557.
  * Move MathUtils to Cpp.

  [ Loïc Molinari ]
  * UbuntuShape - Fixed deprecation logging issues.
  * This fix prevents logging a deprecation warning for "image", "color" and
    "gradientColor" properties when the import version is less than 1.3. The
    logging of properties used internally (through the old image wrapper) have
    been removed too since the user might not even have used them.
    Fixes LP: #1519414.

  [ Christian Dywan ]
  * Enable gallery target in qmake.
  * Don't set activeFocusOnPress on TextField but on child only.
    Fixes LP: #1486274, LP: #1513897.
  * Make runtest.sh work out of the box again.
  * Explicitly handle keyboard anchoring in dialog foreground.
    Fixes LP: #1376763.
  * Remove GestureDetector in favor of SwipeArea in BottomEdgeHint. Also make
    possible to assign Action to the ...

Read more...

Changed in ubuntu-ui-toolkit (Ubuntu RTM):
status: Fix Committed → Fix Released
Changed in canonical-devices-system-image:
status: In Progress → Fix Committed
Changed in canonical-devices-system-image:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers