Comments (12)
What screen is this defect referring to?
from megaglest-source.
Both. First screen ("g" with hat) is in game chat after single RAlt+e (enabled some modifier mode and waits for next letter). Second screen shows in game key test for RAlt+e.
In both cases expected is "ę" character.
from megaglest-source.
Which page in the game are you typing this.
from megaglest-source.
1-st screen. New Game > Custom Game > Play now > Enter > RAlt+e (in the chat, single use RAlt+e)
2-nd screen. Options > Keyboard setup > RAlt+e (in the key test box)
from megaglest-source.
I have similar issues with the Euro ( € ) character. I cannot input it in irc chat in the lobby for example.
This works in sdl1.2 MG
from megaglest-source.
a bit unrelated but also ctrl+L - hidden language menu doesn't work (fixed since 6d0592d)
from megaglest-source.
since 6d0592d RAlt+e works different but still wrong (single use RAlt+e), because produces "e" and "g with hat" at once
from megaglest-source.
today I got idea about check/compare codes in key test, because maybe this may be somehow helpful, so now (sdl2) I see:
- for "e" : 101,101,0
- for "RAlt": 1073742054,1073742054,512
- for "RAlt+e": -60,-60,512
... and for old values (sdl1 / 3.11.1) I see:
- for "e" : 101,101,101,0
- for "RAlt": 313,313,0,16384
- for "RAlt+e": 101,281,281,16384
... so 3 values vs 4 values and for sure this long sdl2 numbers for "RAlt" look strange
from megaglest-source.
Suggestion: currently we use key events like MainMenu::keyPress and so on.
Thats ok for normal button pressed events in the game and so on. For real textinput ( active text input label ) its maybe better to use a new SDL2 way and use SDL_TextInputEvent directly in the places where text input is needed.
from megaglest-source.
on 76d41df in game I don't see any difference:
... on the "headless configuration screen" is the same situation:
... but in the lobby I see something different (first time I tested here, didn't expected differencess):
so in the lobby is very close (e + proper and expected: "ę") and second RAlt+e produces again "eę" so somehow modifier "g with hat" is not present here.
... but if I do "Ralt+e" and then "Backspace" (removing character before cursor) then I got same effect like in game:
... so for removing "ę" in the lobby I have to use "Backspace" twice :|.
from megaglest-source.
on 964c776 in game still old behavior ^.
... in the lobby "ę" works but backspace doesn't work at all, so you can't remove characters.
from megaglest-source.
on 81346ba all looks to be fixed :)
from megaglest-source.
Related Issues (20)
- warning: ‘throw’ will always call ‘terminate’
- Queueing commands after a morphing command cancels the morphing. HOT 2
- Add the option to use a texture for the mouse cursor
- The building rally point is not visible beyond a certain distance.
- Matrix chat room
- Double clicking on a game entry on the load menu should load the game HOT 3
- Implement ipv6 support
- CI needs additional tests for more recent compilers
- Doesn't build/can't link to ssh on Ubuntu 22.04 (Jammy) HOT 4
- Unfinished buildings can't be added to a control group with other buildings
- Units always get queued on the same building when there's not enough resources.
- Game goes OOS shortly after player rejoins (when rejoin is enabled) HOT 2
- Run game with command line argsument, required video device
- 3.13.0, Fedora 36, Crash on start HOT 1
- Gameserver: Please allow binding to given IP address
- crash when using a 'less than' sign within the unitDied section of scenario xml
- Add official portable Windows package for local installs
- libidn.so.11 not found HOT 6
- Build fails with LTO
- Failed to start start_megaglest_g3dviewer HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from megaglest-source.