Skip to content

incorrect Nifty GUI layout in full-screen LWJGL v3 context #1891

@stephengold

Description

@stephengold

I believe I found a regression in JME 3.6. It occurs when Nifty GUI is running in full-screen LWJGL v3 context. Nifty seems to believe the mouse cursor is about 100 pixels above where it appears onscreen.

I've observed this phenomenon in several apps. It is particularly noticeable in the TestIssue1013 app of jme3-examples. Clicking on the "Restart Context" button has no effect. In order to highlight the button, the cursor must be placed about 100 px above the button. Clicking in that area of the GUI will trigger a restart.

JME 3.5.2 doesn't have this issue, but I've found it in "master" branch as far back as May 2022. I'm attempting to determine which commit introduced the regression.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething that is supposed to work, but doesn't. More severe than a "defect".

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions