Rapid mouse clicks eventually crash Ash
Closed this issue · 1 comments
philiprbrenan commented
When I open a file and do nothing but click the mouse rapidly in different parts of the screen, it works for a while and then crashes as below with getmouse returning ERR. I am using
on Kubuntu 20.04. I will see if I can find a more accurate method for reproducing the problem....
ash movies.html
Traceback (most recent call last):
File "/usr/local/bin/ash", line 8, in <module>
sys.exit(run())
File "/usr/local/lib/python3.8/dist-packages/ash/ash_main.py", line 16, in run
app.run()
File "/usr/local/lib/python3.8/dist-packages/ash/main.py", line 112, in run
ret_code = curses.wrapper(self.app_main)
File "/usr/lib/python3.8/curses/__init__.py", line 105, in wrapper
return func(stdscr, *args, **kwds)
File "/usr/local/lib/python3.8/dist-packages/ash/main.py", line 182, in app_main
self.main_window.show(welcome_msg) # this call returns when main_window() is closed
File "/usr/local/lib/python3.8/dist-packages/ash/gui/topLevelWindow.py", line 123, in show
btn, y, x = KeyBindings.get_mouse(ch)
File "/usr/local/lib/python3.8/dist-packages/ash/utils/keyUtils.py", line 55, in get_mouse
_, x, y, _, bstate = curses.getmouse()
_curses.error: getmouse() returned ERR
akashnag commented
Need more info regarding how to reproduce the error