BestImageViewer / geeqie

claiming to be the best image viewer / photo collection browser
http://www.geeqie.org/
GNU General Public License v2.0
471 stars 77 forks source link

Images fail to render on MacOS (latest OS, latest Geeqie) #644

Closed bablat closed 3 years ago

bablat commented 5 years ago

ISSUE TYPE

GEEQIE VERSION

Geeqie 1.4

OS / DISTRIBUTION

MacOS Mojave 10.14.1

installed using hombrew formula

SUMMARY

Images do not render in the preview window, a single CPU core is stuck at 100% (25% as I have a four core Mac). All I get is a grey rectangle in the correct proportions.

STEPS TO REPRODUCE

Simply run Geeqie and select any image

LOGS

I'm getting the following warning on console:

(Geeqie:1198):` Gtk-WARNING **: 21:19:06.945: Drawing a gadget with negative dimensions. Did you forget to allocate a size? (node separator owner GtkPaned)

Ran Geeqie with debug=2, got this:

main.c:parse_command_line_for_debug_option:490:debugging output enabled (level 2)
main.c:main:829:    0.000803 (+00000.000803) main: gtk_init
main.c:main:850:    0.056072 (+00000.055269) main: pixbuf_inline_register_stock_icons
main.c:main:853:    0.056433 (+00000.000361) main: setting default options before commandline handling
ui_fileops.c:homedir:197:Home directory: /Users/user
ui_fileops.c:homedir:197:Home directory: /Users/user
ui_fileops.c:homedir:197:Home directory: /Users/user
main.c:main:857:    0.056522 (+00000.000089) main: parse_command_line
main.c:main:860:    0.056583 (+00000.000061) main: mkdir_if_not_exists
ui_fileops.c:homedir:197:Home directory: /Users/user
main.c:main:875:    0.057041 (+00000.000458) main: load_options
rcfile.c:start_element:1254:start gq
...
[removed for berevity]
...
rcfile.c:end_element:1267:end toolbar
rcfile.c:end_element:1267:end layout
rcfile.c:end_element:1267:end gq
options.c:load_options:316:Loading options from /Users/user/.config/geeqie/geeqierc.xml ... done
layout_util.c:layout_editors_reload_start:2548:    0.900219 (+00000.036594) layout_editors_reload_start
remote.c:remote_client_open:269:error connecting to socket: Connection refused
main.c:main:978:    0.900647 (+00000.000428) main: gtk_main
renderer-tiles.c:renderer_update_viewport:2050:update size: 0x7fcef58a4df0  0 0   514 646
pixbuf-renderer.c:pr_update_signal:1301:    0.985295 (+00000.084648) pixbuf renderer updated - started drawing 0x7fcef48a6180, img: 200x70
renderer-tiles.c:rt_queue_schedule_next_draw:1522:redraw priority: 2pass
layout_util.c:layout_editors_reload_idle_cb:2510:    1.036711 (+00000.051416) layout_editors_reload_idle_cb: get_desktop_files
editors.c:editor_command_parse:775:editor_command_parse: geeqie-import-geeqie.desktop 0 0
renderer-tiles.c:rt_queue_schedule_next_draw:1522:redraw priority: 2pass
pixbuf_util.c:register_theme_icon_as_stock:193:Couldn't load icon ufraw: Icon 'ufraw' not present in theme Adwaita
editors.c:editor_command_parse:775:editor_command_parse: geeqie-ufraw.desktop 0 0
renderer-tiles.c:rt_queue_schedule_next_draw:1522:redraw priority: 2pass
pixbuf_util.c:register_theme_icon_as_stock:193:Couldn't load icon ufraw: Icon 'ufraw' not present in theme Adwaita
editors.c:editor_command_parse:775:editor_command_parse: geeqie-ufraw-id.desktop 0 0
renderer-tiles.c:rt_queue_schedule_next_draw:1522:redraw priority: 2pass
editors.c:editor_command_parse:775:editor_command_parse: geeqie-import-gqview.desktop 0 0
renderer-tiles.c:rt_queue_schedule_next_draw:1522:redraw priority: 2pass
pixbuf_util.c:register_theme_icon_as_stock:193:Couldn't load icon ufraw: Icon 'ufraw' not present in theme Adwaita
editors.c:editor_command_parse:775:editor_command_parse: geeqie-ufraw-recursive.desktop 0 0
renderer-tiles.c:rt_queue_schedule_next_draw:1522:redraw priority: 2pass
editors.c:editor_command_parse:775:editor_command_parse: rotate.desktop 0 0
renderer-tiles.c:rt_queue_schedule_next_draw:1522:redraw priority: 2pass
editors.c:editor_command_parse:775:editor_command_parse: symlink.desktop 0 0
layout_util.c:layout_editors_reload_idle_cb:2523:    1.187163 (+00000.150452) layout_editors_reload_idle_cb: setup_editors
layout_util.c:layout_editors_reload_idle_cb:2538:    1.187416 (+00000.000253) layout_editors_reload_idle_cb: setup_editors done
renderer-tiles.c:rt_queue_schedule_next_draw:1522:redraw priority: 2pass
renderer-tiles.c:rt_queue_schedule_next_draw:1522:redraw priority: 2pass
renderer-tiles.c:rt_queue_schedule_next_draw:1522:redraw priority: 2pass
...
[this last line repeats forever, image isn't shown]
mo8Zomo0 commented 3 years ago

as my issue is the install via homebrew on macos, when is the next geeqie release expected to include this fix?

I tried to modify the rb file, but it fails on install, maybe some files are not ok in the master.zip file:

==> make install Last 15 lines from /Users/mek/Library/Logs/Homebrew/geeqie/03.make: auxdir/install-sh -c -d '/usr/local/Cellar/geeqie/1.6b/share/pixmaps' auxdir/install-sh -c -d '/usr/local/Cellar/geeqie/1.6b/share/man/man1' /usr/bin/install -c -m 644 geeqie.png '/usr/local/Cellar/geeqie/1.6b/share/pixmaps' /usr/bin/install -c -m 644 org.geeqie.Geeqie.appdata.xml '/usr/local/Cellar/geeqie/1.6b/share/metainfo' /usr/bin/install -c -m 644 geeqie.desktop '/usr/local/Cellar/geeqie/1.6b/share/applications' /usr/bin/install -c -m 644 geeqie.1 '/usr/local/Cellar/geeqie/1.6b/share/man/man1' fatal: not a git repository (or any of the parent directories): .git tail: ChangeLog: No such file or directory mv: rename ChangeLog.91020.new.html to ChangeLog.html: No such file or directory auxdir/install-sh -c -d '/usr/local/Cellar/geeqie/1.6b/share/doc/geeqie-+git' /usr/bin/install -c -m 644 README.md COPYING ./ChangeLog TODO README.lirc AUTHORS ./ChangeLog.html '/usr/local/Cellar/geeqie/1.6b/share/doc/geeqie-+git' install: ./ChangeLog: No such file or directory make[2]: [install-readmeDATA] Error 71 make[1]: [install-am] Error 2 make: *** [install-recursive] Error 1

caclark commented 3 years ago

as my issue is the install via homebrew on macos, when is the next geeqie release expected to include this fix?

It will be some time before the next Geeqie release. As far as I can tell from the above comments, the latest sources work on Mac. The problem of installing with the latest sources via Homebrew is something that someone in the Homebrew community will have to solve. I am sorry, but I have no idea how to do this.

caclark commented 3 years ago

@mo8Zomo0 I cannot get Geeqie to install with any Homebrew recipe, but git clone, the usual compile commands, and then run with src/geeqie --disable-clutter works for me.