Critical on trying to "Save error log to file" twice
Environment/Versions
- GIMP version: GIMP_2_99_16-1297-gc7c1743d
- Package: Compiled from source
- Operating System: Linux
Description of the bug
Mentioned in !1310 (comment 1988595) and subsequent comments, but couldn't find any dedicated bug, so opening this bug for visibility.
If trying to open the Save Error log to File
dialog twice in the error console, it fails with a critical. Every subsequent try spawns the following assertion:
(gimp-2.99:196301): Gtk-CRITICAL **: 20:56:31.774: gtk_window_present_with_time: assertion 'GTK_IS_WINDOW (window)' failed
Not present on 2.10.36 flatpak, there the dialog can be opened multiple times. Trying the same on 2.99.16 flatpak runs into a crash.
Reproduction
Is the bug reproducible? Always
Reproduction steps:
- Open error console tab
- Right-click, choose
Save Error log to File
- Close the dialog
- Right-click and choose
Save Error log to File
again
…
Expected result: That the Error Log to File
dialog opens again
Actual result: Nothing happens, and a failed assertion message in the terminal