Ckan: Bugs in the console UI

Created on 6 Jan 2019  路  5Comments  路  Source: KSP-CKAN/CKAN

Background

CKAN Version:
1.25.4

Operating System:
Windows 10

Keyboard layout:
German QWERTZ without numpad

Problem

Found some bugs:

First, key issue again: On a German QWERTZ keyboard without numpad, the +-key is not working to install mods:
See: (left to the Enter key)

KB Germany.svg
CC BY-SA 3.0, Link

key data:

Key: OemPlus
KeyChar: 0x2b
Modifiers: 0

Second, CTRL-F is not working on Windows (10) in command line if Enable CTRL shortcuts (or something like this, only have the exact wording in German) is activated, which is by default.
I think this applies for all common CTRL shortcuts (like ctrl-c, ctrl-v, ctrl-a...) which have an assigned action in the cmdline.
Don't know if there's any way to circumvent this. Maybe advise the user to deactivate it on launch.


~Also, I think it would be nice to have the website of a mod linked in the info section, maybe together with a keyboard shortcut to open it in the browser.~

Bug ConsoleUI Windows

All 5 comments

The web site links are in the F10 menu of the mod info screen:

image

We already listen for OemPlus on Windows, but I guess you don't have to press shift with that keyboard?

https://github.com/KSP-CKAN/CKAN/blob/48d29f1313ea1b5261a8c4014031c1db076ab6a5/ConsoleUI/Toolkit/Keys.cs#L115-L119

I don't have Windows 10, but you can still tab to the search field even if your terminal is configured to not send Control key combinations.

Are there any settings in this part of your registry that look related to "Enable new ctrl key shortcuts"?

image

Ah, didn't find it in the F10 menu.

No, don't have to press shift to enter a plus.

Found something in Computer\HKEY_CURRENT_USER\Console\%SystemRoot%_System32_cmd.exe:

image

Can you change "F10 - Menu" to "F10 - Links" in the mod overview? That would make it a bit more clear where they are.

Sure, see #2635.

Was this page helpful?
0 / 5 - 0 ratings