Created attachment 113574 [details] screen capture of bug behavior The image editor window may not be opened more than once. After being closed, the window is blank for all subsequent re-openings. This renders the image editor feature nearly unusable. The exact version I'm using is 5.9.0-1 on Arch Linux. Reproduction Steps: 1. open digikam 2. with an image thumbnail selected, click "Image Editor" in the toolbar 3. close the image editor window 4. with an image thumbnail selected, click "Image Editor" in the toolbar 5. image editor window is blank; even the sidebar and menubar are not shown
Created attachment 113575 [details] Console output of running digikam Output has been redacted slightly.
Problem is here not to reproduce. Which desktop do you use? Why does the image editor have no menu and no toolbar? Can you please test it with the AppImage of www.digikam.org? Maik
Maik: >Which desktop do you use? My desktop is i3wm. > Why does the image editor have no menu and no toolbar? Good question :) but unfortunately I don't know. I did not change any settings. > Can you please test it with the AppImage of www.digikam.org? Unfortunately the digikam appimage will not run for me: > ./digikam-5.9.0-01-x86-64.appimage > -- digiKam AppImage Bundle > -- Use 'help' as CLI argument to know all available options > digikam: symbol lookup error: /usr/lib/libfontconfig.so.1: undefined symbol: > FT_Done_MM_Var Which seems like an issue with the digikam appimage bundle not being fully self-contained. Kind regards, Michael
The console log file shows no errors. Can you please test it with a new empty user account, if the problem exists there as well? Maik
> Can you please test it with a new empty user account, if the problem exists there as well? The problem persists :( The exact steps I took: 1. I moved ~/.digikam to a backup location 2. I started digikam 3. I set up a collection in a directory already containing several images 4. with an image thumbnail selected, click "Image Editor" in the toolbar 5. close the image editor window 6. with an image thumbnail selected, click "Image Editor" in the toolbar 7. image editor window is blank; even the sidebar and menubar are not shown I will attach the log output, but I doubt it will be enlightening.
Created attachment 113603 [details] Digikam console output when launching without a data directory
(In reply to Michael Wilson from comment #5) > 1. I moved ~/.digikam to a backup location Is this your folder with the image collection? This folder is not created by digiKam. Unless your desktop system uses this folder for cache or configuration files. It would be good if you would rename the ~/.config/digikamrc file and start with a new configuration file. At the moment I really have no idea what this behavior could trigger. It has never been reported as a bug before. The editor window is not deleted during runtime, but only "hidden". I could imagine a problem with the windowmanager from her desktop... Maik
Or perhaps a side effect with the widget style ? Very strange behavior. I never reproduce this one too... Gilles Caulier
Hi, I'm getting the same error. I compiled Digikam recently with QT 5.11.1 in GNU/Linux Gentoo and he started having this problem. With QT 5.10.1 it did not happen, I deleted the file "~ /.config / digikamrc", I restarted the program and followed the problem. I also did a test with a new user and I had no luck. I use as desktop environment Plasma 5.13.1. I tanslated with google.
Created attachment 113632 [details] Log Digikam running in console.
Created attachment 113633 [details] capture of the bug in video
Very strange, I also have Qt-5.11.1 (openSUSE) here and can not reproduce it with the latest git/master version. Francisco, can you also compile and test the digiKam-6.0.0 git/master version? The log file shows no abnormalities. Maik
Can you for testing ~/.local/share/kxmlgui5/digikam rename/delete? Maik
After deleting ~/.local/share/kxmlgui5/digikam I can also reproduce the problem. I'll take a look at it tomorrow... Maik
Git commit 486e34a0b620b934e489d0a5f4bfc5ed1e32a8f5 by Maik Qualmann. Committed on 29/06/2018 at 05:59. Pushed by mqualmann into branch 'master'. first quick fix to image editor save window state M +7 -0 core/utilities/imageeditor/main/imagewindow.cpp https://commits.kde.org/digikam/486e34a0b620b934e489d0a5f4bfc5ed1e32a8f5
The cause is not the kxmlgui5 config. It is a difference now whether the Image Editor over Menu-> close or the ToolButton is terminated or over the X from the window. The following entries must be deleted in the digikamrc from the section [ImageViewer Settings]: [ImageViewer Settings] MenuBar SplitterState StatusBar Maik
Light table window is also affected. Maik
Maik, I think your patch 486e34a0b620b934e489d0a5f4bfc5ed1e32a8f5 need to be done on top level class which is common to all DK main Windows. So typically in DXmlGuiWindow::closeEvent()... Gilles
Git commit b621054834cf955118bbd32c77d758128f744ee2 by Maik Qualmann. Committed on 29/06/2018 at 17:15. Pushed by mqualmann into branch 'master'. fix wrong saving of the window state FIXED-IN: 6.0.0 M +2 -1 NEWS M +2 -3 core/app/main/digikamapp.cpp M +10 -2 core/libs/widgets/mainview/dxmlguiwindow.cpp M +1 -11 core/utilities/imageeditor/main/imagewindow.cpp M +1 -3 core/utilities/import/main/importui.cpp M +0 -1 core/utilities/lighttable/lighttablewindow.cpp M +1 -1 core/utilities/queuemanager/main/queuemgrwindow.cpp https://commits.kde.org/digikam/b621054834cf955118bbd32c77d758128f744ee2
Compile from the git/master with the fix and the problem was solved for me, including when I delete the directory "~/.local/share/kxmlgui5/". Thanks for your work Mike :)
There actually seems to be a problem with Qt-5.11. Other programs will also lose Menubar, Tollbar or Statusbar, such as KMail or VirtualBox. I was able to reproduce this again with the digiKam main window, when processes are still running in the background and the window was closed. https://bugreports.qt.io/browse/QTBUG-66800 https://bugreports.qt.io/browse/QTBUG-67426 Maik
*** Bug 396374 has been marked as a duplicate of this bug. ***
*** Bug 396382 has been marked as a duplicate of this bug. ***
More info, Qt-5.11 has a close event patch for QWidgetWindow, which causes problems with some programs. OpenSUSE only needed 2 days to get fixed Qt packages without this patch and thus without any problems with lost Tool, Menu or Status bars. Maik
*** Bug 396740 has been marked as a duplicate of this bug. ***
*** Bug 400938 has been marked as a duplicate of this bug. ***
In the meantime, this bug disappeared in digikam 5.9.0 for me as well. Must have been one of the latest Qt updates.
*** Bug 400962 has been marked as a duplicate of this bug. ***
*** Bug 402754 has been marked as a duplicate of this bug. ***
*** Bug 403207 has been marked as a duplicate of this bug. ***
*** Bug 403238 has been marked as a duplicate of this bug. ***
*** Bug 409685 has been marked as a duplicate of this bug. ***
*** Bug 412022 has been marked as a duplicate of this bug. ***
*** Bug 413242 has been marked as a duplicate of this bug. ***
*** Bug 419555 has been marked as a duplicate of this bug. ***