-
-
Notifications
You must be signed in to change notification settings - Fork 180
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
Icon in notification tray does not change when a hotkey is used to apply a profile #450
Comments
Hello @skst, I'm not able to reproduce your issue. For me the icon does change when I change the profile. |
I've noticed that, after restarting Windows, the icon changes the first time I switch to a profile using a hotkey. After that, however, it does not change when I change profiles. Of course, I can't guarantee that something else isn't affecting it, but I hope this helps. |
I'm sorry it's hard to understand what is exactly happening ... Do you have that issue with other dynamic systray icons ? |
Sorry. I'll endeavor to clarify.
(I've also updated the original post.) |
This is the exact scenario I've tested ... |
If I haven't made it clear what's happening on my machine, you probably haven't been able to test the exact scenario. 🙂 Can you tell me which of my steps to reproduce the issue aren't clear so that I can try to improve how I'm describing the issue? Summary: The notification icon changes only the first time that I use a hotkey to change the profile. After that, the notification icon never changes again. |
Can you try with v5.3.0 ? Not sure it will fix your issue, but since there has been some changes to the profile feature and to the core of the app, it might. |
I installed 5.3.0 over my previous install. The notification icon does not change when I use a profile hotkey. |
Is it possible that both your device have the same small icon?
Can you change the icon of one of the two device by going into Windows settings?
Right click on SoundSwitch > Playback devices > right click on the device > properties
And select a different icon :)
Sent from Nine
…________________________________
From: Stefan <[email protected]>
Sent: Sunday, May 31, 2020 13:21
To: Belphemur/SoundSwitch
Cc: Antoine Aflalo; Comment
Subject: Re: [Belphemur/SoundSwitch] Icon in notification tray does not change when a hotkey is used to apply a profile (#450)
I installed 5.3.0 over my previous install. The notification icon does not change when I use a profile hotkey.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Did you change one of them?
Even if the big icon look this way, it doesn't mean the small one will too.
I had that issue before with official windows icons.
Sent from Nine
…________________________________
From: Stefan <[email protected]>
Sent: Sunday, May 31, 2020 17:12
To: Belphemur/SoundSwitch
Cc: Antoine Aflalo; Comment
Subject: Re: [Belphemur/SoundSwitch] Icon in notification tray does not change when a hotkey is used to apply a profile (#450)
A good thought, but sadly, that's not the case. In addition to the screenshots I provided in the OP showing the icons in the profiles which are the ones that SoundSwitch displays in the banners and for the notification icon, here are the icons of the playback devices themselves.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Absolutely, icons can have different images for different sizes. But, yes, I changed the headset icon just in case and, no, it didn't change. You know better than I do, but it appears that those aren't the icons that SoundSwitch uses since the "speakers" icon doesn't match the one SoundSwitch lists in the profile. |
It does use that icon, but there is a cache in place. It won't change if the icon is currently in use. If you have the settings open when changing the icon, the change won't be reflected until you reopen the settings. I admit, I'm not able to understand what isn't working in your setup ... Last idea, can you download and assign this icon to one of the two device ? Then do the profile switching. |
I have the same issue, after setting up SoundSwitch on a new PC. The problem is related only to the Playback devices, and it's most obvious when I have Systray Icon set to "Playback". The icons of the Playback devices themselves are fine and distinct, as I can see when switching directly via the Ctrl-Alt-F11 hotkey. The workaround for me right now is that I keep it set to Both and simply benefit from both Recording devices in my profiles having different icons. |
I can confirm the exact behavior @amerker describes. I have two profiles configured. One that uses my speakers for playback and my webcam for recording. The other profile uses my headset for both playback and recording. I have a hotkey assigned to each profile. I have distinct icons set for each device in Windows Sound Settings and SoundSwitch is set to display the Playback icon in the notification area, When I use the global Ctrl-Alt-F11 hotkey to cycle through playback devices, the system tray icon updates to show the correct playback device. If I use the left-click menu to select a playback device, the system tray icon updates correctly as well. But if I trigger either of my profiles (type of trigger doesn't seem to matter) the system tray icon does not update. It just stays with whatever icon it was showing before. SoundSwitch Stable 5.11.2.39643 Win 10 Pro 20H2, also a new PC and a fresh install of SoundSwitch. What's really frustrating is this was working just fine on my old system. |
I think I might have found the issue with this one. Can you check with v6.1.2 if it's fixed ? |
…the systray icon not changing. See #450
@skst Can you join me on Discord, I have a beta version with better logs to try to understand what is happening here. Discord: Link of the beta: |
I'm now in the SoundSwitch Discord server as skst. I zipped my install folder and unzipped |
## [6.2.0](v6.1.2...v6.2.0) (2021-10-23) ### Features * **AudioSwitching:** Add support for Windows 11 ([b2e1de5](b2e1de5)), closes [#797](#797) [#548](#548) ### Bug Fixes * **AudioSwitcher::Windows11:** Fix possible crash when using profile with application on Windows 11 ([8531ee9](8531ee9)) * **AudioSwitcher:** Properly use the right audio client for Windows post 21H2 (like Windows 11) ([7324b15](7324b15)) * **DeviceLister:** Fix crash when device lister is taking too long ([e7efb5c](e7efb5c)) * **Notification::Sound:** Fix crash when playing a custom sound. ([f0a7113](f0a7113)), closes [#790](#790) * **Profile:** Fix systray icon not changing properly when using a profile ([aef15b7](aef15b7)), closes [#450](#450) ### Languages * **Russian:** Translated Settings using Weblate ([24cb961](24cb961)) ### Enhancements * **AudioSwitcher:** Improve the logging of the switching for Windows 11 ([5e0a985](5e0a985)) * **Mute:** Change the unmute icon ([844ad5f](844ad5f)), closes [#791](#791) * **Mute:** Improve the image to have the same size as device icon ([a840c82](a840c82)), closes [#791](#791) * **TrayIcon:** Add better logs to understand what's happening with the systray icon not changing. ([99d6243](99d6243)), closes [#450](#450)
🎉 This issue has been resolved in version 6.2.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Describe the bug
When changing the profile with a hotkey, the notification icon does not change to the icon specified in the profile.
Version
SoundSwitch v5.0.4.31153
To Reproduce
Steps to reproduce the behavior:
1. I create two profiles ("A" and "B"), each with different hotkeys and Playback and Recording icons. Profile A is my current configuration.2. In Settings, I set Systray Icon to Playback.
3. Note: the notification icon is the one for profile A.
4. I use one of the hotkeys to change to profile B.
5. Bug: The notification icon does not change to show the Playback icon for profile B. (It still shows the Playback icon for profile A.)
Expected behavior
The notification icon should show the Playback icon for profile B when profile B is active.
Screenshots



I've attached three screenshots to show the profiles, Normal profile (correct icon), and Headset profile (incorrect icon).
The text was updated successfully, but these errors were encountered: