#985362 mumble: Unhide after Minimize to tray flashes rapidly under KDE

Package:
mumble
Source:
mumble
Description:
Low latency encrypted VoIP client
Submitter:
Jonathan Rubenstein
Date:
2021-03-27 19:15:03 UTC
Severity:
normal
Tags:
#985362#5
Date:
2021-03-16 16:21:30 UTC
From:
To:
Dear Maintainer,

On KDE Plasma 5.20.5, when I use mumble's Hide in tray when minimized
feature, after clicking on the tray icon to show mumble again, the
client will rapidly display and hide until I click the icon again.
Sometimes this does not occur, and the client will display properly,
but it is more often than not it will flash.

Earlier last year, this flashing was a soft-lock to my input on the
machine, and I was not able to terminate mumble normally without
switching to a tty console, or even using SSH from my mobile phone.
This behavior has since improved, and is not as severe, so I am able
to stop mumble when this happens.

Is this really a KDE bug? I'm not sure. Let me know if I can provide
any more information.


Best Regards,

Jonathan Rubenstein
jrubcop@gmail.com

#985362#12
Date:
2021-03-21 08:08:14 UTC
From:
To:
tags 985362 + moreinfo
thanks

Hello Johnathan.

Jonathan Rubenstein:

This sounds like Mumble being brought out of being minimized and then minimizing
again, as if there were either no or two mouse clicks; i.e. this sounds like a
mouse button switch that's starting to go bad. I've had this happen to me, it
leads to thinking of all kinds of things being broken that aren't.

Another possibility is mouse settings in KDE for mouse click timing where the
timing is either too short or too long such that "extra clicks" are detected
that weren't intended, i.e. the mouse button doesn't get digitally "debounced"
correctly, or too long so that no mouse clicks occur when expected.

So my first suggestion is to try changing mice to see if it's a mouse button
problem, and the second is to try adjust the mouse button timing in KDE settings
(especially if you have done so recently).

Is this possibly again about mouse clicks? i.e. did this have to do with trying
to terminate Mumble using the mouse?  I'd like a little more information about
what specific input was used to try to terminate Mumble that didn't work, and
what did.

At first glance I suspect this isn't a Mumble bug, or at least that if it does
relate to Mumble directly that it doesn't happen on all desktop environments. I
regularly use the "Hide in tray when minimized" feature but not on KDE.

I have a Sid VM where I think I'll try adding KDE Plasma to for testing.

Please let me know what you find; I'll do the same.
Thanks

#985362#17
Date:
2021-03-24 16:48:18 UTC
From:
To:
Thank you for your reply, Chris.

I have right clicked on the mumble icon and hit "Show"—which should only
ever allow one mouse click because it disappears—and still experience
this issue even with that. This can also happen when running 'mumble' in
a terminal with mumble already open and minimized to tray, or opening a
desktop file.

I've also run xev and clicked the window 100 times, saving the log to a
file[1]. This log contains no more and no less than exactly 100 mouse
button down entries and 100 mouse button up entries.

My mouse is also very new, I got it under 2 months ago, a SteelSeries
Rival 3.
problem,

I have briefly switched mice to my old one, and I have the same issue at
the same reproduction rate.
(especially if you have done so recently).
I cannot find these settings in KDE 5, but as I can reproduce without
using the mouse at all via a terminal or desktop file, I do not believe
this will help.

I agree, it does not seem to happen on all desktop environments.

I can try in a VM as well. I'll also give it a go in some other DEs and WMs.


I hope my testing is satisfactory, let me know if I can do anything else.


[1]: https://paste.debian.net/1190823/

#985362#22
Date:
2021-03-25 01:35:23 UTC
From:
To:
retitle 985362 mumble: Unhide after Minimize to tray flashes rapidly under KDE
tags 985362 - moreinfo
thx

Hello Johnathan.

Thanks for your continued testing, it's appreciated.

I'm still working to get KDE installed in a Sid VM because the Sid VM I have has
a disk that's too small to add KDE to, so I'm figuring out the procedure needed
to extend the virtual disk to fit it. It involves extending the virtual disk
file size withe VM off (qemu-img), then partition size, logical volume size,
then filesystem size.

Jonathan Rubenstein:

Hmm. Yeah that sounds conclusive that it's not a mouse button issue.
Interesting.  Thanks, this was a great idea.

This also fits a conclusion that it's not the mouse button.

Yeah the other thing is that the test done with counting mouse clicks and them
matching up in number would also invalidate the idea of this being an issue of
mouse settings in KDE 5.

To answer the question of where the settings for this should be, it should be in
KDE "System Settings" under "Input Devices"

https://userbase.kde.org/System_Settings/Input_Devices#Mouse

Okay cool, so that part seems consistent.

Yes this testing has been very helpful, thank you.
It means more than might be expected; this is the kind of collaboration that I
enjoy.
releases as expected.

user@host:~/Downloads$ fgrep ButtonPress paste_1190823 | wc -l
100
user@host:~/Downloads$ fgrep ButtonRelease paste_1190823 | wc -l
100

#985362#31
Date:
2021-03-27 19:11:45 UTC
From:
To:
tags 985362 + unreproducible
thanks

Chris Knadle:

Okay I got KDE 5 / KDE Plasma installed in the VM and tested. In my VM Mumble is
able to come in and out of being minimized in the tray as expected, no flashing.
It doesn't matter if Mumble is connected to a server or not -- works either way.

I'm not sure what's producing the bug, but it looks like this works on Sid. I'm
thinking of making a snapshot of the VM and then adding the 'experimental'
repository and see if that's what might be going on. Right now I got nothin'. ;)