View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0004442 | Spring engine | General | public | 2014-06-17 13:53 | 2015-01-07 11:36 |
| Reporter | silentwings | Assigned To | abma | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | resolved | Resolution | fixed | ||
| Product Version | 97.0.1+git | ||||
| Fixed in Version | 99.0 | ||||
| Summary | 0004442: beep noise with alt+key in windows & windowed mode | ||||
| Description | Everytime i give spring some input using alt + some key (e.g. alt + f to force gamestart, alt + -/+ to change gamespeed) Windows plays a "beep" noise - a noise that would normally only be played if some sort "input not accepted" error has occured. I don't get a beep when double pressing alt to change chat mode and I don't get a beep when using alt+enter to maximise screen but I do get a beep when pressing alt+enter to un-maximise screen! The input given always executes successfully; I have no idea why the beep occurs. Tested with 97.0.1-20-gcd4602b. Win7, 64-bit. | ||||
| Tags | No tags attached. | ||||
| Attached Files | |||||
| Checked infolog.txt for Errors | |||||
|
|
This is still present in 97.0.1-126 |
|
|
maybe try /keydebug to get more info about keys pressed?! |
|
|
attached infolog of a single press of alt+f to forcestart a single player game (and a press of enter before that because i had to type /keydebug) |
|
|
I know this sounds stupid, but have you double checked windows accessibilty options like stickykeys et al? They can sometimes be turned on by normal game activity like spamming shift or alt 5 times. |
|
|
Open the windows volume mixer and mute Spring to make sure that the sound is coming from Spring. |
|
|
Nice idea GF - turns out the sound does play even when Spring is muted (which is what I'd have expected since it is a normal Windows sound to make). But, outside of Spring, the same key combinations do not cause any sound to play and I have no "ease of access options" at all enabled, so I strongly suspect that Spring<->Windows interaction is to blame. |
|
|
doesn't happen in 96.0 for me: very likely because of the switch to sdl2 i get no beeps in fullscreen mode, beeps only in windowed mode. grabinput disabled/enabled doesn't change behaviour. |
|
|
can be reproduced by running spring.exe -w and pressing alt++ in the menu. |
|
|
doesn't beep with WindowBorderless = 1 |
|
|
very likely a SDL2 bug, i've reported it upstream: https://bugzilla.libsdl.org/show_bug.cgi?id=2669 |
|
|
chromium has this bug, too it seems: https://code.google.com/p/chromium/issues/detail?id=105500 it doesn't beep when SDL captures WM_SYSCHAR, but this is the wrong approach, i guess TranslateMessage() needs to be called in WM_SYSKEYDOWN see http://msdn.microsoft.com/en-us/library/windows/desktop/ms646357%28v=vs.85%29.aspx edit: some solution in delphi: https://stackoverflow.com/questions/24314154/still-getting-the-ding-sound-even-though-key-0 mooore info: http://lists.libsdl.org/htdig.cgi/sdl-libsdl.org/2012-April/650284.html |
|
|
currently i'm out of ideas how to fix it, i've an env to easly test changes in SDL but idk whats really wrong, the SDL/Windows code is difficult to understand. now the question is, is this a release blocker or not? imo very few people will be affected, but idk. thoughts? |
|
|
no goal for 98.0 as its a SDL bug and shouldn't affect a lot of people (just switch back to fullscreen if needed) |
|
|
For me this is not a release blocker. |
|
|
This is still present in 97.0.1-425, behe can also reproduce with any alt+key combo (and I suspect so can all win users). |
|
|
no need to check this bug until the upstream bug isn't fixed. :) upstream some patch exists, but this would require to patch & compile SDL + update mingwlibs + test it = A LOT OF WORK |
|
|
does it work with this file? https://github.com/spring/mingwlibs/blob/master/dll/SDL2.dll?raw=true compiled SDL2.0.3 with the patch from https://bugzilla.libsdl.org/show_bug.cgi?id=2669. |
|
|
just replace the existing SDL2.dll in your spring dir. |
|
|
This seems to be fixed in 98.0.1-250 |
|
|
https://github.com/spring/mingwlibs/commit/d7cea7396931633fde05035c3c9d0f395817def3 |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2014-06-17 13:53 | silentwings | New Issue | |
| 2014-06-29 20:01 | silentwings | Note Added: 0013391 | |
| 2014-07-07 19:56 | abma | Note Added: 0013422 | |
| 2014-07-07 21:53 | silentwings | Note Added: 0013423 | |
| 2014-07-07 21:53 | silentwings | File Added: infolog.txt | |
| 2014-07-07 21:55 | silentwings | Note Edited: 0013423 | |
| 2014-07-25 14:29 | Beherith | Note Added: 0013438 | |
| 2014-07-26 09:52 | Google_Frog | Note Added: 0013441 | |
| 2014-07-27 21:06 | silentwings | Note Added: 0013445 | |
| 2014-07-27 22:03 | abma | Target Version | => 98.0 |
| 2014-07-27 22:03 | abma | Summary | beep noise with alt+key in windows => beep noise with alt+key in windows & windowed mode |
| 2014-07-27 22:33 | abma | Note Added: 0013446 | |
| 2014-07-28 00:35 | abma | Note Added: 0013447 | |
| 2014-07-28 02:20 | abma | Note Added: 0013448 | |
| 2014-08-03 20:02 | abma | Note Added: 0013464 | |
| 2014-08-04 23:03 | abma | Note Added: 0013465 | |
| 2014-08-04 23:12 | abma | Note Edited: 0013465 | |
| 2014-08-05 00:26 | abma | Note Edited: 0013465 | |
| 2014-08-05 01:12 | abma | Note Edited: 0013465 | |
| 2014-08-05 15:09 | abma | Note Added: 0013470 | |
| 2014-08-20 16:37 | abma | Note Added: 0013540 | |
| 2014-08-20 16:37 | abma | Target Version | 98.0 => |
| 2014-08-20 22:56 | silentwings | Note Added: 0013542 | |
| 2014-09-24 00:53 | silentwings | Note Added: 0013661 | |
| 2014-09-24 01:01 | silentwings | Note Edited: 0013661 | |
| 2014-09-24 02:13 | abma | Note Added: 0013662 | |
| 2014-09-24 02:15 | abma | Note Edited: 0013662 | |
| 2015-01-02 17:14 | abma | Note Added: 0013879 | |
| 2015-01-02 17:14 | abma | Assigned To | => abma |
| 2015-01-02 17:14 | abma | Status | new => feedback |
| 2015-01-02 17:14 | abma | Note Added: 0013880 | |
| 2015-01-07 10:31 | silentwings | Note Added: 0013890 | |
| 2015-01-07 10:31 | silentwings | Status | feedback => assigned |
| 2015-01-07 11:36 | abma | Note Added: 0013892 | |
| 2015-01-07 11:36 | abma | Status | assigned => resolved |
| 2015-01-07 11:36 | abma | Resolution | open => fixed |
| 2015-01-07 11:36 | abma | Fixed in Version | => 99.0 |