-
-
Notifications
You must be signed in to change notification settings - Fork 952
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
Icons corruption on macOS ventura #1218
Comments
It looks like only the top part that should be hidden by the bitmap mask is the only part visible. The code regarding this hasn't been touched since 9 years, so the culprit would most likely be the upgrade of wxWidgets to the latest Stable. It looks like there has been a change in how wxWidget's OSX version handles the mask (see wxWidgets/wxWidgets@8403b79), so when we create the bitmap mask, we probably need to separate this part for OSX and change it to VeraCrypt/src/Main/Resources.cpp Lines 192 to 193 in 5b5af85
Unfortunately I don't have a MacOS system to test and troubleshoot this further. |
i'm able to compile it for macOS and i can test it. If you post here a patch i can try it |
This is my (un)educated guess on the fix:
Copy this into a text file, save it as mask.patch and run |
Thank you @Jertzukka for pinpointing the problematic code. And kudos to @sardanap for refining and testing the patch! This is teamwork at its finest 👍 It appears that earlier versions of wxWidgets had platform-specific behaviors between Linux and macOS. Now they've standardized their implementation across all platforms and so this regression happened. @sardanap: would you kindly create a PR with your fix? |
On macOS ventura 13.6 slot icons do not display properly
screenshot here:
VeraCrypt version 1.26.7
The text was updated successfully, but these errors were encountered: