Ticket #57 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

mouseMoved event doesn't always register

Reported by: cobyrne Owned by: cobyrne
Priority: major Milestone:
Component: component1 Version:
Keywords: mar6 Cc:
Blocking: Blocked By:

Description

There seems to be some weird behavior with the mouseMoved event. It does't seem to want to register initially. And sometimes it will just stop registering. I'm very confused. I don't remember it happening in the demo though, so I'm not sure what's up...

Change History

Changed 3 years ago by cobyrne

adding the outline function actually seemed to improve this for some reason. whenever it seems to stop registering if you click the map it brings it back.

if someone else can confirm that this works, i think we can close this

Changed 3 years ago by cobyrne

  • owner changed from somebody to cobyrne
  • status changed from new to assigned

This is actually a pychan bug. see
 http://forums.parpg.net/index.php?action=printpage;topic=260.0
 http://logs.unknown-horizons.org/%23parpg/%23parpg.2009-Sat-20.log

mousepressed creates the context menu, then pychan takes over mouse input, but pychan doesnt generate the mousereleased event, so all new mousemoved events actually register as mousedragged events (allegedly. im about to test this)

they fixed this by changing from mousepressed to mousereleased to call the context menu. i'm about to test that as well

Changed 3 years ago by cobyrne

  • status changed from assigned to closed
  • resolution set to fixed

changing it from mousepresed to mousereleased fixed the problem

Changed 3 years ago by cobyrne

  • keywords mar6 added
Note: See TracTickets for help on using tickets.