-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Don't let plugins make the main window transparent #3809
Conversation
@DomClark thanks. This looks pretty safe to merge. Does this prevent all transparencies or just those invoked from remote plugins? |
It prevents all transparencies achieved with the Windows API which require setting an extended window style, for all windows whose messages are processed inside Also, I've made a slight mistake where windows that already have the |
Not at all. 👍 |
This fix is Merge? |
FYI #2826 seems to resolve this issue on linux, both on Qt4 and Qt5(if #3786 is merged). Edit: It just ignores opacity settings in X11embed method, which is used in Qt4 and going to be default in Qt5. |
Turns out this only works for Qt4. In Qt5 native event filtering is achieved via |
* Don't let plugins make the main window transparent * Don't clear WS_EX_LAYERED if it was already set
Some plugins, e.g. Blue Cat's VSTs, have an opacity control which, in LMMS, makes the main window transparent. This PR blocks this behaviour under Windows by preventing the
WS_EX_LAYERED
extended window style from being set.