Re: [hatari-devel] Some buttons are not deselected / accepted

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


This is a multi-part message in MIME format.
Hi,

On 4.9.2021 18.30, Thomas Huth wrote:
I just had a very quick look (no time for proper debugging and
fixing the problem right now, sorry), but I think you can also reproduce
this behavior on any other instance of Hatari, too: It happens if there
is another event between mouse button down and mouse button up (which
seems to happen automatically on Miro's system, but normally does not
happen for everybody else). So you can go to the file selection dialog,
push the mouse button down over one of the buttons there, then provoke a
different event like pressing the SHIFT key, and then just release the
mouse afterwards. The button then stays pressed.

Thanks for the use-case & clarifying this!

(I had slightly misunderstood the problem.)


Attached is more generic solution for Miro's
problem with some code cleanup / optimization,
does it look OK?

Miro, could you verify that it fixes your problem?


	- Eero






Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/