-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Config page and a new description #1
Conversation
Enhance the config page to make the layout nicer, plus show examples of descriptions and examples of icons. Add the node nickname as a description option.
Hi, I check your patch, but on my system now my headset and speaker icons were both replaced by audio-card-analog. |
Ah bummer, okay. I've modified to code to just ignore any variation of |
Copying over from denilsonsa#5 (comment) since things seem to be more active here Changing the value of the Description radio button doesn't do anything on my machine; it doesn't even signal a change for the Apply button to light up. I haven't dug into the code for that config, yet |
To update: running the plasmoid in its own containment with Reinstalling the plasmoid by deleting the folder in my .local plasmoids folder and running |
I still have issues with the new code for icons determination. |
@gabeklavans Does your plasma config file update when you apply config changes? It's located at For example, mine has a section that looks like
@jkhunter Do you happen to know what your device's |
@Phen-Ro So, I accidentally reset my global theme to the default breeze dark when messing around in settings... good news is now the description buttons work perfectly. May have been a bug in the migration script for OpenSUSE TW's branding. 🤷 |
non of the wpctl numbers return any icon for me. I checked all of them. I wrote a log function to get the data of the devices: const data = { device.properties = { Device 2 - Built-in speaker: const data = { device.properties = { Can you please tell me why you want to change the icon determination? Because the old solution works. There are so many possibilities to connect a audio device to a pc, that I doubt that it is possible for all combinations to determine the right icon. Would it not be better to allow users select an icon for a device in the configuration, just is case the determination selects wrong icon. At last it is for me not relevant which icons it determines., I just wish they are different for each device. And here is the function is used to log the properties: |
I see the first one has The reason I want to respect icon listed in the device properties is to make it easier for me to set what I want for each device. I use a conf file in I can imagine a configuration page that lets users set descriptions/icons for each device within this widget, but it feels overkill to make when you can "just" config wireplumber. (Well, after re-writing your config files for the 3rd time because Pipewire keeps changing session config formats.) In my opinion, the real problem is that whatever sets the |
…nt, don't use it automatically.
Hi, now I understood your use case. Thanks for it. I do not use wireplumber and I do not define some icons manually. I think this is a very rare use cases and what you try to archive in the plugin is probably not possible. In my opinion you try to figure out if the default icon property have a default value, but there is no indicator for it. And it is not possible to archive it by checking the value of the default icon. We can make a option in the config to force using the icons from the device property, and if you set the icons manually you can force the plugin to use it. Yes, the real problem is, that the default icons are wrong. If you want to fix it, it would be better to fix it at the source of the issue (some kde project?) We can discuss it, if you think it is possible to check if a given default icon is correct or not. But in my opinion it is not possible. I'm open for suggestions. BTW: I just wanted to make it work with plasma6. I never wanted to be a maintainer for it. |
Here's a few changes on top of yours for Plasma 6. I'm sending this to you and to denilsonsa, too, since there's not really a canonical owner anymore.
Enhance the config page to make the layout nicer, plus show examples of descriptions and examples of icons. Add the node nickname as a description option.