Bug 476092 - Wayland support: right-mouse on tags pops-up empty (UI) frame
Summary: Wayland support: right-mouse on tags pops-up empty (UI) frame
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Bundle-AppImage (show other bugs)
Version: 8.2.0
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-25 16:57 UTC by Ervan Darnell
Modified: 2024-02-15 03:31 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 8.3.0


Attachments
blank context menu (47.33 KB, image/png)
2023-10-25 16:57 UTC, Ervan Darnell
Details
Version 8.2 runs with no UI element at all on 22.04 (37.15 KB, image/png)
2023-10-25 18:32 UTC, Ervan Darnell
Details
Example of no drop-down auto-complete box on face identification (83.00 KB, image/png)
2023-10-26 15:41 UTC, Ervan Darnell
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ervan Darnell 2023-10-25 16:57:16 UTC
Created attachment 162567 [details]
blank context menu

SUMMARY
***
Using the right mouse to bring up a (possible) context menu on an item, e.g. a particular tag or a particular album, only results in a blank window.  Example attached.
***


STEPS TO REPRODUCE
1.  From the menu on the left margin (albums, tags, people..) choose "people"
2. Right click on any given tag ("Dians" in my example)

OBSERVED RESULT
A blank box pop ups.

EXPECTED RESULT
a context menu


SOFTWARE/OS VERSIONS

Wayland, Gnome version 42.9

$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 22.04.3 LTS
Release:	22.04
Codename:	jammy

$ uname -a
Linux serval 6.2.6-76060206-generic #202303130630~1689015125~22.04~ab2190e~dev-Ubuntu SMP PREEMPT_DY x86_64 x86_64 x86_64 GNU/Linux


ADDITIONAL INFORMATION
I am running from the 8.1.0 appimage directly (and thus likely using whatever it puts in squash fs).
Comment 1 caulier.gilles 2023-10-25 17:25:17 UTC
Here a Ubuntu 22.04.03 do not reproduce the problem with the AppImage 8.2.0 pre-release. Please try this file :

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

Gilles Caulier
Comment 2 Ervan Darnell 2023-10-25 18:32:55 UTC
Created attachment 162568 [details]
Version 8.2 runs with no UI element at all on 22.04
Comment 3 Ervan Darnell 2023-10-25 18:45:03 UTC
Version 8.2 displays the splash screen (with "loading plugins"), but then there is no main UI element at all,  I can use the Gnome task bar to quit the digiKam process, so it is running and accepting messages, but not UI. So, I cannot test this bug on 8.2.0.

However, upon returning to 8.1, I see the right-mouse context menu has returned, for now.  I have noticed a correlated behavior.  When I am in the "People" menu and tagging faces there is usually a drop down with suggested names (when I am processing "People/Unknown" face thumbnails for instance) based upon the first few letters I type.  At some point this drop down disappears and there is nothing.  This is the same time the right mouse content menu goes awry.  I tried quitting and restarting 8.1 previously without having fixed the problem.  Also, I have seen the drop-down face-id auto completion fail and then work again multiple times.  It is not clear if trying 8.2 reset something.  

I realize this is not very useful information.  If you have a different 8.2 image, I am willing to try that.  Otherwise, I will wait for the 8.1 UI failure again and see if I can track down what resets it.

Log from launching 8.2 in case it means anything:
/digiKam-8.2.0-20231021T070904-x86-64-Qt6.appimage 
-- digiKam Linux AppImage Bundle
-- Use 'help' as CLI argument to know all available options for digiKam application.
-- Notes: to integrate this bundle to your desktop, use AppImageLauncher.
--        to enable all debug messages on the console, use 'export QT_LOGGING_RULES="digikam*=true"'.
--        to extract the bundle contents locally, use option '--appimage-extract' on the command line.
-- Detected host Linux ubuntu-64-22.4
-- AppImage mounted directory: /tmp/.mount_digiKaIODNLL
Check library libudev.so.0
Check library libxcb-dri3.so.0
Check library libcrypto.so.1.1
Check library libssl.so.1.1
Check library libnss3.so
Check library libnssutil3.so
Check library libsmime3.so
Check library libgmodule-2.0.so.0
-- Preloading shared libs: :/usr/lib/x86_64-linux-gnu/libxcb-dri3.so.0:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1:/usr/lib/x86_64-linux-gnu/libssl.so.1.1:/usr/lib/x86_64-linux-gnu/libnss3.so:/usr/lib/x86_64-linux-gnu/libnssutil3.so:/usr/lib/x86_64-linux-gnu/libsmime3.so:/usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0
unknown: Failed to load client buffer integration: "wayland-egl"
unknown: Available client buffer integrations: QList("wayland-egl")
unknown: Sonnet: No speller backends available!
unknown: No language dictionaries for the language: "en_US"
unknown: No language dictionaries for the language: "en_US"
unknown: No language dictionaries for the language: "en_US"
unknown: No language dictionaries for the language: "en_US"
unknown: No language dictionaries for the language: "en_US"
unknown: No language dictionaries for the language: "en_US"
unknown: No language dictionaries for the language: "en_US"
unknown: No language dictionaries for the language: "en_US"
unknown: No language dictionaries for the language: "en_US"
unknown: No language dictionaries for the language: "en_US"
unknown: No language dictionaries for the language: "en_US"
unknown: No language dictionaries for the language: "en_US"
unknown: Unhandled container to remove :  Digikam::DigikamApp
unknown: No language dictionaries for the language: "en_US"
unknown: No language dictionaries for the language: "en_US"
unknown: No language dictionaries for the language: "en_US"
unknown: No language dictionaries for the language: "en_US"
unknown: No language dictionaries for the language: "en_US"
unknown: No language dictionaries for the language: "en_US"
unknown: No language dictionaries for the language: "en_US"
unknown: No language dictionaries for the language: "en_US"
unknown: No language dictionaries for the language: "en_US"
unknown: No language dictionaries for the language: "en_US"
unknown: No language dictionaries for the language: "en_US"
unknown: No language dictionaries for the language: "en_US"
Comment 4 caulier.gilles 2023-10-25 20:59:18 UTC
===> digiKam-8.2.0-20231021T070904-x86-64-Qt6.appimage 

No, do not use the Qt6 version for the moment. The non GUI problem is known. Use the Qt5 version instead (at the same place) :

digiKam-8.2.0-20231025T202916-x86-64.appimage
Comment 5 Ervan Darnell 2023-10-26 15:41:00 UTC
8.2.0 does not solve the problem.  I am observing the same behavior.  As noted before, the drop down box with a list of name choices for face identification stops working at the same time.  I am attaching an example where I typed in "Al" into a name box and no drop-down appeared.  The empty right-click context menu problem started at the same time.  This happened after running "Recognize Faces".  I have not yet confirmed if that is always the trigger, but it was the last thing I did this time.  I blocked out some private photos in my uploaded screen shot, but all of the relevant UI info is there.
Comment 6 Ervan Darnell 2023-10-26 15:41:58 UTC
Created attachment 162575 [details]
Example of no drop-down auto-complete box on face identification
Comment 7 Maik Qualmann 2023-10-26 16:47:39 UTC
The cause is the missing or currently non-functioning Wayland support in the AppImage.

Maik
Comment 8 caulier.gilles 2023-10-26 17:06:36 UTC
... Even if i put all relevant plugins and libs to work properly under Wayland.
The road will be long to see this support enough stable into Qt + KDE frameworks.

Gilles
Comment 9 caulier.gilles 2023-12-22 11:16:40 UTC
Git commit 204529650237593450ea42ac7192ba2e2c17ef18 by Gilles Caulier.
Committed on 22/12/2023 at 12:12.
Pushed by cgilles into branch 'master'.

AppImage update frameworks:
Qt5   : 5.15.12
KDE   : 5.113
Plasma: 5.27.10
Kapp  : 23.08.4
Whole AppImage VM needs to be rebuild from scratch.
Related: bug 474265, bug 478222

M  +3    -3    project/bundles/3rdparty/ext_qt5/CMakeLists.txt
M  +3    -3    project/bundles/appimage/config.sh

https://invent.kde.org/graphics/digikam/-/commit/204529650237593450ea42ac7192ba2e2c17ef18
Comment 10 caulier.gilles 2023-12-22 20:10:27 UTC
Hi all,

I rebuild whole AppImage from scratch under XUbuntu 18.04 includes all system updates. The VM was re-installed fully. There is no traces of older builds inside.

So the AppImage with this date (and later will be built on this VM : 20231222T162413

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

It uses internally last  Qt 5.15.12, and KDE framework 5.113.

The goal to use XUbuntu 18.04 guaranty a binary compatibility with Ubuntu* 20.x and later. 

So please download the bundle and try again.

Thanks in advance and Merry Christmas to all.

Best

Gilles Caulier
Comment 11 Maik Qualmann 2024-01-07 09:31:23 UTC
Git commit 581acb950c8e10a607571853694141a3bd40cdbe by Maik Qualmann.
Committed on 07/01/2024 at 10:26.
Pushed by mqualmann into branch 'master'.

add digiKam setting to force use of software OpenGL rendering
Related: bug 479455, bug 468980, bug 472918, bug 446511, bug 446729

M  +5    -4    core/app/main/main.cpp
M  +15   -0    core/showfoto/main/main.cpp
M  +2    -0    core/utilities/setup/misc/systemsettings.cpp
M  +1    -0    core/utilities/setup/misc/systemsettings.h
M  +5    -0    core/utilities/setup/misc/systemsettingswidget.cpp

https://invent.kde.org/graphics/digikam/-/commit/581acb950c8e10a607571853694141a3bd40cdbe
Comment 12 caulier.gilles 2024-02-09 08:09:44 UTC
@Ervan Darnell,

The new digiKam 8.3.0 pre-release AppImage bundle for Linux based on Ubuntu 20.06 is now online at usual place:

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

Problem still reproducible with this version ?

Thanks in advance

Gilles Caulier
Comment 13 Ervan Darnell 2024-02-15 00:19:22 UTC
Version 8.3.0 worked for me today.