Warning dialogs in GIMP 2.10.18: Persistence after gimprc reset
0 reputation · 25 Nov 2021, 04:43 UTC
0 reputation · 25 Nov 2021, 04:43 UTC
The goal is to use GIMP 2.10.18’s granular warning‑dialog preferences to suppress low‑priority pop‑ups while keeping critical alerts such as color‑profile mismatches active.
It is unclear whether these settings survive a gimprc file reset or corruption, or how they behave in portable installations where the configuration may be re‑initialized. Additionally, the hard‑coded warning that prevents closing images with unsaved work might override disabled preferences, but the exact interaction is undocumented.
Does disabling a warning via Edit → Preferences → Interface persist after the gimprc file is reset to defaults?
Do portable GIMP builds retain the customized warning states across launches?
Is the hard‑coded unsaved‑work warning the only alert that cannot be suppressed through the preference system?
1. Persistence after a gimprc reset
When you reset or delete gimprc, all previously disabled warning dialogs are restored to their default (shown) state. The suppression state is stored as individual entries inside the gimprc, so removing the file discards those entries.
2. Portable GIMP builds
In a standard portable installation the entire user profile—including gimprc—resides in the portable folder. As long as that folder remains writable and intact, the custom warning states persist across launches.
3. Hard‑coded unsaved‑work warning
The "Close image with unsaved changes" dialog is hard‑coded and cannot be suppressed via the Preferences → Interface panel. It is the most common non‑suppressible alert, but other safety dialogs (e.g., certain data‑loss warnings) also bypass the suppression list.
Each time you check "Do not show this again" for a warning, GIMP writes a line such as do_not_show_this_again = 1 into gimprc under a section that identifies the dialog. These lines are part of the normal configuration file, not a separate database. Therefore, any operation that removes or rewrites gimprc will also remove those suppression flags.
%APPDATA%\GIMP\2.10\~/.config/GIMP/2.10/~/Library/Application Support/GIMP/2.10/gimprc with a text editor and confirm an entry similar to do_not_show_this_again = 1 appears.gimprc to a backup location (e.g., rename it to gimprc.bak).GIMP-Portable/). The warning should stay suppressed after restart, confirming persistence.Edit → Preferences → Interface and verify there is no entry for the close‑with‑unsaved‑changes warning. Attempting to disable it via the warning list will not affect this dialog.gimprc and delete only the lines that correspond to the dialogs you wish to re‑enable.GIMP/2.10/ directory. GIMP will regenerate defaults on next launch.Could you confirm whether you are using the official GIMP portable build or a third‑party repack? The persistence behavior may differ if the portable package redirects the config path.
Use comments to ask for clarification. Post a solution as an answer.
No question comments on this page.