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

Font size input field bug: Single digit becomes "5" after deleting second digit #10153

Open
ZheCheng opened this issue Jan 4, 2025 · 0 comments
Labels

Comments

@ZheCheng
Copy link

ZheCheng commented Jan 4, 2025

Describe the problem:
When modifying the font size setting in Tabby's Appearance preferences, there is an unexpected behavior when editing two-digit numbers. When deleting the second digit of a two-digit number using backspace, the remaining first digit automatically changes to "5".

To Reproduce:

  1. Go to Tabby Settings -> Appearance
  2. Locate the font size input field
  3. Enter a two-digit number (e.g., "12")
  4. Place cursor after the second digit
  5. Press backspace to delete the second digit
  6. Observe that the remaining first digit ("1") changes to "5"

Expected Behavior

  • When deleting the second digit of a two-digit number, the first digit should remain unchanged
  • In the example above, "12" should become "1" after deleting "2"

Actual Behavior

  • When deleting the second digit, the first digit is automatically changed to "5"
  • For example, "12" becomes "5" instead of "1" after deleting "2"

Environment

  • Tabby Version: 1.0.216
  • Operating System: macOS Sequoia 15.2
  • Processor: Apple M1

Additional Notes

  • The issue occurs specifically when using backspace to delete digits

20250104-174227

@ZheCheng ZheCheng added the T: Bug label Jan 4, 2025
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

1 participant