Skip to content
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

[Win11] System.ArgumentException: Value does not fall within the expected range. #977

Closed
sentry-io bot opened this issue Aug 5, 2022 · 1 comment
Assignees
Labels
Bug-Crash Issues which are related to a crash released

Comments

@sentry-io
Copy link

sentry-io bot commented Aug 5, 2022

Sentry Issue: SOUNDSWITCH-S2

System.ArgumentException: Value does not fall within the expected range.
  ?, in void RoundedCorner.DwmSetWindowAttribute(IntPtr hwnd, DWMWINDOWATTRIBUTE attribute, ref DWM_WINDOW_CORNER_PREFERENCE pvAttribute, uint cbAttribute)
  File "C:\Users\Antoine\source\repos\SoundSwitch\SoundSwitch.UI.Menu\Util\RoundedCorner.cs", line 48, in void RoundedCorner.RoundCorner(IntPtr handle, DWM_WINDOW_CORNER_PREFERENCE preference)
  File "UI\Component\TrayIcon.cs", line 189, in void TrayIcon.PopulateSettingsMenu()
  File "UI\Component\TrayIcon.cs", line 98, in new TrayIcon()
  File "Model\AppModel.cs", line 361, in void AppModel.InitializeMain(IAudioDeviceLister active, IAudioDeviceLister unplugged)
...
(2 additional frame(s) were not displayed)
@Belphemur Belphemur added the Bug-Crash Issues which are related to a crash label Aug 5, 2022
github-actions bot pushed a commit that referenced this issue Aug 9, 2022
## [6.4.2](v6.4.1...v6.4.2) (2022-08-09)

### Bug Fixes

* **Collection:** Remove properly device when unselected from the list. ([2f70eb2](2f70eb2)), closes [#978](#978)
* **Win11::RoundedCorner:** Fix possible crash when showing menu and trying to apply the rounding. ([d6050e4](d6050e4)), closes [#977](#977)

### Languages

* **Slovenian:** Translated Settings using Weblate ([4dad868](4dad868))
* **Slovenian:** Translated Tray Icon using Weblate ([0fe7a50](0fe7a50))
* **Slovenian:** Translated Update Download using Weblate ([06f8b44](06f8b44))
@github-actions
Copy link
Contributor

github-actions bot commented Aug 9, 2022

🎉 This issue has been resolved in version 6.4.2 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug-Crash Issues which are related to a crash released
Projects
None yet
Development

No branches or pull requests

1 participant