Bug 1955918

Summary: Gimp did not works if home folder is full.
Product: [Fedora] Fedora Reporter: Lars Martin hambro <lars_martin4>
Component: gimpAssignee: Nils Philippsen <nphilipp>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 34CC: enpontus, jridky, nphilipp, phracek, zdohnal
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-01-17 11:33:13 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Lars Martin hambro 2021-05-01 13:23:51 UTC
Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:
Use up home folder an try to start gimp

Steps to Reproduce:
1.
2.
3.

Actual results:
It appears that you are using GIMP for the first time.  GIMP will now create a folder named '/home/larsmartinhambro/.config/GIMP/2.10' and copy some files to it.

Creating folder '/home/larsmartinhambro/.config/GIMP/2.10'…
Cannot create folder '/home/larsmartinhambro/.config/GIMP/2.10': No space left on device


Expected results:
Ask for other localation its possible to get Gimp portable:
https://portableapps.com/apps/graphics_pictures/gimp_portable
But not possible on linux because its did not exist for linux.

Additional info:

Comment 1 Lars Martin hambro 2021-05-01 13:27:25 UTC
I get only Gtk-Message: 15:19:30.772: Failed to load module "pk-gtk-module" error in terminal.

Comment 2 Nils Philippsen 2022-01-17 11:33:13 UTC
It's common for programs to misbehave like this if they run out of space -- GIMP simply assumes it can write data and configuration to your home directory and error out like you experienced it if can't. It wouldn't scale if every application had to come up with its own scheme of what essentially is just a workaround for this functionality not existing in a more general place,if at all this should be done at the GUI/desktop toolkit level. Leaving this aside, the "GIMP Portable" fork you linked above which lets you use some other place than your home directory only works on Windows and I can't even find what they changed code-wise.