News:

Want to praise Simutrans?
Your feedback is important for us ;D.

[bug] Ctrl+V should be ignored when text input isn't focused

Started by z9999+, October 21, 2009, 12:27:22 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

z9999+

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.

Dwachs

:) Reminds me of vi: Put your name in vi and watch what happens :D Of course you are right ;)
Parsley, sage, rosemary, and maggikraut.

VS


My projects... Tools for messing with Simutrans graphics. Graphic archive - templates and some other stuff for painters. Development logs for most recent information on what is going on. And of course pak128!

Dwachs

bug report no longer valid after all the changes to the focus system and after introduction of clipboard functions.
Parsley, sage, rosemary, and maggikraut.