Bug 569652 - CreateTagDialog: caret jumps to front in "tag name" field
Summary: CreateTagDialog: caret jumps to front in "tag name" field
Status: RESOLVED FIXED
Alias: None
Product: EGit
Classification: Technology
Component: UI (show other bugs)
Version: 5.10   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 5.11   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-11 04:53 EST by Thomas Wolf CLA
Modified: 2020-12-11 18:19 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Wolf CLA 2020-12-11 04:53:31 EST
Not a new bug, but first noticed in 5.10:

Steps to reproduce:

0. Run on a case-insensitive filesystem.
1. Have a tag named "Tag1".
2. Choose "Create tag..." on some commit from the history view.
3. Type "TAg10" in the tag name field. (Yes, with capital 'A'.)

Expected result:

* The text field contains the text "Tag10"

Actual result:

* The text field contains the text "0Tag1"

The dialog checks while typing whether there is an existing tag matching the input. Once you've typed "TAg1", it finds the existing tag "Tag1". Because "Tag1" != "TAg1", it'll update the text field and set it to "Tag1". The caret jumps to the beginning, and when the '0' key is hit, we end up with "0Tag1".
Comment 1 Eclipse Genie CLA 2020-12-11 05:37:30 EST
New Gerrit change created: https://git.eclipse.org/r/c/egit/egit/+/173690