I’ve got a columnview and each cell has things like entry, spinbutton, splitbutton etc.
I’ve realised if I click on a tiny bit of empty space around each cell widget the whole app freezes. I have to wait for a box to pop up asking if I want to wait or force quit. Even ctrl-c from the terminal doesn’t close it instantly.
If I disable can-focus and can-target on the columnview it doesn’t crash but then, of course, I can’t enter data.
I wonder how I might stop this? I suppose if the widget filled each cell completely it might stop it from happening but I’m not too sure how to do this either! Besides, I like the rounded corners.
Only the columnview has a ‘card’ css-class but removing that still presents the tiny empty space.
It’s openSUSE Tumbleweed, gtk 4.16 PyGObject 3.48 and Python 3.11.
You’re right, it’s not a crash. gdb only shows something else.
Here is what I have, stripped down to one column. (The colours disappear as soon as I add something under ‘entry = Gtk.Entry()’, ?). I’d have to upload the whole lot to github for it to be reproducible.