Inkscape stuck on blackscreen during resize

Summary

Inkscape is getting stuck on black screens on releasing the cursor when resizing. Upon resizing, the Inkscape window's contents will flicker and (depending on when you stop resizing) remain blank.

Steps to reproduce:

  • Open Inkscape
  • Exit fullscreen mode
  • Resize the window using the cursor

What happened?

At certain points, the whole application just turns into a black window. It looks like Inkscape gets stuck in a state where it keeps waiting for a refresh call that never happens until the cursor is moved. Rolling the cursor through it caused some areas to redraw, and eventually the entire UI redrew.

Similar issue can be caused by OpenGL, but this appears to be a separate issue. Selecting OpenGL blanks the entire Inkscape window and the window does not redraw upon resizing.

In case it's caused by OpenGL, a workaround would be:

  1. Open Edit > Preferences
  2. Select the Rendering tab and uncheck Enable OpenGL
  3. Close the dialog and restart Inkscape

What should have happened?

No black screen.

Sample attachments:

2024-08-14_15-38-46

Version info

  • Inkscape 1.4-beta2 (9aaf4f34, 2024-07-30)
                      Compile  (Run)
    GLib version:     2.76.3
    GTK version:      3.24.42 (3.24.42)
    glibmm version:   2.66.6
    gtkmm version:    3.24.9
    libxml2 version:  2.11.4
    libxslt version:  1.1.29
    Cairo version:    1.18.0 (1.18.0)
    Pango version:    1.50.14 (1.50.14)
    HarfBuzz version: 8.0.1 (8.0.1)

    OS version:       macOS 14.5 (23F79) arm64
  • also reproduced on
    OS version:       macOS 15.0.1 (24A348) arm64
  • also reproduced on Inkscape 1.3
  • It does not occur in Inkscape 1.5-dev (e7ef52e43e, 2024-11-11)
  • It does not occur in Inkscape 1.5-dev (b025170c, 2024-11-19) OS version: macOS 15.1 (24B83) arm64
Edited by nevfy
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information