~martijnbraam/Megapixels#22: 
Pictures are quietly discarded if ~/Pictures doesn't exist

From my tests it appears that pictures are quietly discarded if the ~/Pictures folder doesn't exist. I think what the app should do is 1. attempt to create the folder, and 2. if that fails, show an actual error instead of just kinda pretending it worked :-D

Status
RESOLVED FIXED
Submitter
~ell1e
Assigned to
No-one
Submitted
4 years ago
Updated
4 years ago
Labels
Bug

~tobias 4 years ago

Hardcoding ~/Pictures is a problem, because the folder name could be different. I think it would be better to use g-get-user-special-dir from glib:

https://developer.gnome.org/glib/stable/glib-Miscellaneous-Utility-Functions.html#g-get-user-special-dir

https://freedesktop.org/wiki/Software/xdg-user-dirs/

~benjamin-schaaf 4 years ago

I've pushed a fix that uses g_get_user_special_dir to the "pictures-fix" branch on my fork.

~martijnbraam REPORTED FIXED 4 years ago

Merged that change, thanks Benjamin :)

Register here or Log in to comment, or comment via email.