Ludii Forum
Mouse clicks don't register. - Printable Version

+- Ludii Forum (https://ludii.games/forums)
+-- Forum: Problems (https://ludii.games/forums/forumdisplay.php?fid=5)
+--- Forum: Ludii Player Problems (https://ludii.games/forums/forumdisplay.php?fid=6)
+--- Thread: Mouse clicks don't register. (/showthread.php?tid=93)



Mouse clicks don't register. - ccxvii - 07-27-2020

The tabs (Status/Moves/Turns/Analysis/etc) and custom buttons at the bottom (Pass/Pause/Play/Settings/etc) don't register mouse clicks properly.

They will only detect a click if the mouse does not move at all between the press and release. Nudging the mouse even a single pixel will make the click not activate, which can be quite frustrating since pressing the mouse button can very easily cause the mouse to shift over a bit.

May I suggest to make these custom GUI components behave like normal push buttons, that register a press/release combination as a click if both the press and release happen within the area. The tabs would be even better if they just activate on mouse press so that they feel more responsive (given that switching tabs is a noticably slow operation already).

The mouseover highlight also gets stuck on if you press down on top of the component, move the mouse off, and release without further moving the mouse.


RE: Mouse clicks don't register. - cambolbro - 07-27-2020

Hi,

Thanks for alerting us to the bad button press and button highlight behaviour, we'll fix those.

Regarding the tab behaviour, the tabs are already selectable by mouse click (on the tab title). Do you instead mean that you'd like to step through the tabs by clicking within the tab panes? This may not be a good option as many of the tabs will eventually have selectable/editable text, which will handle any mouse clicks differently.

Thanks for the feedback!

Regards,
Cameron


RE: Mouse clicks don't register. - ccxvii - 07-27-2020

I meant that when clicking on the title of a tab, it could switch to that tab when the mouse is pressed down. As opposed to the current behavior of switching to the tab after the mouse button is released.