Install source and version
Version: 26.1
Describe the bug
A clear and concise description of what the bug is.
When creating a tkinter messagebox in Python launched by launcher.exe, the messagebox displays in the classic style, regardless of whether it is a console program.
To Reproduce
Steps to reproduce the behavior:
- Install Python 3.14 using pymanager
- Create
tkinter-msgbox-example.py:
import sys
from tkinter import messagebox
if sys.platform == "win32":
from ctypes import windll
windll.user32.SetProcessDPIAware()
messagebox.showinfo(title="Example",message="Hello world")
- Navigate to the folder:
C:\Users\USER\AppData\Local\Python\bin
- Drag
tkinter-msgbox-example.py onto python.exe or pythonw.exe
Expected behavior
A clear and concise description of what you expected to happen.
Display in the modern style, just like when running pymanager or running the Python interpreter directly.
Additional context
If you have log files (check your %TEMP% directory!), drag-and-drop them here to include them.
Install source and version
winget install 9N7512CXL7TVersion: 26.1
Describe the bug
A clear and concise description of what the bug is.
When creating a tkinter messagebox in Python launched by launcher.exe, the messagebox displays in the classic style, regardless of whether it is a console program.
To Reproduce
Steps to reproduce the behavior:
tkinter-msgbox-example.py:C:\Users\USER\AppData\Local\Python\bintkinter-msgbox-example.pyontopython.exeorpythonw.exeExpected behavior
A clear and concise description of what you expected to happen.
Display in the modern style, just like when running pymanager or running the Python interpreter directly.
Additional context
If you have log files (check your
%TEMP%directory!), drag-and-drop them here to include them.