SFML community forums

Bindings - other languages => DotNet => Topic started by: mkalex777 on October 06, 2015, 10:37:27 pm

Title: Keyboard.Key.Tilde is not recognized under linux
Post by: mkalex777 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: +_)(*&^%$#@!
Title: Re: Keyboard.Key.Tilde is not recognized under linux
Post by: Laurent on October 06, 2015, 10:53:37 pm
Make sure to read this first ;)

https://github.com/SFML/SFML/issues/7
Title: Re: Keyboard.Key.Tilde is not recognized under linux
Post by: mkalex777 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
Title: Re: Keyboard.Key.Tilde is not recognized under linux
Post by: zsbzsb 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.