project-navigation
Personal tools

Author Topic: Text Strangeness?  (Read 5705 times)

Offline MonkeyHead

  • Squad Leader
  • ****
  • Posts: 127
    • View Profile
Text Strangeness?
« on: August 10, 2013, 07:39:44 pm »
Recently downloaded the 2.5 dev version (10th August build), and have some strangeness going on with text input. Alphanumeric keys act as expected, but shift outputs an "a"-like symbol, Fn and Ctrl do similar, and arrow keys output captal letters as do the function keys and pgup/dn. This makes it hard to name bases and edit names. Is this known, reproducible by others or is there a workaround? I do play on a laptop (knowing that thier keyboards are often non-standard) but have not had this issue with previous builds.
« Last Edit: August 10, 2013, 08:47:36 pm by MonkeyHead »

Offline H-Hour

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 1923
    • View Profile
Re: Text Strangeness?
« Reply #1 on: August 10, 2013, 09:55:21 pm »
Every long once-in-a-while I find my ESC key stops working properly. When this happens, I (Windows 7 user) delete /APP_DATA/ufoai/2.5-dev/keys.cfg. Then I reload the game and it seems to work alright. Maybe try that?

(keys.cfg is in the same folder where your ufoconsole.log and save files are stored)

Offline MonkeyHead

  • Squad Leader
  • ****
  • Posts: 127
    • View Profile
Re: Text Strangeness?
« Reply #2 on: August 10, 2013, 10:00:57 pm »
Tried it, no joy. As I am not sure whats causing this, I have no idea if this is a wider issue or one only I am having - this only started happening with todays build which is suspicious.

Offline DarkRain

  • Project Coder
  • Captain
  • ***
  • Posts: 746
    • View Profile
Re: Text Strangeness?
« Reply #3 on: August 11, 2013, 12:39:49 am »
Maybe related to the nightly using SDL2 now?

Offline MonkeyHead

  • Squad Leader
  • ****
  • Posts: 127
    • View Profile
Re: Text Strangeness?
« Reply #4 on: August 11, 2013, 12:57:38 am »
Hmm. So is this a problem with my laptop not liking SDL2 or an issue in the game code?

Possible relevant link: http://wiki.libsdl.org/moin.fcg/CategoryKeyboard
« Last Edit: August 11, 2013, 01:16:59 am by MonkeyHead »

Offline DarkRain

  • Project Coder
  • Captain
  • ***
  • Posts: 746
    • View Profile
Re: Text Strangeness?
« Reply #5 on: August 11, 2013, 01:45:27 am »
Hmmm... I don't have SDL2 installed ATM (linux), so I can't test, you should probably make a report in our tracker.

Offline MonkeyHead

  • Squad Leader
  • ****
  • Posts: 127
    • View Profile
Re: Text Strangeness?
« Reply #6 on: August 11, 2013, 09:26:24 am »
Not for the first time, I have attampted to create an account on the bug tracker and run into wierdness where I cannot properly verify an account, passwords dont work, and an account reset email is apparently forbidden and I need to contact an administrator (which is hard without a working butracker account).

Offline H-Hour

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 1923
    • View Profile
Re: Text Strangeness?
« Reply #7 on: August 11, 2013, 10:02:02 am »
I've activated your account, MonkeyHead. You should be able to login with the password you used to sign up.

(I thought we fixed the registration problems with the bug tracker, but I guess there are still some issues lingering.)

Offline MonkeyHead

  • Squad Leader
  • ****
  • Posts: 127
    • View Profile
Re: Text Strangeness?
« Reply #8 on: August 11, 2013, 10:18:33 am »
Thank you, will go try and post a bug report. I shall also see if I can track down a build from before the change to SDL2 on the 8th to try and confirm the switch as the cause of the error.

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: Text Strangeness?
« Reply #9 on: August 11, 2013, 11:07:43 am »
Thanks for reporting - I've just fixed some text input handling. Please retry with the next nightly build and let us know whether it works again for you. Thanks a lot.

Offline MonkeyHead

  • Squad Leader
  • ****
  • Posts: 127
    • View Profile
Re: Text Strangeness?
« Reply #10 on: August 11, 2013, 11:24:45 am »
tomorrow morning I will download the latest nightly build and let you know! Thanks everyone.

Offline MonkeyHead

  • Squad Leader
  • ****
  • Posts: 127
    • View Profile
Re: Text Strangeness?
« Reply #11 on: August 13, 2013, 11:43:37 am »
Just downloaded and installed the Aug 13th nightly build. The isse has changed. Text input now is almost correct regarding correct sybols and keystrokes, apart from the fact that after each and every letter, number and symbol the game now adds a "H" symbol. I shall go and post this back on the bug tracker.

Offline MonkeyHead

  • Squad Leader
  • ****
  • Posts: 127
    • View Profile
Re: Text Strangeness?
« Reply #12 on: August 18, 2013, 03:02:13 pm »
No joy on fixing this second issue yet? I know it seems like a minor thing, but for someone with familiartiy with the game code and SDL2 (which tbh sure is not me) it sounds like low hanging fruit...

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: Text Strangeness?
« Reply #13 on: August 18, 2013, 08:26:41 pm »
should be fixed in the next nightly

Offline MonkeyHead

  • Squad Leader
  • ****
  • Posts: 127
    • View Profile
Re: Text Strangeness?
« Reply #14 on: August 19, 2013, 12:46:10 pm »
Thank you - all works perfectly now.