BestImageViewer / geeqie

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

geeqie hangs when opening a third window #1519

Open geeqie-dave opened 3 weeks ago

geeqie-dave commented 3 weeks ago

Setup (please complete the following information):

Describe the bug I can open only two windows (full, default configuration with thumbnail view, directory tree, and image view panes). When I try to open a third such window (either from command line, via file browser or geeqie's window menu), the program hangs with CPU usage at 100%.

To reproduce Steps to reproduce the behavior: Open geeqie. From the window menu open a second window. This works as expected. Again, from the window menu, open a third window. Nothing happens and the formerly functional two windows cease to respond. Opening the first and second windows can be performed from command line or clicking an image file. For the third window attempt, all of these methods result in the same hung state with the single geeqie process using 100% CPU.

Expected behavior Either a third window opens or some error message or something besides a hung process.

Screenshots Screen cap of my default window configuration geeqie_window

Image sources Standard fedora 37 package

Error logs or seg. fault files Strace output including about 3 seconds after program hangs: strace.zip

Additional context I have 3 fedora 37 systems, all have the same issue.

geeqie-dave commented 3 weeks ago

Forgot to mention: KDE Plasma desktop

geeqie-dave commented 3 weeks ago

I should have tried this before posting: I renamed my ~/.conf/geeqie folder and can now open as many windows as I want. I will start adding things back in and see if the problem returns.

geeqie-dave commented 3 weeks ago

Problem identified: if I turn on folder setting "view as tree", I can not open a third window.

qarkai commented 3 weeks ago

@geeqie-dave third window with folder setting "view as tree" works for me on master. Have you tried latest releases https://github.com/BestImageViewer/geeqie/releases/tag/v2.4 and https://github.com/BestImageViewer/geeqie/releases/tag/continuous?

caclark commented 2 weeks ago

I cannot replicate this problem. Please try:

Run geeqie each time from the command line in a new terminal window, and use geeqie --debug=4

Maybe the debug output will provide information.

geeqie-dave commented 2 weeks ago

No, I try to keep my distro's packages intact. I could try building from source and running independently, but I fear the libraries may be a factor, as well, especially the GTK-based file/folder parts (I run KDE Plasma).

Dave D.


From: Arkadiy Illarionov @.> Sent: Tuesday, September 10, 2024 7:15 PM To: BestImageViewer/geeqie @.> Cc: geeqie-dave @.>; Mention @.> Subject: Re: [BestImageViewer/geeqie] geeqie hangs when opening a third window (Issue #1519)

@geeqie-davehttps://github.com/geeqie-dave third window with folder setting "view as tree" works for me on master. Have you tried latest releases https://github.com/BestImageViewer/geeqie/releases/tag/v2.4 and https://github.com/BestImageViewer/geeqie/releases/tag/continuous?

— Reply to this email directly, view it on GitHubhttps://github.com/BestImageViewer/geeqie/issues/1519#issuecomment-2341830355, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BLFHUJNAHNB73TERJ554ZP3ZV5ANRAVCNFSM6AAAAABN5YIMZOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNBRHAZTAMZVGU. You are receiving this because you were mentioned.Message ID: @.***>

geeqie-dave commented 2 weeks ago

No output in any of the 3 consoles, program hangs on third instance. Turn off the tree view and no problems (except I can't see the tree view 😉). Are you running KDE/Plasma? I will try running a Gnome session tomorrow and see if it behaves the same.

Dave D.


From: Colin Clark @.> Sent: Saturday, September 14, 2024 9:47 AM To: BestImageViewer/geeqie @.> Cc: geeqie-dave @.>; Mention @.> Subject: Re: [BestImageViewer/geeqie] geeqie hangs when opening a third window (Issue #1519)

I cannot replicate this problem. Please try:

Run geeqie each time from the command line in a new terminal window, and use geeqie --debug=4

Maybe the debug output will provide information.

— Reply to this email directly, view it on GitHubhttps://github.com/BestImageViewer/geeqie/issues/1519#issuecomment-2350933819, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BLFHUJNXLOTVTORA2WL7NIDZWQA4ZAVCNFSM6AAAAABN5YIMZOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNJQHEZTGOBRHE. You are receiving this because you were mentioned.Message ID: @.***>

caclark commented 2 weeks ago

No, I try to keep my distro's packages intact. I could try building from source and running independently, but I fear the libraries may be a factor, as well, especially the GTK-based file/folder parts (I run KDE Plasma).

I understand concern people have about not wanting to change anything in system that works.

However in respect to the suggestion of using an AppImage, the AppImage is a file that is self-contained. It contains all the dependencies that is required. You download it, make it executable, run it, delete it, and nothing has changed on your system.

It is a large file, so load time is several seconds. But if you wish to take a look at what the current state of Geeqie is, an AppImage is a safe way to do that without the problems of compiling from sources.

geeqie-dave commented 2 weeks ago

The tree view setting must be applied to the default layout for the problem to manifest. My workaround is simply to save a default layout with list view, then turn on tree view as needed. Once the tree view is turned on, I can open new windows from the window menu and specify "from current" and I get all the new windows I want with tree views. Only when the tree view is saved as the default layout will the third window hang the app, and then only when opening new windows from command line or file manager. As long as default folder view is "view as list", everything works, regardless of the state of the open windows.

When starting geeqie from command line with --debug=4, there is no output to the console window at all, even when the program hangs.

I tried a Gnome session (as opposed to my normal Plasma) and had the exact same results. I also tried Wayland (as opposed to Xorg that I usually run) and it made no difference (Gnome on Xorg, Gnome on Wayland, Plasma on Xorg and Plasma on Wayland all behave the same).

I tried looking at the strace output (attached to my original bug report) but it is overwhelming and I got nowhere. I will use my workaround and continue using "the best image viewer" and all the plugins I have written for it that let me manage all the thousands of pictures my wife and I have taken all over the world. Thanks to all who have contributed.

caclark commented 1 week ago

I am still unable to replicate this bug.

Would you please go to Edit/Preferences/General and select Menu Style. Then restart Geeqie and see if the bug remains when using the menu to open new windows.

Then restore your settings and try Expand Toolbar.

The probability of this being relevant is zero, but it just eliminates one of the many possibilities.

geeqie-dave commented 1 week ago

I have no "Menu Style" setting(s), but I have a checkbox for "Expand menu and toolbar", which was unchecked. I checked it and restarted geeqie: no change. Is this because I am not running the current version? Since I am NOT running the current version, perhaps we are wasting our time. I am content with leaving my default at list view and turning on tree view as needed. I will upgrade my OS one of these days and will likely get a newer version, then, that may well solve the issue.

Dave D.


From: Colin Clark @.> Sent: Friday, September 20, 2024 2:46 PM To: BestImageViewer/geeqie @.> Cc: geeqie-dave @.>; Mention @.> Subject: Re: [BestImageViewer/geeqie] geeqie hangs when opening a third window (Issue #1519)

I am still unable to replicate this bug.

Would you please go to Edit/Preferences/General and select Menu Style. Then restart Geeqie and see if the bug remains when using the menu to open new windows.

Then restore your settings and try Expand Toolbar.

The probability of this being relevant is zero, but it just eliminates one of the many possibilities.

— Reply to this email directly, view it on GitHubhttps://github.com/BestImageViewer/geeqie/issues/1519#issuecomment-2363907397, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BLFHUJJY557E46JSYFTVK2TZXQYM5AVCNFSM6AAAAABN5YIMZOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNRTHEYDOMZZG4. You are receiving this because you were mentioned.