The International Simutrans Forum

Development => Patches & Projects => Incorporated Patches and Solved Bug Reports => Topic started by: Oldie on May 13, 2024, 07:59:31 AM

Title: 124 (and later) factory renaming
Post by: Oldie on May 13, 2024, 07:59:31 AM
Something a bit weird happens when I try to rename a factory (pak192.comic in use).

If I type a bit slowly the factory name text box changes to what I typed in the last few milliseconds or so and selects that as the entire text. The next keypress deletes the entire text and replaces it with that key.

I cannot type fast enough to keep up with this.

Also, hard to provide a pictorial evidence.

tia for having a look at this.
Oldie

p.s. It only happens for factories.
Title: Re: 124 (and later) factory renaming
Post by: RESTRICTED ACCOUNT on May 13, 2024, 08:59:20 AM
Quote from: Oldie on May 13, 2024, 07:59:31 AMThe next keypress deletes the entire text and replaces it with that key.
Strictly speaking, the string you type is automatically selected as soon as you type it. Therefore, if you input continuously, the new input will overwrite it.
Anyway, it seems like a bug where the input string is automatically selected.
Title: Re: 124 (and later) factory renaming
Post by: prissi on May 20, 2024, 07:48:22 AM
Should be fixed with r11212