Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
Window
»
Bug in event TextEntered?
Print
Pages: [
1
]
Author
Topic: Bug in event TextEntered? (Read 6934 times)
0 Members and 1 Guest are viewing this topic.
peaman
Newbie
Posts: 8
Bug in event TextEntered?
«
on:
May 13, 2008, 08:28:26 am »
Hello
I wrote a program that displays text the user enters, but when one presses backspace it won't react to any subsquent input. Is this a bug?
Logged
Laurent
Administrator
Hero Member
Posts: 32498
Bug in event TextEntered?
«
Reply #1 on:
May 13, 2008, 09:22:38 am »
Which OS ? Which version of SFML ?
Logged
Laurent Gomila - SFML developer
peaman
Newbie
Posts: 8
Bug in event TextEntered?
«
Reply #2 on:
May 13, 2008, 10:21:03 am »
Version 1.2, windows xp
Logged
Laurent
Administrator
Hero Member
Posts: 32498
Bug in event TextEntered?
«
Reply #3 on:
May 16, 2008, 05:01:28 am »
I don't see any problem with the TextEntered event on Windows XP, it works fine.
You should just handle differently characters with ASCII code < 32, which are not printable characters.
Logged
Laurent Gomila - SFML developer
peaman
Newbie
Posts: 8
Bug in event TextEntered?
«
Reply #4 on:
May 16, 2008, 12:53:05 pm »
Ok, then the problem is when you try to draw a string with unprintable characters.
Thanks.
Logged
Laurent
Administrator
Hero Member
Posts: 32498
Bug in event TextEntered?
«
Reply #5 on:
May 16, 2008, 12:56:50 pm »
As I said, I have no problem with the current version. Can you try the SVN sources ?
Logged
Laurent Gomila - SFML developer
peaman
Newbie
Posts: 8
Bug in event TextEntered?
«
Reply #6 on:
May 16, 2008, 01:35:26 pm »
When I filter the characters 0-31, as you said, I don't have the problem anymore. That's fine with me. But you mean even that shouldn't be necessary?
I would like to try the SVN. Is there an easy way to download everything at once?
Logged
Laurent
Administrator
Hero Member
Posts: 32498
Bug in event TextEntered?
«
Reply #7 on:
May 16, 2008, 02:21:52 pm »
1- Download a SVN client (TortoiseSVN on Windows)
2- Checkout (download) the SFML repository (see
there
)
3- Compile SFML
Logged
Laurent Gomila - SFML developer
Print
Pages: [
1
]
SFML community forums
»
Help
»
Window
»
Bug in event TextEntered?