View Issue Details

IDProjectCategoryView StatusLast Update
0003391Spring engineGeneralpublic2013-05-22 20:16
Reportersilentwings Assigned Toabma  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionunable to reproduce 
Product Version94.1.1+git 
Target Version95.0 
Summary0003391: shift-escape doesn't work on windows when uikeys.txt doesn't exist
DescriptionFor me, in 91.0.1-717, pressing shift & escape while ingame has no effect; in older versions it would bring up the game/quit menu.
TagsNo tags attached.
Attached Files
infolog.txt (Attachment missing)
20130110_093055_DeltaSiegeDry_91.0.1-717-gbbad1d5 develop.sdf (Attachment missing)
Checked infolog.txt for Errors

Relationships

related to 0003194 resolvedabma uikeys.txt is overwritten on win32 install 

Activities

cleanrock

2013-01-09 18:35

reporter   ~0009577

Works fine for me in zk and ba on archlinux.

abma

2013-01-09 21:35

administrator   ~0009580

Last edited: 2013-01-09 21:36

i can't reproduce this, too. is it game related? does it work with the same settings in spring 91.0? (i'm on ubuntu 12.10)

silentwings

2013-01-10 00:52

reporter   ~0009584

Yeah, it works 100% in 91.0, and not at all in -717. It doesn't depend on the mod. In -717 I'm using the testing sandbox.

abma

2013-01-10 01:20

administrator   ~0009585

os? infolog.txt?

silentwings

2013-01-10 10:35

reporter   ~0009586

Last edited: 2013-01-10 10:36

win7, infolog+demo attached (not sure if the demo will be useful - i started spring, pressed shift+escape repeatedly for about 30 seconds with no effect, then self-d'ed com to get game end screen and exit).

edit: i don't know why it re-assigned the status of the bug to 'new' when i uploaded the files.

abma

2013-01-10 10:45

administrator   ~0009587

if you need that for testing: as workaround run spring windowed or type /quit in chat

will try out myself soon...

Beherith

2013-01-12 14:36

reporter   ~0009594

Works fine for me in -717, win7 x64 too.

silentwings

2013-03-25 15:34

reporter   ~0010222

Last edited: 2013-03-25 15:35

So I solved this - for me (also CarRepairer and Kixu, else I wouldn't repost) shift+escape doesn't work if there is *no* uikeys.txt file in /spring. Making an empty file called uikeys.txt and putting it in /spring causes shift+escape to start working again.

(Same for all versions 91+ that I've tested)

Kloot

2013-03-25 16:44

developer   ~0010223

Odd, the default bindings should not be nullified (and for me they aren't) whether uikeys.txt is empty or not present.

Maybe you have a widget that unbinds the quitmenu action?

silentwings

2013-03-25 17:17

reporter   ~0010224

Last edited: 2013-03-25 17:19

ba does have a keybinds widget but i'm sure that doesn't interfere with this (i checked the lua). i searched ba for the text string 'bind' and didn't find anything that unbinds shift+esc. i agree its very odd!

i also tested in ba and in zk with all lua disabled, and i still get the same behaviour (to be precise, zk *does* replace shift+enter and i can see their widget based quit menu, but once i disable zks lua i get the same behaviour).

Forboding Angel

2013-03-26 02:51

reporter   ~0010261

I can confirm. BA 7.73

It's been driving me bonkers =D I thought it was just me -_-

silentwings

2013-05-05 04:27

reporter   ~0010624

This still exists for me with a fresh portable isntall of 94.1.1-413: shift+escape has no effect for me unless there is a (blank or otherwise) uikeys.txt file present in /Spring.

abma

2013-05-05 05:07

administrator   ~0010626

i can't reproduce with ba 7.75 on linux.

in ba 7.75 two widgets rebind keys:

LuaUI/Widgets/cmd_building_hotkeys.lua
LuaUI/Widgets/unit_healthbars.lua

i don't get a difference when they are enabled or disabled... uikeys.txt doesn't exist.

silentwings

2013-05-05 10:43

reporter   ~0010627

I can't test on linux, but lots of people can reproduce this problem. For me the same problem happens with any mod, including if i disble luaui and luarules.

abma

2013-05-21 22:23

administrator   ~0010733

Last edited: 2013-05-21 22:24

sorry for the delay: i can reproduce it on win 7, esc works (exits from chat), shift + command works, shift-esc doesn't work, nothing happens.

Spring 94.1.1-549-gb9f9f06 develop (OMP)

abma

2013-05-21 22:37

administrator   ~0010734

bug is present at least since spring 85.0

abma

2013-05-21 22:55

administrator   ~0010735

hmm, LoadDefaults() is only called when uikeys.txt is loaded: https://github.com/spring/spring/blob/develop/rts/Game/UI/KeyBindings.cpp#L675

i guess all linux users had a uikeys.txt reachable by spring somewhere...

abma

2013-05-22 01:07

administrator   ~0010742

Last edited: 2013-05-22 01:08

can someone who can still reproduce the issue grab current development version:

http://springrts.com/dl/buildbot/default/develop/94.1.1-551-g3e5ee7b/win32/

run / check if it still doesn't work, and if it doesn't work, type /keydebug and paste infolog.txt then?

i can't reproduce it any more, after i deleted all springsettings.cfg and uikeys.txt spread arround on my windows system (but didn't make a copy of it)...

so its very likely its because of a broken uikeys.txt... (which calls unbindall but doesn't rebind shift+esc)

abma

2013-05-22 20:16

administrator   ~0010749

i can't reproduce it any more, so nothing to fix :-|

it seems like the cause is some broken config / installation, as it now works at my pc, but didn't work before i cleaned up config files and paths.

Issue History

Date Modified Username Field Change
2013-01-08 18:11 silentwings New Issue
2013-01-09 18:35 cleanrock Note Added: 0009577
2013-01-09 21:35 abma Note Added: 0009580
2013-01-09 21:35 abma Assigned To => abma
2013-01-09 21:35 abma Status new => feedback
2013-01-09 21:36 abma Note Edited: 0009580
2013-01-10 00:52 silentwings Note Added: 0009584
2013-01-10 00:52 silentwings Status feedback => assigned
2013-01-10 01:20 abma Note Added: 0009585
2013-01-10 01:21 abma Assigned To abma =>
2013-01-10 01:21 abma Status assigned => feedback
2013-01-10 10:34 silentwings File Added: infolog.txt
2013-01-10 10:35 silentwings Note Added: 0009586
2013-01-10 10:35 silentwings Status feedback => new
2013-01-10 10:35 silentwings File Added: 20130110_093055_DeltaSiegeDry_91.0.1-717-gbbad1d5 develop.sdf
2013-01-10 10:36 silentwings Note Edited: 0009586
2013-01-10 10:45 abma Note Added: 0009587
2013-01-12 14:36 Beherith Note Added: 0009594
2013-03-25 15:34 silentwings Note Added: 0010222
2013-03-25 15:35 silentwings Note Edited: 0010222
2013-03-25 16:44 Kloot Note Added: 0010223
2013-03-25 17:17 silentwings Note Added: 0010224
2013-03-25 17:17 silentwings Note Edited: 0010224
2013-03-25 17:19 silentwings Note Edited: 0010224
2013-03-26 02:51 Forboding Angel Note Added: 0010261
2013-05-05 04:27 silentwings Note Added: 0010624
2013-05-05 05:01 abma Product Version => 94.1.1+git
2013-05-05 05:07 abma Note Added: 0010626
2013-05-05 05:15 abma Summary shift-escape doesn't work in 91.0.1-717 => shift-escape doesn't work
2013-05-05 10:43 silentwings Note Added: 0010627
2013-05-05 16:09 abma Target Version => 95.0
2013-05-21 22:23 abma Note Added: 0010733
2013-05-21 22:24 abma Note Edited: 0010733
2013-05-21 22:33 abma Summary shift-escape doesn't work => shift-escape doesn't work on windows when uikeys.txt doesn't exist
2013-05-21 22:37 abma Note Added: 0010734
2013-05-21 22:46 abma Relationship added related to 0003194
2013-05-21 22:55 abma Note Added: 0010735
2013-05-21 23:05 abma Assigned To => abma
2013-05-21 23:05 abma Status new => assigned
2013-05-22 01:07 abma Note Added: 0010742
2013-05-22 01:07 abma Status assigned => feedback
2013-05-22 01:08 abma Note Edited: 0010742
2013-05-22 20:16 abma Note Added: 0010749
2013-05-22 20:16 abma Status feedback => resolved
2013-05-22 20:16 abma Resolution open => unable to reproduce