View Issue Details

IDProjectCategoryView StatusLast Update
0004353Spring engineGeneralpublic2014-10-07 00:42
ReporterJools Assigned Toabma  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionno change required 
Product Version96.0.1+git 
Summary0004353: Some keysyms missing
DescriptionI have found two command shortcuts that don't work in 96-404 but that work in 96.0. They are: toggleradarandjammer and buildfacing inc

In uikeys.txt I have these relevant things:

keysym aring 0x05D
keysym ae 0x027
keysym oe 0x060
bind oe toggleradarandjammer

Regarding "buildfacing inc":

This is not altered in any way in uikeys.txt. It has a mention of the default bindings, which are:

// bind [ buildfacing inc
// bind Shift+[ buildfacing inc
// bind ] buildfacing dec
// bind Shift+] buildfacing dec

But this is not they keys that work in 96.0. Maybe it depends on keyboard, I have a qwerty one with scandinavian letters å, ä and ö., I use the key to the left of backspace to rotate build facing. It's the key with ´ and `.
Additional InformationOf course I can get the buildfacing inc working by binding it to some other key. But this won't be possible to tell newbies, they can't probably not even find the uikeys.txt file on their computer. It would be better to have this working by default.
TagsNo tags attached.
Attached Files
uikeys.txt (Attachment missing)
Checked infolog.txt for Errors

Relationships

has duplicate 0004560 new ALTGR can't be used as modifier 

Activities

jK

2014-04-02 06:30

developer   ~0012979

use /keydebug to find the new hexcodes you need to use

abma

2014-04-04 14:17

administrator   ~0012980

@Jools:

does this work for you?

Jools

2014-04-04 14:41

reporter   ~0012985

I can get toggleradarandjammer working by binding
keysym oe 0x0F6 (the ö key), but I can't get buildfacing to work. It's not bound in uikeys.txt, it must be some default that I cannot edit.

Besides, it has to work out of the box. This is not something we can tell users they need to do in order to get new spring working. They will just prefer to play with old spring in that case.

Jools

2014-04-04 14:42

reporter   ~0012986

The hex-sum for the key I need, the ´ key, is 0x0B4.

Jools

2014-05-13 15:17

reporter   ~0013079

Last edited: 2014-05-13 15:21

I also cannot key the drawinmap key to work, here is the output from keydebug:

[f=0001128] [KeyBindings] 1. action="drawlabel" rawline="drawlabel" shortcut="Any+`,Any+`"
[f=0001128] [KeyBindings] GetActions: hex=0x60 acii="`":

If I double-click on this key I get the add label in accordance with:

- use KeyChains for defaults:
  ! double hitting drawbutton sets label


But I still can't get the draw command to work, or adding marks without labels.

jK

2014-05-13 23:13

developer   ~0013084

When DrawLabel works, but DrawLine doesn't, it's _very_ likely that you are using either a custom uikeys.txt or a widget resets shortcuts.

abma

2014-05-13 23:45

administrator   ~0013085

check infolog.txt for these lines:

Using read-write data directory: /home/abma/.spring/
Using read-only data directory: /usr/share/games/spring/
Using read-only data directory: /usr/lib/spring/

every directory could contain an uikeys.txt

(not sure if we have some log message when it is loaded)

Jools

2014-05-26 11:18

reporter   ~0013156

Same thing happens with /luaui and luarules disabled. I don't think it's because of some widget.

Is there a difference with what folders are processed between 96.0 and 96-456? Because with 96.0 drawlabel works, whereas it doesn't in 96-456.

Yes, I have custom uikeys.txt, the one I posted here. It works with 96.0. Many of us have custom uikeys.txt files.

Jools

2014-05-26 11:33

reporter   ~0013157

Eh, I found that I had unbinded the `key to make it work with the new buildfacing. But why is the ` key bound to the § one? On my keyboard, the drawkey is the § symbol. The key left from 1 and under Esc,

It works if I bind the `key to drawinmap, but it doesn't work with binding the § key to it. So it seems all keycodes are the ones in the german keyboard?

jK

2014-09-26 18:09

developer   ~0013674

Last edited: 2014-09-26 18:12

§ is bound to drawinmap cause it's next to 1 on finish keyboards.

abma

2014-10-07 00:42

administrator   ~0013709

conclusion: -> let the user configure it

Issue History

Date Modified Username Field Change
2014-04-01 15:28 Jools New Issue
2014-04-01 15:30 Jools File Added: uikeys.txt
2014-04-02 06:30 jK Note Added: 0012979
2014-04-04 14:17 abma Note Added: 0012980
2014-04-04 14:17 abma Status new => feedback
2014-04-04 14:41 Jools Note Added: 0012985
2014-04-04 14:41 Jools Status feedback => new
2014-04-04 14:42 Jools Note Added: 0012986
2014-05-13 15:17 Jools Note Added: 0013079
2014-05-13 15:21 Jools Note Edited: 0013079
2014-05-13 23:13 jK Note Added: 0013084
2014-05-13 23:45 abma Note Added: 0013085
2014-05-25 21:09 abma Status new => feedback
2014-05-26 11:18 Jools Note Added: 0013156
2014-05-26 11:18 Jools Status feedback => new
2014-05-26 11:33 Jools Note Added: 0013157
2014-09-26 18:08 jK Relationship added has duplicate 0004560
2014-09-26 18:09 jK Note Added: 0013674
2014-09-26 18:10 jK Note Edited: 0013674
2014-09-26 18:12 jK Note Edited: 0013674
2014-10-07 00:42 abma Note Added: 0013709
2014-10-07 00:42 abma Status new => closed
2014-10-07 00:42 abma Assigned To => abma
2014-10-07 00:42 abma Resolution open => no change required