Hi Tim, all,

So I did a dodo, again. I removed the test for isAccepted() in main.cpp for
incoming keyboard events.
The reason for this was that there were a number of keyboard shortcuts that
never showed up, mainly PgUp, PgDn and Return.
I found some dubious information that isAccepted was unreliable so I simpy
removed the test as that fixed the problem and did not see any immediate
drawback.

Today I realize the drawback. Trying to name a track in the arranger I
suddenly find that everytime I press space while editing the name, playback
starts and stops.
So the isAccepted has a purpose, I suppose it signals that there is a
widget waiting for current event, somehow.

So the questions is then how we can solve this and get both the shortcuts
and editing working.
Going back to using isAccepted, I'm guessing that Qt thinks some widget is
waiting for PgUp, PgDn etc and that is the reason why they are filtered
out, but can we find out which it is?
Or going the other way, maybe it's just space that is a special case and we
could handle it specifically... doesn't sound bullet proof. Do we have some
other "editing" flag to use as rule for disabling shortcuts?

I'll look myself, just interested if anyone has any specific Qt knowledge.

Regards,
Robert
_______________________________________________
Lmuse-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lmuse-developer

Reply via email to