pop-os / cosmic-applets

WIP applets for cosmic-panel
GNU General Public License v3.0
199 stars 72 forks source link

Dragging volume sliders can cause applet to crash #570

Open nathansgithub opened 1 month ago

nathansgithub commented 1 month ago

I'm guessing this is probably a libcosmic issue, but this is where I noticed it.

To reproduce:

  1. Open the sound menu from the panel.
  2. Drag either the speaker or mic volume slider, and move the cursor outside of the slider and/or the bounds of the menu while still dragging the slider.

I've noticed this crashes the applet on my machine (the menu goes away as well as the sound icon in the panel for several seconds). Also, I noticed other options on the menu are highlighted when you hover over them while dragging the slider.

nathansgithub commented 1 month ago

I noticed something else with this. I don't get this issue when using my laptop's touchpad, only when I use the mouse.

I plugged in my laptop (Lemur lemp10) to my external monitors and was able to use both. I only got it to crash when I dragged the sliders with the mouse.

wash2 commented 1 month ago

I'm not able to recreate the issue, but could you try checking for a logged panic from the audio applet using journalctl _COMM=cosmic-panel -e?

nathansgithub commented 1 month ago

Here's what I see. It's very consistent for me. It happens every time I try to move the sliders with my mouse and never with my touchpad.

com.system76.CosmicAppletAudio: thread 'main' panicked at cosmic-applet-audio/src/pulse.rs:158:14:
com.system76.CosmicAppletAudio: Send message to PulseAudio server: "Full(..)"
com.system76.CosmicAppletAudio: stack backtrace:
com.system76.CosmicAppletAudio: note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
process ' X_MINIMIZE_APPLET=false COSMIC_PANEL_NAME=Panel COSMIC_PANEL_SIZE=XS COSMIC_PANEL_OUTPUT=DP-1 COSMIC_PANEL_ANCHOR=Top COSMIC_PANEL_BACKGROUND=ThemeDefault RUST_BACKTRACE=1 WAYLAND_SOCKET=142 cosmic-applet-audio ' failed with code 101
Exited with error code 101