Piano-Roll vs Keyboard HOLD

Having trouble with LMMS? Ask about it here.
Hi,

I'm using 1.1.90.401 (compiled from git),
when i load e.g. LB-302, and play it via my (computer-)keyboard this happens:
Holding one key (e.g. 'i' which is C5) seems to trigger several random Note-On/Note-Off events.
(in ~30s i got ~6 events)
Holding a Mouse Button on C5, does work as expected. (Just one note is played, until mouseUp)

Anyone got the same problem, or is it just me?
Is this a bug?

ciao,
Z
z0rti wrote:Hi,
Hi, Welcome to the forum z0rti ! Here are all our important links:
http://lmms.io/forum/viewtopic.php?f=1&t=4740
And a few rules for Avatars, signatures, posting and using the right sub-forum :)

Anyone got the same problem, or is it just me?
Could you have invoked 'sticky-keys' on your pc-kb?
Have you tried with other instruments, than LB303 -Please try tippleOscilator, and tell us if thats the same

(Your other Q about midi-HW, im sorry, but there im not able to help. Hope someone else chime in.
Hi musicbear, thx for the welcome :-)
musicbear wrote:
z0rti wrote:Anyone got the same problem, or is it just me?
Could you have invoked 'sticky-keys' on your pc-kb?
I don't know where i could have set that, or what it would be for,
do you mean something like key repeat setting?
And it is really random, not one NoteOff in one second, but every now and then.

(Btw: I'm using debian/jessie with lxde)
musicbear wrote: Have you tried with other instruments, than LB303 -Please try tippleOscilator, and tell us if thats the same
(Your other Q about midi-HW, im sorry, but there im not able to help. Hope someone else chime in.
Yes, it's the same with tripleOSC and every other instrument, VSTi too.

ciao,
Z
z0rti wrote: Yes, it's the same with tripleOSC and every other instrument, VSTi too.
Then im next to sure that it has to do with your pc-kb.
The problem is that you are running our PR, and on top of that, one you build on your own, so a 'comparison-test' is not possible.
Im not all that happy telling you to dl the official release instead -eg 1.13 preferably KXstudios distro, as that one is the one most linux-users har full success with, but since noone else has reported (afaik) that this exists in PR /Master..

..But, well IF 1.13 worked, then it would implie that there indeed is a bug in PR/Master -Right Now.. I just dont know.. sorry..

UHoh forgot! What is the behaviour of notes being played in piano-roll - Will a ..say 10 bar note play as expected, or is that also fragmented?
I'm on Linux Mint 17.3 and this is how my keboard behaves too. I've just assumed that it's the keyboard driver that's the matter.
zonkmachine wrote:I'm on Linux Mint 17.3 and this is how my keboard behaves too.
Also using 1.1.90.401 ?
I've just assumed that it's the keyboard driver that's the matter.
would that be specific for mint? Should it not affect other linux' too?
If its a linux (Mint) issue then idk if its 'our' bug ..
musikbear wrote:
z0rti wrote: Yes, it's the same with tripleOSC and every other instrument, VSTi too.
[...]
Im not all that happy telling you to dl the official release instead -eg 1.13 preferably KXstudios distro, as that one is the one most linux-users har full success with, but since noone else has reported (afaik) that this exists in PR /Master..
[...]
UHoh forgot! What is the behaviour of notes being played in piano-roll - Will a ..say 10 bar note play as expected, or is that also fragmented?
Ok, i installed 1.1.3 from KXstudio now. It does the same thing.
I noticed that if happens less often with the simpler sounds like TripleOsc
I'm using artpyrite-free VSTi with more complex sound here.
I played three notes chord for 1min:

Image

Note that just the first key goes off/on.
If i set the notes with the mouse, it plays as expected...
musikbear wrote: Also using 1.1.90.401 ?
Any version of LMMS I've got from 1.0.3 and forward.
musikbear wrote:would that be specific for mint?
z0rti is on Debian. I'm not sure this is our bug of not but I'll look into it.

If I Uncheck the "Key presses repeat when key is held down" in the Keyboard Preferences editor notes are held down properly. I kind of like to have key repeats though but it's a temporary work around.
I've poked the code and it looks like we already test for key repeats. I don't know if we need to do this some more or if it should be forwarded upstream somewhere. I'll open a bug report.
Isn't this already a known issue? https://github.com/LMMS/lmms/issues/851

It seems to be an issue with Xorg or Qt rather than LMMS. I wonder if LMMS could work around it...I have no experience with GUI programming so I can't say more about that.