Skip to content

[Bug]: Autosuggest for Locations/Dive guide/Dive buddys autocompletes the fields instead #4827

@Karlovsky120

Description

@Karlovsky120

Description

I'm using Subsurface-mobile for Android, the currently latest play store build (6.0.5612.0).

Before the major update, when you were entering the name of the location, the UI would autosuggest which location you might be entering, based on current input. As you put in more letters, the suggestion would be more refined, but it wouldn't be entered until you accepted it (by pressing return on the keyboard, if I remember correctly).

However, since the update, instead of suggesting the location, as soon as it finds a match, it will complete it outright (as though you immediately accepted the first suggestion that was shown).

The same happens with the dive guide and buddy fields. I haven't witnessed it on other fields, but any fields that have the same behavior are most likely affected.

I'm guessing the bug is caused by Qt major version update where some property of the field was not correctly set.

Subsurface Version

6.0.5612.0

Platform(s)

Android

Platform Version

Android 15 AP3A.240905.015.A2 (Xiaomi HyperOS 2.0.216.0.VMFEUXM)

Divecomputer Model

No response

Steps to Reproduce

  1. Open subsurface
  2. Make sure there exists a location that starts with a letter "P" somewhere in the log (eg. Plavi Jadran)
  3. Open any dive
  4. Clear the location field
  5. Enter letter "A" into the location field

Expected behavior: "Plavi Jadran" is suggested as autosuggest - you can either continue typing other letters, in which case it goes away if the letters don't match (eg. the second letter typed is "e"), or you can accept the suggestion in which case it autocompletes it to "Plavi Jadran"

Actual behavior: "Plavi Jadran" is autocompleted instantly, as though you accepted the suggestion in the scenario above.

Logs

Mentions

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions