Bug 502327 - digiKam stopped working properly on Gnome and Gnome-based desktops since version 8.5
Summary: digiKam stopped working properly on Gnome and Gnome-based desktops since vers...
Status: REOPENED
Alias: None
Product: digikam
Classification: Applications
Component: Portability-Interroperability (other bugs)
Version First Reported In: 8.6.0
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-02 15:51 UTC by Martin P.
Modified: 2025-07-21 05:23 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 8.7.0
Sentry Crash Report:


Attachments
Nothing happens after clicking on the button... (16.02 KB, image/png)
2025-04-02 15:51 UTC, Martin P.
Details
Other popups are also affected... (26.60 KB, image/png)
2025-04-03 16:06 UTC, Martin P.
Details
The dropdowns for Title and Caption work (34.35 KB, image/png)
2025-04-03 16:09 UTC, Martin P.
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin P. 2025-04-02 15:51:05 UTC
Created attachment 179941 [details]
Nothing happens after clicking on the button...

Since version 8.5 all popup menus activated by clicking on the button with the three horizontal lines do not open anymore. The button stays selected but the popup does not open. You can deselect the button.

This happens on Fedora Workstation and Ubuntu with the dnf rpm (8.6), apt deb (8.5), flatpak (8.6) and snap version (8.5). Even with the 'official' appimage. This does not happen on Fedora KDE.
Comment 1 Martin P. 2025-04-02 15:54:47 UTC
Steps to reproduce:

Install and start digikam (I used the flatpak version for the screenshot).

Disable menubar to get one the buttons with the three horizontal stripes in the app.

Click on the button. The menu should show up (and it did on versions prior to 8.5).
Comment 2 Maik Qualmann 2025-04-02 16:37:36 UTC
I can't reproduce the problem here, neither with X11 nor with Wayland under openSUSE. Neither my native digiKam version nor the AppImage show the issue with the hamburger menu.
It's possible that something related to Wayland is the cause in your case.

Maik
Comment 3 Maik Qualmann 2025-04-02 16:38:41 UTC
Are you using the digiKam Qt5 or Qt6 version?

Maik
Comment 4 Maik Qualmann 2025-04-02 16:41:36 UTC
By the way, the menu can also be reactivated via the context menu of the right mouse button over a thumbnail or preview.

Maik
Comment 5 Martin P. 2025-04-02 17:15:26 UTC
(In reply to Maik Qualmann from comment #3)
> Are you using the digiKam Qt5 or Qt6 version?
> 
> Maik

The appimage I tried is Qt6.
Comment 6 Martin P. 2025-04-02 17:16:56 UTC
(In reply to Maik Qualmann from comment #2)
> I can't reproduce the problem here, neither with X11 nor with Wayland under
> openSUSE. Neither my native digiKam version nor the AppImage show the issue
> with the hamburger menu.
> It's possible that something related to Wayland is the cause in your case.
> 
> Maik

And you are using a Gnome and not a KDE desktop? This only happens with a Gnome desktop.
Comment 7 Maik Qualmann 2025-04-02 18:37:28 UTC
I don't have Gnome here to test, @Gilles, do you?
We use a standard KF6 implementation with KStandardAction::hamburgerMenu(), nothing special.
Do you have other KF6 programs, e.g., Dolphin, and does the hamburger menu work there?

Maik
Comment 8 Martin P. 2025-04-02 18:59:02 UTC
(In reply to Maik Qualmann from comment #7)
> I don't have Gnome here to test, @Gilles, do you?
> We use a standard KF6 implementation with KStandardAction::hamburgerMenu(),
> nothing special.
> Do you have other KF6 programs, e.g., Dolphin, and does the hamburger menu
> work there?
> 
> Maik

I installed dolphin for testing and the hamburger menu works in Dolphin on Ubuntu (Gnome) 24.10. In digiKam it does not.
Comment 9 caulier.gilles 2025-04-02 19:13:57 UTC
No Gnome desktop at all here to test

Gilles
Comment 10 Maik Qualmann 2025-04-02 20:35:28 UTC
Git commit e1f6db7e648d674bb3891439dab2a4b9a002c059 by Maik Qualmann.
Committed on 02/04/2025 at 20:34.
Pushed by mqualmann into branch 'master'.

disable HamburgerMenu::aboutToShowMenu blocking for a test

M  +2    -2    core/libs/widgets/mainview/dxmlguiwindow_actions.cpp

https://invent.kde.org/graphics/digikam/-/commit/e1f6db7e648d674bb3891439dab2a4b9a002c059
Comment 11 Martin P. 2025-04-03 16:06:06 UTC
Created attachment 179965 [details]
Other popups are also affected...

Other popups are also affected. The Pick Label and the Colour Label also don't work...
Comment 12 Martin P. 2025-04-03 16:07:12 UTC
And the More button also...
Comment 13 Martin P. 2025-04-03 16:09:36 UTC
Created attachment 179966 [details]
The dropdowns for Title and Caption work

The dropdown menus for Title and Caption work.
Comment 14 caulier.gilles 2025-04-03 17:16:30 UTC
Hi  Martin,

The new AppImage bundle 8.7.0 pre-release for Linux based on Qt 6.8.3 will be
online in one hour (20:00 Paris time) at usual place :

https://files.kde.org/digikam/

Let's me here if the problem remain.

Best regards

Gilles Caulier
Comment 15 Maik Qualmann 2025-04-03 18:35:09 UTC
If all these buttons didn't work, we'd have received a lot more feedback by now. But that's not the case. I have no idea. Have you tried a different user account?

Maik
Comment 16 Martin P. 2025-04-04 08:30:56 UTC
Just downloaded appimage

digiKam-8.7.0-20250404T060057-Qt6-x86-64

All the above mentionend dropdowns und popups work now. Thanks for that.

What happenend?
Comment 17 caulier.gilles 2025-04-04 10:42:55 UTC
No idea, but i suspect that the upgrade of Qt 6.8.2 to 6.8.3 take effects.
Comment 18 Martin P. 2025-07-08 11:08:15 UTC
With digiKam 8.7.0 and Gnome on Fedora 42 the problems with the hamburger menus and the dropdowns persist. Both with the snap and flatpak version. The snap is built against QT 6.9.0, the flatpak too (the rpm version is not yet released). The appimage version works without these problems (but is built against QT 6.8.3).

Since I can't use KDE for a reason and the appimage is a pain to work with I would be glad if this could be worked out. Are there any logs I could send you?
Comment 19 caulier.gilles 2025-07-08 11:48:49 UTC
Why the appimage is a pain to work ?
Comment 20 Martin P. 2025-07-08 11:52:24 UTC
(In reply to caulier.gilles from comment #19)
> Why the appimage is a pain to work ?

Slow startup, has to be started through the file manager or from the terminal, very small mouse pointer
Comment 21 Maik Qualmann 2025-07-08 15:26:46 UTC
There is a workaround for the small cursor: Bug 498084

Maik
Comment 22 caulier.gilles 2025-07-09 12:44:25 UTC
We don't maintain the digiKam flatpak as it's already a time consuming task to maintain AppImage, Windows and MacOS bundle.

You can open an issue here :

https://github.com/flathub/org.kde.digikam/issues

The team is very active.

For the Snap, it's the same, The package is maintained by a KDE core developer: Scarlett Moore. I CC here on this file.

About the AppImage Qt6 update, i will do it in a few days...
Comment 23 Scarlett Moore 2025-07-09 14:42:57 UTC
I will take a look at snap tomorrow, thanks for the ping.
Comment 24 Martin P. 2025-07-14 10:31:53 UTC
Did a clean installation of Fedora 42 Gnome (default Wayland) on a spare laptop yesterday. Let the system do all updates. Nothing else has been touched besides installing snapd for Snaps.

Installed the flatpak, snap and Fedora-repo version of 8.7. In all three versions most of the dropdrowns do not work.

Did the same with Fedora KDE on Wayland. In all three versions all dropdowns do work.

Did another try with Fedora Cinnamon (defaults to X11 for now). In all three versions everything works as expected.

So the problem seems to be related to Gnome desktop and Wayland.

Using the appimage version for now. Though I would be glad if this bug could be sorted out.

BTW (and a little offtopic):

Neither the flatpak nor the snap version have the map overlay for zooming. You can turn it off or on but the overlay is not shown. And none of the three versions has the gmic plugin.

I know KDE/digiKam only packages the appimage version. But since at least KDE delivers all of its apps as flatpak it would great if digiKam could be distributed as an "official" flatpak version in favour of the appimage version. At the moment alternative versions are let down by bad packaging.
Comment 25 caulier.gilles 2025-07-19 20:06:47 UTC
Martin,

The digiKam 8.8.0 pre-relelase AppImage have been rebuilt using last Qt 6.9.1,
OpenCV 4.12, and KDE framework 6.16.

https://files.kde.org/digikam/digiKam-8.8.0-20250719T191430-Qt6-x86-64.appimage.mirrorlist

Can you reproduce the problem with this version?

Best regards

Gilles Caulier
Comment 26 Martin P. 2025-07-20 17:54:47 UTC
The appimage version is not a problem. It works flawlessly on a Gnome desktop. It's the other versions which don't work properly.
Comment 27 caulier.gilles 2025-07-21 05:23:07 UTC
If the AppImage work properly, well i suspect a broken package (probably Qt) packaged by Fedora. The AppImage is the reference for the team. Please report this bug to Fedora team as DOWNSTREAM bug.

Best regards 

Gilles Caulier