Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Keyboard.Key.Tilde is not recognized under linux  (Read 3962 times)

0 Members and 1 Guest are viewing this topic.

mkalex777

  • Full Member
  • ***
  • Posts: 206
    • View Profile
Keyboard.Key.Tilde is not recognized under linux
« on: October 06, 2015, 10:37:27 pm »
I'm using Key.Tilde (key "`") to open console in my game.
But when I run it under linux, this key doesn't work.
I logged Window.OnKeyPressed event and found that it receives Key.Unknown if user pressed Key.Tilde.
So it seems like bug...

Update: also the same issue with Key.Quote and all symbols which is entered with Shift key, for example: +_)(*&^%$#@!
« Last Edit: October 06, 2015, 10:44:25 pm by mkalex777 »

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: Keyboard.Key.Tilde is not recognized under linux
« Reply #1 on: October 06, 2015, 10:53:37 pm »
Make sure to read this first ;)

https://github.com/SFML/SFML/issues/7
Laurent Gomila - SFML developer

mkalex777

  • Full Member
  • ***
  • Posts: 206
    • View Profile
Re: Keyboard.Key.Tilde is not recognized under linux
« Reply #2 on: October 07, 2015, 12:12:58 am »
Make sure to read this first ;)

https://github.com/SFML/SFML/issues/7

Sorry, I didn't seen it :)

Also I found another SFML bugs. Could you please look it?

1) It seems that Fullscreen mode on linux has a lot of bugs, something is going wrong with system after switch to fullscreen mode. App still works, but when I trying to shutdown the system it hung. Also see my finding #2

2) Fullscreen mode window doesn't handle resize event properly on Windows XP and Linux. Some artefacts appears at the bottom of the screen and it still exists after switch back to window mode.
Also Window.Size sometimes reports invalid size in fullscreen mode (it's bigger that display size). I'm not sure but it may be result of some hidden bug which corrupt memory or something like that.

On Windows 7 and Windows 10 fullscreen works OK.

3) On Windows XP app close causes crash with Access violation on read protected memory

zsbzsb

  • Hero Member
  • *****
  • Posts: 1409
  • Active Maintainer of CSFML/SFML.NET
    • View Profile
    • My little corner...
    • Email
Re: Keyboard.Key.Tilde is not recognized under linux
« Reply #3 on: October 07, 2015, 12:31:35 am »
You should download and compile SFML 2.3.2 as there has been many bug fixes and changes to the linux implementation.
« Last Edit: October 07, 2015, 12:34:21 am by zsbzsb »
Motion / MotionNET - Complete video / audio playback for SFML / SFML.NET

NetEXT - An SFML.NET Extension Library based on Thor

 

anything