Hi all,
I am facing a very strange behavior and have no idea how to correct it. Basically, on Linux (Debian 10 - it does NOT happen on Windows) user input events (keyboard, mouse clicks) are 1 time out of 3 ignored, TILL I move the mouse.
Example:
- I click down and up on a Button.
- Nothing happens.
- I move the mouse.
- The button is considered clicked.
The same when using keyboard shortcuts (via Command):
- Press a key.
- Nothing happens.
- I move the mouse.
- The key pressed is detected.
This happens since JUCE >= 6.0.5, on Linux. I can’t find anything in the changelog that might indicate what change could provoke such a behavior.
I noticed that this “lag” depends on what Components are displayed. I’ve got a Vu-meter that seems to increase the problem. The worst is when I display a JUCE ListBox
(the items are static, nothing fancy. Their number DO have an influence (with only 30 items shown, the lag happens almost every time)). Overall my UI is not complex at all.
Does anybody have this problem before? This is really strange and drives me crazy.
Thanks a lot!