Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Search bar automatically trims spaces in the UI #14486

Open
fwcd opened this issue Mar 16, 2025 · 2 comments
Open

Search bar automatically trims spaces in the UI #14486

fwcd opened this issue Mar 16, 2025 · 2 comments
Labels

Comments

@fwcd
Copy link
Member

fwcd commented Mar 16, 2025

Bug Description

The search field automatically seems to trim spaces when the user leaves the cursor idle for a moment:

Screen.Recording.2025-03-16.at.21.30.00.mov

Filing this as a bug, since at least from a UX perspective that feels unintuitive (and a bit annoying when taking a quick break while writing a search query).

Version

2.6/main (most recent snapshot build)

OS

macOS 15.2

@fwcd fwcd added the bug label Mar 16, 2025
@ronso0
Copy link
Member

ronso0 commented Mar 16, 2025

That happens after the auto-save timeout. Will take a look.

dhunstack added a commit to dhunstack/mixxx that referenced this issue Mar 19, 2025
As described in issue mixxxdj#14486, the search bar trims leading and
trailing spaces in user's current text input after the auto-save timeout.
This PR fixes the issue by removing the problematic `trimmed()` call.

Signed-off-by: Anmol Mishra <[email protected]>
@dhunstack
Copy link

Both leading and trailing spaces get trimmed. Was due to an erroneous trimmed() call.

Search.Autotrim.mov

dhunstack added a commit to dhunstack/mixxx that referenced this issue Mar 20, 2025
As described in issue mixxxdj#14486, the search bar trims leading and
trailing spaces in user's current text input after the auto-save timeout.
This PR fixes the issue by removing the problematic `trimmed()` call.
Adds fix for keeping search history clean.
Adds fix for duplicated inserts in query box.

Signed-off-by: Anmol Mishra <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants