Here is my feedback about the SFML 2 port.
1. When using fullscreen mode, you can only use the desktop video mode. Any other video mode will fail, saying it's invalid.
2. WaitEvent() works.. weirdly. I don't really know how it's supposed to behave. The documentation says it would return false whenever an error occurs. With the current implementation it will return false if :
- I move the mouse cursor when it's outside of the OpenGL area
- I move the window
- I use the mouse wheel when the cursor is outside of the OpenGL area but still on the application (menu bar, window title bar)
- I press the key modifiers (Fn, Shift, Caps Lock, Ctrl, Alt, Cmd), the ')' key; and the luminosity, playing controls or sounds keys
- the window loses or gains focus (but not when giving back the focus while clicking the app icon in the Dock)
Is it the expected behavior ?
3. As for the events being received, all of the keys seem to work fine except the one given above. Pressing the ')' key will print "Unknown key (released)" and "Unknown key (pressed)".
4. The arrow keys produce a text entered event but I suppose they should not.
5. sf::Window::SetPosition(0, 0) does not put the window at the right place as far as the Y axis is concerned.
6. Using sf::Window::SetSize() will produce 5 resize events whereas I suppose I should only get 1 (or 0 ?).
7. sf::Window::EnableKeyRepeat() has no effect. Key repeating is always enabled.
8. There is no working directory set. Thus the working directory is the directory containing the bundle application when launching from Xcode, and the user home directory when launching from the Finder. It is the expected behavior ?
9. Creating a window and then calling sf::Window::Create() on the same window object makes the app crash randomly.
That "all" I've to say for now, have fun !