Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
T
tails
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 955
    • Issues 955
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 14
    • Merge Requests 14
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • tails
  • tails
  • Issues
  • #12359

Closed
Open
Opened Mar 17, 2017 by anonym@anonymMaintainer

Language selector in the revamped Greeter always picks top entry when Enter is pressed

Originally created by @anonym on #12359 (Redmine)

This might make sense most of the time, but not when the search field is empty. Here’s an example:

  • Boot Tails and stop at the Greeter. Notice that “Language” is focused.
  • If I press Enter, it will open the Language selector pop-up.
  • If I press Enter again (i.e. no text was ever typed into the search field), the top entry is applied, which happens to be “Afar - Djibouti”. I suspect this is not what users will expect.

I fear this will happen a lot to users that are used to just pressing Enter at the Greeter to start Tails with the defaults.

A simple fix would be that, in the Language selector pop-up, if the search field is empty, pressing Enter simply closes pop-up without changing the language settings.

Note: this bug probably affects all other “selectors pop-ups” as well, e.g. Keyboard layout and Formats, and should be fixed there too.

Here are two slightly different behavior related to illustrate this issue. They are probably both related but we should make sure that the fix for the first one should also fix the second one.

1.

  • Start Tails.
  • English is selected.
  • Open the popup: English is still selected (expected).
  • Press Enter: Afar - Djibouti is selected. It should instead stick to English.

2.

  • Open the popup. Type “ara” and press Enter.
  • Aragonese is selected (expected).
  • Open the popup again: “ara” is still typed in and Aragonese is selected (expected).
  • Press Enter: Aragonese is still selected (expected).
  • Open the popup again.
  • Press Backspace: “ara” gets deleted (expected) but Aragonese is still selected (expected).
  • Press Enter: Afar - Djibouti is selected. It should instead stick to Aragonese.

Feature Branch: bugfix/12359-fix-enter-empty-searchentry

Parent Task: #8230 (closed)

Edited May 15, 2020 by anonym
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Tails_3.0
Milestone
Tails_3.0 (Past due)
Assign milestone
Time tracking
None
Due date
None
Reference: tails/tails#12359