TeleMidia / ginga

A Ginga iTV middleware implementation by TeleMídia/PUC-Rio
http://ginga.org.br
GNU General Public License v2.0
51 stars 8 forks source link

bug: event behaving differently between ginga and gingagui #190

Open RodrigoDornelles opened 5 months ago

RodrigoDornelles commented 5 months ago

I made an example application to try to understand why released was coming before press and I realized that there is an inconsistency between the two binaries. (both compiled from the same commit)

ginga gingagui
ginga gingagui

ginga (wrong)

label, class=ncl, type=presentation, action=start Key=CURSOR_DOWN, class=key, type=release key=CURSOR_DOWN, class=key, type=release keỷ=CURSOR_DOWN, class=key, type=release key=CURSOR DOWN, class=key, type=release key=CURSOR DOWN, class=key, type=release key=CURSOR-DOWN, class=key, type-release Key= CURSOR DOWN, class=key, type release key=CURSOR_DOWN, class=key, type=release key=CURSOR_DOWN, class=key, type=release key=CURSOR_DOWN, class=key, type=release key=CURSOR_DOWN, class=key, type=release key=CURSOR_DOWN, class=key, type=release key=CURSOR_DOWN, class=key, type=release key=CURSOR_DOWN, class=key, type=press key=CONTROL L, class=key, type=release key=CONTROL_L, class=key, type=press

gingagui (correct)

type=presentation, label=, class=ncl, action=start class=key, type=press, key=CURSOR DOWN class=key, type=press, key=CURSOR DOWN class=key, type=press, key=CURSOR DOWN class=key, type=press, key=CURSOR DOWN class=key, type=press, key=CURSOR DOWN class=key, type=press, key=CURSOR DOWN class=key, type=press, key=CURSOR DOWN class=key, type=press, key=CURSOR DOWN class=key, type=press, key=CURSOR DOWN class=key, type=press, key=CURSOR DOWN class=key, type=press, key=CURSOR DOWN class=key, type=press, key=CURSOR DOWN class=key, type=press, key=CURSOR DOWN class=key, type=press, key=CURSOR DOWN class=key, type=press, key=CURSOR DOWN class=key, type=release, key=CURSOR DOWN
class=key, type=press, key = ALT_L