[OSM-talk] JOSM user interface

David Earl david at frankieandshadow.com
Wed Oct 10 10:07:27 BST 2007


On 10/10/2007 09:37, Tom Hughes wrote:
> In message <470C8B31.7060901 at dsl.pipex.com>
>         Chris Morley <c.morley at dsl.pipex.com> wrote:
> 
>> 1) The autocomplete facility on the dialog for adding tags really gets 
>> in the way. When you start to type, say, a name, the fist possibility 
>> starting with the letter you have typed appears highlighted. But the 
>> letter(s) you have typed should not be highlighted - then you could, if 
>> you wanted, just keep typing. As it is at present your second letter 
>> replaces everything and you lose your first letter. Working around this 
>> bug is tedious. Because of it, I have been using an old JOSM version 
>> from before the bug appeared, but, with the change in the API, this is 
>> no longer possible.
> 
> This seems to be a Windows specific issue - it works fine on linux.
> 
> My suspicion is that it's something to do with the edit control and
> Windows automatically clearing it when you start typing because of the
> highlight. Maybe on linux AWT has to do the clearing itself and knows
> not to in this case?
> 
> Basically on linux you get an incremental search behaviour and
> everything works lovely ;-)

I just compared the two and it is exactly that. In Windows (or Windows 
Classic) mode it selects the whole of the item after typing, so replaces 
it on typing another character; whereas the Metal on only selects the 
remaining characters.

David





More information about the talk mailing list