KSP-RO / RealAntennas

KSP Mod to add better antenna / link calculations to CommNet.
2 stars 5 forks source link

Shift+I hotkey still activates when naming a vessel #7

Open Capkirk123 opened 6 months ago

Capkirk123 commented 6 months ago

Not sure how hard it'd be to disable the hotkey when a text field is selected, but it's mildly annoying when using roman numerals in vessel names

Migrated from https://github.com/DRVeyl/RealAntennas/issues/92

Capkirk123 commented 3 months ago

@NovemberOrWhatever I haven't been able to reproduce this. Am I not doing it right, or has the recent integration of CTB support fixed this bug?

NovemberOrWhatever commented 3 months ago

I recall triggering it recently, but it might be a Linux thing. I can test again when I feel better

branan commented 2 months ago

I can trigger this when naming a vessel in the VAB, as well as with the kOS terminal in the flight scene. v2.6.0.0 from CKAN installed with the RP-1 express install.

I'm also on Linux, FWIW.

branan commented 2 months ago

This is definitely going to be linux-specific. There's an interplay of two issues here: 1) https://github.com/KSP-RO/RealAntennas/blob/master/src/RealAntennasProject/RealAntennasUI.cs#L49C1-L53C10 does not respect input locks 2) On Linux, MODIFIER_KEY is RightShift by default.

For me the workaround is the change the modifier key (LeftAlt is a better choice anyway, and in my window manager doesn't cause any conflicts).

I'm having some deja vu, I feel like I figured this out before the last time I set up RP-1 (though obviously didn't find a github issue back then)