| Summary: | plasma-pa widget doesn't show active port selector sometimes | ||
|---|---|---|---|
| Product: | [Unmaintained] plasma-pa | Reporter: | a.v.shkop |
| Component: | applet | Assignee: | David Rosca <nowrep> |
| Status: | RESOLVED WORKSFORME | ||
| Severity: | normal | CC: | long76.git, nate, plasma-bugs-null, sitter |
| Priority: | NOR | ||
| Version First Reported In: | 5.18.5 | ||
| Target Milestone: | --- | ||
| Platform: | Ubuntu | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: |
Screenshot without selector
Screenshot of the hamburger menu Screenshot with the selector pactl list sinks output with dock pactl list sinks output without dock |
||
|
Description
a.v.shkop
2021-03-10 09:50:03 UTC
The port selector is right there under the hamburger menu. As you can see from your screenshot, there is no room whatsoever to add a combobox to that layout. :) FWIW this layout has been substantially changed in subsequent versions, but the port selector is still there in the hamburger menu. Created attachment 136562 [details]
Screenshot of the hamburger menu
Here's what I have under the hamburger menu, there's still no port selector. That's the same system, just dock station detached. As I wrote I have a dropdown in this layout in case I start the system with headphones plugged in. I can attach another screenshot with it if you'd like.
Created attachment 136564 [details]
Screenshot with the selector
Ah, we must have added it later. I guess you'll need to upgrade. As for whether or not the option will appear in that version in your particular case, I guess you'll have to upgrade and see. It's not really possible for me to say with Plasma 5.18 since so much has changed since then. Sorry. I see, not sure I want to move from LTS Ubuntu release right now. Issue is certainly not that critical, just a nuisance. BTW, Isn't 5.18 also LTS release for plasma? In 5.18 both the applet and KCM show a port combobox, but only if there's actually more than one port to select between. Can you attach the output of "pactl list sinks" with and without the docking station attached? Created attachment 136576 [details]
pactl list sinks output with dock
Created attachment 136577 [details]
pactl list sinks output without dock
I've attached outputs both with and without dock attached. In both cases I see two ports for 'Built-in Audio Analog Stereo' but port selector is not show in the applet, but it appears in KCM, as in the first screenshot. For me it looks like the port availability is not updated after I plug in the headphones. It seems that applet adds a port to the list only if it's available: https://github.com/KDE/plasma-pa/blob/Plasma/5.18/applet/contents/ui/ListItemBase.qml#L134. This explains why if I start the system with headphones plugged in I see the combobox. But if port was unavailable during the startup, this list should be updated I guess. Thanks for the info and the investigation! *** Bug 434272 has been marked as a duplicate of this bug. *** i have the same issue helps pulseaudio -k also try rm -r ~/.config/pulse/ (In reply to Misha Shaygu from comment #12) > *** Bug 434272 has been marked as a duplicate of this bug. *** Are you sure that this is the same issue? I use plasma 5.18, and after I plug in the headphones I can use them and hear the sound out of the headphones. My issue is that I'm not able to switch back to speakers through the applet, only via the KCM. So in my case pusleaudio works as expected, it's the applet that for some reason does not show the combobox. In your case, since restarting the pulse daemon helps, this looks like a pulseaudio issue, not an applet. (In reply to a.v.shkop from comment #15) > (In reply to Misha Shaygu from comment #12) > > *** Bug 434272 has been marked as a duplicate of this bug. *** > > Are you sure that this is the same issue? I use plasma 5.18, and after I > plug in the headphones I can use them and hear the sound out of the > headphones. My issue is that I'm not able to switch back to speakers through > the applet, only via the KCM. > > So in my case pusleaudio works as expected, it's the applet that for some > reason does not show the combobox. In your case, since restarting the pulse > daemon helps, this looks like a pulseaudio issue, not an applet. yeah, thanks! Is this still a problem? ๐๐งน โ ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME. For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging. Thank you for helping us make KDE software even better for everyone! ๐๐งน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME. |