Possible Minor Bug

Started by Calin Leafshade, Thu 26/11/2009 19:27:50

Previous topic - Next topic

Calin Leafshade

Guis seem to stay non clickable after being made visible until the mouse is moved.

So you have gActions which has a button "End Turn".
You press end turn and the gui is made invisible and the turns moves are carried out.
After the turn has finished the gui is made visible again.
If you then try to click a button on the gui WITHOUT moving the mouse (i.e the same button you just clicked, in this case "End Turn") the mouse click is ignored.
If you move the mouse and then click again the button becomes responsive again.

I can upload my game if you need to see it reproduced.. its only small since ive only really just started it.

Pumaman

Interesting, I'll see if I can reproduce this.

skuttleman

I've run into this problem as long ago as 2.71. I just got around it by adding a line of code that moved the mouse one pixel before returning control to the user and as I recall it did the trick.

Calin Leafshade

yeah thats how i fixed it.. but i thought id flag it up as a bug anyway.

SMF spam blocked by CleanTalk