-
-
Notifications
You must be signed in to change notification settings - Fork 178
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
Updater Progress bar crash with Classic Visual Theme #194
Comments
At least a description about this crash would be helpful. |
Sorry, done it fast this morning. It's linked to using the Classic Theme on Windows 7. The problem is linked directly with the fact there is no visual style when the classic mode is activated: https://msdn.microsoft.com/en-us/library/system.windows.forms.progressbarrenderer(v=vs.110).aspx The fix would be to check IsSupported: https://msdn.microsoft.com/en-us/library/system.windows.forms.progressbarrenderer.issupported%28v=vs.110%29.aspx?f=255&MSPPError=-2147217396 In the case it's not supported, just update the text and not the progress bar. |
The problem can't occur on Windows 10 Anniversary Update due to the fact that it seems like they removed the classic theme - i will need a virtual machine to reproduce this crash. |
What annoys me is to know how old this issue really is ... But well, I should have checked the documentation before using this progress bar. I added this progress bar in the beginning of the version 3.x. |
Holy Shit ...
make sense ... it crashs at each "painting" of the progress bar ... Well
clearly disable the painting if the theme is not supported.
…On 2017-05-31 10:28 AM, FireEmerald wrote:
2017-05-31 16_26_11
<https://cloud.githubusercontent.com/assets/1107939/26636745/f81c61c4-461d-11e7-806e-851cdf35075e.png>
Think the worse bug is the exception handling at this place.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#194 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAMEsvjzyM-6aG0TBk2bTV5TSmcw6Q4Wks5r_XkUgaJpZM4NriIT>.
|
Is there anything special when compiling SoundSwitch for older WinVersions, like Win7? I only get a APPCRASH after starting the *.exe if i use my compiled version. I thought it would be enought to install the Visual C++ 2015 Build Tools. |
Use the Make.bat to build the project. It will generate everything correctly. It's easier to use the installer on the VM to try it out. |
Fixed in aa48697. |
Can you do a pull request on dev ? In the message put "Fixes #194", I'll merge it :) |
SoundSwitch-crashlog-31_5_2017.zip
The text was updated successfully, but these errors were encountered: