LWJGL
June 19, 2013, 16:14:49 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: LWJGL is now using GitHub
 
   Home   Help Search Login Register  



Pages: [1]
  Print  
Author Topic: [FIXED] Mouse input broken in 2.8.2 with Display.setParent() on Linux  (Read 2170 times)
marqx
Newbie
*
Posts: 4


« on: November 16, 2011, 02:13:22 »

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.
Logged
kappa
Administrator
Nerdus Imperius
*****
Posts: 1117



« Reply #1 on: November 16, 2011, 02:24:21 »

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?
Logged
marqx
Newbie
*
Posts: 4


« Reply #2 on: November 16, 2011, 03:48:45 »

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!
Logged
princec
Nerdus Imperius
*****
Posts: 1870



WWW
« Reply #3 on: November 16, 2011, 04:57:30 »

Undocumented changes in behaviour are still bugs Smiley

Cas Smiley
Logged

kappa
Administrator
Nerdus Imperius
*****
Posts: 1117



« Reply #4 on: November 16, 2011, 05:34:51 »

ah, I see the issue now, will fix tonight.
Logged
marqx
Newbie
*
Posts: 4


« Reply #5 on: November 18, 2011, 08:23:25 »

Excellent! Thank you for the quick response!
Logged
kappa
Administrator
Nerdus Imperius
*****
Posts: 1117



« Reply #6 on: November 18, 2011, 08:26:01 »

Turns out that the issue was a little more complicated than initially expected. Will hopefully have another look on the weekend.
Logged
kappa
Administrator
Nerdus Imperius
*****
Posts: 1117



« Reply #7 on: January 22, 2012, 10:07:03 »

This should be fixed now and part of the next nightly build (after build #1522).
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
SMFAds for Free Forums
Valid XHTML 1.0! Valid CSS!