- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 33.3k
Description
Bug report
Bug description:
# Add a code block here, if requiredi apologies if this is the incorrect location for this; the solution to the problem is below;
Section 1: Problem Statement
Tk 8.6 + XWayland + Wayfire = XWayland session corruption
IDLE3 works once per session, fails on subsequent launches
Symptoms: black window, no frame, no interaction
Section 2: Workaround (Tk 8.6)
Desktop file modification: kill XWayland before launch
Working solution but requires XWayland restart overhead
Section 3: Proper Solution (Tk 9.0)
Native Wayland support via --enable-wayland
Eliminates XWayland dependency entirely
No session corruption possible
Clean, maintainable, future-proof
Section 4: Build Instructions
Prerequisites: wayland, wayland-protocols, libxkbcommon
Tcl 9.0 build
Tk 9.0 build with --enable-wayland
currently on Linux Fedora 42 in a Wayland; Wayfire; wf-shell; wf-panel; environment with GDM disabled;
this solves the current problem; Exec=sh -c 'killall Xwayland 2>/dev/null; sleep 0.5; python3 -m idlelib' %F
CPython versions tested on:
3.13
Operating systems tested on:
Linux