[FIXED] Mouse input broken in 2.8.2 with Display.setParent() on Linux

Started by marqx, November 16, 2011, 10:13:22

Previous topic - Next topic

marqx

On my 64bit Ubuntu, mouse input is broken in 2.8.2 when Display.setParent() is set. I have verified that the problem does not exist in 2.8.1.

kappa

care to elaborate a bit more? Mouse.getX() and Mouse.getY() not returning the correct value? and/or button clicks not working? or something else? Does it happen immediately on window creation or only after loosing focus and gaining it again?

marqx

After some further debugging I realized that the broken input was a symptom of a different change in behaviour and not an error in itself. As of 2.8.2, Display.isActive() seems to always return false when Display.setParent() is set. Whether or not this is intented behaviour or not is of course a matter of design but it is different from earlier releases. Mouse input in itself seems to work according to specification. Sorry for the confusion!

princec


kappa


marqx


kappa

Turns out that the issue was a little more complicated than initially expected. Will hopefully have another look on the weekend.

kappa

This should be fixed now and part of the next nightly build (after build #1522).