Bug 1217622 - GIMP export image to png: Lot of messages (39000) when typing name file
Summary: GIMP export image to png: Lot of messages (39000) when typing name file
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Other (show other bugs)
Version: Current
Hardware: x86-64 openSUSE Tumbleweed
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-29 08:21 UTC by Philippe Condé
Modified: 2023-12-04 15:11 UTC (History)
2 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe Condé 2023-11-29 08:21:02 UTC
Hello,
I use GIMP to export images to .png format. Gimp ask for the file name and I can enter the name and  export it to png successfully.
But when typing the file name I receive a lot of messages (journalctl -f is runnign in a window)

Nov 29 08:37:24 hpprol2 gimp-2.10[24067]: file ../gio/gfileinfo.c: line 1655 (g_file_info_get_is_backup): should not be reached
Nov 29 08:37:24 hpprol2 gimp-2.10[24067]: GFileInfo created without standard::is-hidden
Nov 29 08:37:24 hpprol2 gimp-2.10[24067]: file ../gio/gfileinfo.c: line 1633 (g_file_info_get_is_hidden): should not be reached
Nov 29 08:37:24 hpprol2 gimp-2.10[24067]: GFileInfo created without standard::is-backup
Nov 29 08:37:24 hpprol2 gimp-2.10[24067]: file ../gio/gfileinfo.c: line 1655 (g_file_info_get_is_backup): should not be reached
Nov 29 08:37:24 hpprol2 gimp-2.10[24067]: GFileInfo created without standard::is-hidden
Nov 29 08:37:24 hpprol2 gimp-2.10[24067]: file ../gio/gfileinfo.c: line 1633 (g_file_info_get_is_hidden): should not be reached
Nov 29 08:37:24 hpprol2 gimp-2.10[24067]: GFileInfo created without standard::is-backup
Nov 29 08:37:24 hpprol2 gimp-2.10[24067]: file ../gio/gfileinfo.c: line 1655 (g_file_info_get_is_backup): should not be reached
Nov 29 08:37:24 hpprol2 gimp-2.10[24067]: GFileInfo created without standard::is-hidden
Nov 29 08:37:24 hpprol2 gimp-2.10[24067]: file ../gio/gfileinfo.c: line 1633 (g_file_info_get_is_hidden): should not be reached
Nov 29 08:37:24 hpprol2 gimp-2.10[24067]: GFileInfo created without standard::is-backup
Nov 29 08:37:24 hpprol2 gimp-2.10[24067]: file ../gio/gfileinfo.c: line 1655 (g_file_info_get_is_backup): should not be reached
Nov 29 08:37:24 hpprol2 gimp-2.10[24067]: GFileInfo created without standard::is-hidden

typing the file name took 53 seconds and I received 39000 lines of messages and only the first were different referencing pango_layout

Nov 29 08:36:16 hpprol2 gimp-2.10[24067]: pango_layout_get_cursor_pos: assertion 'index >= 0 && index <= layout->length' failed
Nov 29 08:36:16 hpprol2 gimp-2.10[24067]: pango_layout_get_cursor_pos: assertion 'index >= 0 && index <= layout->length' failed
Nov 29 08:36:31 hpprol2 gimp-2.10[24067]: GFileInfo created without standard::is-hidden
Nov 29 08:36:31 hpprol2 gimp-2.10[24067]: file ../gio/gfileinfo.c: line 1633 (g_file_info_get_is_hidden): should not be reached
Nov 29 08:36:31 hpprol2 gimp-2.10[24067]: GFileInfo created without standard::is-backup
Nov 29 08:36:31 hpprol2 gimp-2.10[24067]: file ../gio/gfileinfo.c: line 1655 (g_file_info_get_is_backup): should not be reached

I use KDE plasma with X11 and GIMP is from the standard tumbleweed repository.

These messages seems warning or information but fill my journal with unneeded messages
Comment 1 Paolo Stivanin 2023-11-29 12:02:17 UTC
Hello,
this is a known issue (https://gitlab.gnome.org/GNOME/gimp/-/issues/9994) and it's caused by GTK2 and Glib >=2.76.

I'll backport the patches to GTK2. Fix is already in GTK3, but GIMP is not using GTK3 until 3.0 is out.
Comment 2 Paolo Stivanin 2023-11-29 13:08:15 UTC
Can confirm that the patch fixed the issue. 

https://build.opensuse.org/request/show/1129813