Open file dialog freezes after disabling preview

Summary:

When I open the window to open a new large file, I disable the checkbox "Enable preview" to save myself a few seconds because for large files it takes that much to show the preview. After disabling it, I can't select anything because if I do the whole program freezes and CPU thread is running at 100%.

Steps to reproduce:

  • open Inkscape
  • click File tab in the Menu bar
  • click "Open..."
  • go to a folder with few SVG (.svg) files (maybe larger files are necessary, about 10MB in my case)
  • disable the checkbox "Enable preview" (I am using xfce-4 if that's important)
  • select another .svg file

What happened?

At this point, after selecting another file, the whole program freezes and I have to terminate it. The program utilizes a virtual CPU core at full capacity (8% of the CPU in my case since I have 6 cores and 12 threaded CPU).

What should have happened?

Simply another SVG file getting selected so I can open it.

This is the file I tried to select (it's a math lecture): A2-cas4-deo2.svg

Version info

Inkscape 1.1.1 (3bf5ae0d25, 2021-09-20, custom)

    GLib version:     2.70.2
    GTK version:      3.24.31
    glibmm version:   2.66.2
    gtkmm version:    3.24.5
    libxml2 version:  2.9.12
    libxslt version:  1.1.34
    Cairo version:    1.17.4
    Pango version:    1.50.3
    HarfBuzz version: 3.2.0
    Poppler version:  22.01.0

    OS version:       ArcoLinux
Edited by Lazar Korsic