Skip to content
#

gtk4

Here are 79 public repositories matching this topic...

andy128k
andy128k commented Sep 21, 2021

TreeView::selection() panics during destruction

TreeView::selection() assumes that a selection always exists. This is not true during a disposal of a tree view.

  1. selection is destroyed first
  2. then model is set to NULL
  3. this causes a signal cursor-changed
  4. there is no selection inside of signal handler. TreeView::selection() panics.

Checking of `Widget::in_destruction

Improve this page

Add a description, image, and links to the gtk4 topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the gtk4 topic, visit your repo's landing page and select "manage topics."

Learn more