Skip to content

Conversation

rswinkle
Copy link
Contributor

@rswinkle rswinkle commented Feb 22, 2025

@RobLoach you merged my last pull request so I'm taking that as approval to make similar changes to the other backends as appropriate. I've done so to all except rawfb since that's kind of special/unfinished.

As I said before, I'm unable to easily test the Windows backends but they all use the same input method so if one works they should all work.

In the process of going through everything I found a couple issues I hope someone else can verify:

  • glfw_gl4 demo crashes, something to do with the shaders, I didn't dig into it
  • SFML Makefiles fail on linux, removing the "-s" suffixes on the libraries fixes it for me
  • All SFML backends have a weird input bug

GL4 demo is crashing for me but it's nothing to do with my change
SFML seems to already treat both regular Return and Numpad
Enter as sf:Keyboard:Enter (which I changed because sf:Keyboard:Return
is deprecated.  But SFML seems to have some other weird input bug.
Copy link
Contributor

@RobLoach RobLoach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. Thanks a lot for the add.

SFML backends have a weird input bug

Do say more. Haven't tried sfml in a while.

@rswinkle
Copy link
Contributor Author

sfml_input_bug.mp4

Sorry for the delay. The first input seems fine but every subsequent one starts one character over and shows a ? there once you start typing and you also can't backspace. It's almost certainly an issue with the SFML backends not Nuklear itself or else we'd see it somewhere else.

@RobLoach
Copy link
Contributor

Definitely seems something with SFML. I haven't seen this happen in the other renderers.

@RobLoach
Copy link
Contributor

Made a follow up for that over at #783 . Overall, this change looks good. Thanks a lot.

@RobLoach RobLoach merged commit 2cb379b into Immediate-Mode-UI:master Feb 26, 2025
1 check passed
@rswinkle rswinkle deleted the support_numpad_enter2 branch March 5, 2025 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants