Crash gtk_directory_list_new (windows)
Problem Description:
A bug has been detected when using gtk_directory_list_new
combined with gtk_tree_list_model_new
in Windows environments using Gtk4. The issue occurs when a folder with its expander open is deleted, causing the application to crash unexpectedly. This behavior has been tested on Linux (Ubuntu), where the issue does not occur, and it is only present in Windows. Additionally, in Windows, the view updates correctly when a new folder is created, but other types of files do not appear in the view. In contrast, on Linux/Ubuntu, the view updates correctly when creating any type of file.
Steps to reproduce
- Compile the example available at the following link from Windows: testlistview.c.
- Create a new folder and expand folder.
- Delete the created folder.
Version information
Gtk4.14.x, (Msys2)4.16.x