israel-dryer/ttkbootstrap

Checkbutton silently quits application (no exception log)

Opened this issue · 6 comments

Desktop (please complete the following information):

Ttkbootstrap version 1.10.1
OS: Windows 10

Describe the bug

Creating a Checkbutton and packing it causes a no-exception crash (I suppose something somewhere is calling quit() or sys.exit() for some reason). This is really annoying because checkbuttons are a very useful widget.

To Reproduce

  1. Create a window
  2. Create a checkbutton
  3. Call .pack on it
  4. Crash, no exception printed

Expected behavior

The Checkbutton should function as intended (i. e. not crash)

Screenshots

image

Additional context

It seemed to work fine before I pip installed an update, but I don't remember what the old version was so I can't revert it

Solutions i tried:

  • Removing parameters from checkbutton definition
  • Reinstalling ttkbootstrap
  • Commenting out custom themes

It also appears it's the actual Checkbutton that's causing the crash, commenting out .pack() did not help.

I have the same issue. Under linux with python v3.10 it works, but on windows with python v3.12 it crashes. So either the version or the operating system is causing the issue (Maybe also the combination).
Were you able to solve the bug?

It seems like either a Python update or a ttkbootstrap update fixed this. Creating a checkbutton, launching ttkbootstrap and ttkcreator all work now.

I'm still having this issue on Windows 11 with Python 3.12.4 (the latest) and ttkbootstrap 1.10.1 (also latest)

Same thing here on Windows 10 with Python 3.12.4 and ttkbootstrap 1.10.1.