The International Simutrans Forum

Development => Patches & Projects => Incorporated Patches and Solved Bug Reports => Topic started by: z9999+ on October 21, 2009, 12:27:22 pm

Title: [bug] Ctrl+V should be ignored when text input isn't focused
Post by: z9999+ on October 21, 2009, 12:27:22 pm
Windows SDL, GDI
If you used Ctrl+V when input isn't focused, simutrans recognize each character as commad.
Ctrl+V should be ignored when text input isn't focused.

[EDIT]
For example.
1. Start simutrans with pak128.
2. Copy text below to clipboard

Quote
Stesttest
Ltesttest
cX

3. Activate simutrans window.
4. Press Ctrl+V

Result:
1. Save game as testtest.sve.
2. Load testtest.sve.
3. Take a screenshot
4. Quit simutrans.
Title: Re: [bug] Ctrl+V should be ignored when text input isn't focused
Post by: Dwachs on October 21, 2009, 01:35:35 pm
:) Reminds me of vi: Put your name in vi and watch what happens :D Of course you are right ;)
Title: Re: [bug] Ctrl+V should be ignored when text input isn't focused
Post by: VS on October 21, 2009, 03:20:56 pm
Keep it under another shortcut as macros! ;D
Title: Re: [bug] Ctrl+V should be ignored when text input isn't focused
Post by: Dwachs on August 03, 2010, 07:28:02 pm
bug report no longer valid after all the changes to the focus system and after introduction of clipboard functions.