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
The window can not be clicked through (tkinter wm_attributes("-transparentcolor", color)
method)
#5624
Comments
Can you try with PyInstaller 4.2? Click-through indeed does not seem to be working in |
I don't exactly see how linked commit fixed this, but the click-though does work with 4.2. Thank you and sorry to have wasted your time. |
That is very weird. Does adding an icon break it again by any chance? |
Just tested, adding an icon does not break it, using |
Hmm, that is indeed the case, and a very useful hint. |
The onefile builds on Windows may not have manifest embedded if icon was explicitly disabled via `--icon NONE`. This in turn causes subtle issues, such as pyinstaller#5624.
The onefile builds on Windows may not have manifest embedded if icon was explicitly disabled via `--icon NONE`. This in turn causes subtle issues, such as pyinstaller#5624.
And as is often the case around here, the problem was lying somewhere else, but was triggered by icon being disabled. Or, prior to 3c3228d, by not being specified. |
The onefile builds on Windows may not have manifest embedded if icon was explicitly disabled via `--icon NONE`. This in turn causes subtle issues, such as pyinstaller#5624. Remove the convoluted check for entering the resource-modification codepath, as we always need to reach the part that embeds the manifest in the onefile executable, and the rest of resource-modification parts are already guarded by their corresponding checks. This should simplify the code and make it less prone to errors.
The onefile builds on Windows may not have manifest embedded if icon was explicitly disabled via `--icon NONE`. This in turn causes subtle issues, such as pyinstaller#5624. Remove the convoluted check for entering the resource-modification codepath, as we always need to reach the part that embeds the manifest in the onefile executable, and the rest of resource-modification parts are already guarded by their corresponding checks. This should simplify the code and make it less prone to errors.
#5625) * tests: add test for onefile builds on Windows having a manifest Test building with different --icon options, as that is what seems to be triggering inconsistent behavior at the moment. * building: ensure that onefile builds on Windows have manifest embedded The onefile builds on Windows may not have manifest embedded if icon was explicitly disabled via `--icon NONE`. This in turn causes subtle issues, such as #5624. Remove the convoluted check for entering the resource-modification codepath, as we always need to reach the part that embeds the manifest in the onefile executable, and the rest of resource-modification parts are already guarded by their corresponding checks. This should simplify the code and make it less prone to errors.
Description of the issue
When using the
tkinter
module's methodwm_attributes("-transparentcolor", color)
, the specifiedcolor
will be treated as transparent (the region of the window containing the color can be clicked through). If the script is run normally / packaged using the--onedir
mode ofpyinstaller
, the behaviour is as expected but, if--onefile
mode is used, click-through does not work in the resulting exe.Context information (for bug reports)
pyinstaller --version
:4.1
A minimal example program which shows the error
The text was updated successfully, but these errors were encountered: