mozilla/gcli — Issue #51: Sample git add command UI not working properly
Author: kdvolder
Created: 2012-02-06 22:00:38+00:00
State: open

When I use the 'git add' that is included as a demo sample command, it works properly when I type the whole command in the input field for entering commands.

However trying to just use the 'UI dialog' to enter commands when I click 'add' button and type in the text box the focus to the input fields gets lost immediately after typing a single letter.

When you realize you can just enter all the text into the command input box at the bottom this is a minor inconvenience. But it does make the UI look rather flaky. So it would be good to either make it clear that I'm not supposed to enter text directly in those boxes, or make those text boxes actually work properly.

Tried in Firefox 9 and Google Chrome. Reproducible in both environments for me. I'm on Ubtunto 10.04 32 bit.

To reproduce you should try to *only* use the UI not the text input box at the bottom of the page. I found that if I started entering the command partially in the bottom of the page then click in the text box and type there... then the focus switches back to the input field, and this more or less works (letters appear in both input boxes)...

Another case where it goes wrong is if I added a few files in the list and then click any 'Files to add' box except the last one. Typing or deleting characters there will move focus back to the input line after the first character and we then end up typing / deleting text in the wrong place (i.e. the end of the command rather than the position in the command corresponding to text field that I was editing).