Baseline editor problem with samples

Having trouble with LMMS? Ask about it here.
i recently put some samples in the baseline editor and everything works fine until the end. I play the sample and there's lots of added mute space before it wants to loop or goes to the next sampled note and its always at the end. I tried to start to the note in the blank space but that doesn't work because they're aren't enough steps for that to work correctly. at this point i dont what to do ive watched youtube videos and tried everything i could think of to fix it.its a small problem but it ruins everything id love for it to be a problem that can be fixed if not i'm going to use another program.
working with loops is not all that easy, im afraid. Some improvements are in the ..loop, but you need to use long notes for audio-loops, as it is now :|
I had written a different answer, but i have to correct myself
Its not as simple as pie, but it is possible to use
AFP AudioFileProcesseor
https://lmms.io/documentation/AudioFileProcessor
and lo-o-o-ng notes in pianoroll. You will get perfect looping, but you can only hear the result from the start of the note, and that is not optimal