SUMMARY *** NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols. See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports *** When I try to move a settings window on Gnome/Wayland using Digikam native wayland version (`--platform wayland`) it leads to heavy visual glitches that can be seen in this video: https://nc.horbach5x.de/s/5mM99KaZag6KW9S It looks like all frames of the setting window get stacked over each other and flicker very hard. I am not able to close the window anymore. STEPS TO REPRODUCE 1. Start Digikam on Gnome/ Wayland with the parameter `--platform wayland` 2. Open a settings menu (e.g. Settings - Set up Digikam) 3. Move the window with the decorations OBSERVED RESULT It looks like in the video from above. EXPECTED RESULT It should simply move the window SOFTWARE/OS VERSIONS Linux/KDE Plasma: I use Gnome 41.1 (available in About System) KDE Plasma Version: none KDE Frameworks Version: Qt Version: 5.15.2 ADDITIONAL INFORMATION:
Can you try with last 7.4.0 pre-release AppImage bundle to see if problem still reproducible. The bundle can be used in parallel than native digiKam version. https://files.kde.org/digikam/ Gilles Caulier
But this is not a problem that we can fix. This is a graphic / Qt problem. This problem does not exist here under a Plasma Wayland session. Maik
One pending is the Qt plugin for Wayland installed and used at running time. Qt has one and it included in AppImage bundle. The native version must have this plugin installed too. If i'm not too wrong, i think KDE provide also a Wayland extension, installed with Plasma desktop. Perhaps it miss this file under Gnome ? Note: the Wayland extension from Plasma is not included in AppImage bundle. Gilles
(In reply to Maik Qualmann from comment #2) > But this is not a problem that we can fix. This is a graphic / Qt problem. > This problem does not exist here under a Plasma Wayland session. > > Maik Okay so should I report the bug elsewhere?
I tried running the Digikam using the AppImage. It worked fine without any arguments, but it was using XWayland, which i would like to avoid (HiDPI issues, etc.) . I tried starting Digikam with the `--platform wayland` argument or with `QT_QPA_PLATFORM=wayland` set, but it crashed right on the start: `` ~/Downloads ❯ QT_QPA_PLATFORM=wayland ./digiKam-7.4.0-20211205T115805-x86-64.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"'. libudev.so.0 libxcb-dri3.so.0 -- Preloading shared libs: :/usr/lib64/libxcb-dri3.so.0 xkbcommon: ERROR: failed to add default include path ././/share/X11/xkb unknown: failed to create xkb context libEGL warning: MESA-LOADER: failed to open radeonsi (search paths ././/lib64/dri) libEGL warning: MESA-LOADER: failed to open swrast (search paths ././/lib64/dri) libEGL warning: MESA-LOADER: failed to open swrast (search paths ././/lib64/dri) unknown: Failed to initialize EGL display 3001 /tmp/.mount_digiKaiwKKJe/AppRun: Zeile 172: 24571 Speicherzugriffsfehler (Speicherabzug geschrieben) digikam $@ ``` I am not exactly sure which plugins you mean and where i would find them. I have qt5-wayland 5.15.2 installed system-wide and also kwayland 5.88.0. Otherwise i think it wouldn't even be possible to start Digikam in "native Wayland mode".
(In reply to Maik Qualmann from comment #2) > But this is not a problem that we can fix. This is a graphic / Qt problem. > This problem does not exist here under a Plasma Wayland session. > > Maik I can confirm the bug is still there under Fedora 35 / Gnome. But everything is fine on my other machine running OpenSUSE Tumbleweed / KDE. (In reply to lrdarknesss from comment #4) > (In reply to Maik Qualmann from comment #2) > > But this is not a problem that we can fix. This is a graphic / Qt problem. > > This problem does not exist here under a Plasma Wayland session. > > > > Maik > > Okay so should I report the bug elsewhere? Did you report the bug somewhere else?
No I didn't and I don't plan to. I wouldn't know where and how I should create a bug report, so that I contains useful debugging information.
I just tried if I could reproduce this problem in other Qt apps. I started FreeCAD in native Wayland mode and opened the settings window, but it did not show this visual glitches when i moved the settings window. According to the info window it is using Qt 5.15.2.
Hi and happy new year, Please make a try with Krita 5 AppImage bundle. We have a good knowledge with krita bundling, so it can simplify the investigations. https://krita.org/fr/telechargement/krita-desktop/ Thanks in advance Gilles Caulier
@lrdarknesss@yahoo.de Did you seen my last comment ? digiKam 8.0.0 is out. This entry still valid with this release ? Best regards Gilles Caulier
Git commit 44160177c2661a24437eea683f58d3abca7b5d72 by Gilles Caulier. Committed on 01/06/2023 at 16:11. Pushed by cgilles into branch 'master'. add Wayland protocols modules in AppImage bundle. Compile KF5::KGuiAddOns module with Wayland support. Related: bug 446729, bug 446153 M +1 -0 project/bundles/3rdparty/CMakeLists.txt M +1 -1 project/bundles/3rdparty/ext_kf5_frameworks/CMakeLists.txt A +28 -0 project/bundles/3rdparty/ext_waylandprotocols/CMakeLists.txt M +3 -1 project/bundles/appimage/02-build-extralibs.sh https://invent.kde.org/graphics/digikam/-/commit/44160177c2661a24437eea683f58d3abca7b5d72
@lrdarknesss@yahoo.de, What's about this file using current 8.2.0 AppImage Linux bundle ? It's reproducible ? https://files.kde.org/digikam/ Thanks in advance Gilles Caulier
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 476092, bug 468980, bug 472918, 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
Fixed with Bug 494993 Maik