Skip to content

KSP 1.10.1 Debian Buster. Changing kOS nametag in editor must use enter key to complete as clicking buttons clicks object underneath #2759

@mgalyean

Description

@mgalyean

In the editor, when changing a part kos nametag, the clicks are falling through to the object underneath when clicking either the 'cancel' or the 'accept' button on the kOS name tag popup. The workaround is to hit enter instead. There is no workaround for canceling the edit. Click-Through-Blocker generally works fine for me but in the case of the nametag requester it appears to have no power. As a possible help if this ends up being a linux only issue, click events in linux are fairly different from those in windows. I remember that a click event in linux is only registered on mouse-up, not mouse-down, and the element that the pointer is over on mouse-up, if the same as the mouse-down event, will get the click event. Perhaps someone coding the requester, not realizing this, managed to force the requester to work with mouse-down only and this may have caused a fall-through side effect. Or not, just throwing it out there in case it is relevant

How to reproduce:
KSP 1.10.1
Debian Buster
In VAB or SPH

bring up PAW for a part and click 'change name tag'. Type in new name and click 'accept' or 'cancel'. The part underneath the requestor will be grabbed by the mouse and selected. This is about guaranteed as the requestor always pops up in the center of the screen and the editor defaults to the craft being in the center and the camera pointed at the craft

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions