Bug 478861

Summary: Digikam freezes when closing settings on Fedora w/ Gnome (default workstation)
Product: [Applications] digikam Reporter: gil
Component: Portability-RuntimeAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: caulier.gilles, metzpinguin
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description gil 2023-12-22 03:02:09 UTC
SUMMARY
Attempting to close certain Settings windows in digikam causes the window to flicker and the application to freeze, making it unusable.

From journalctl, I saw that there were some wayland compatibility error messages. E.g.

Dec 21 07:52:56 fedora digikam[50990]: qt.qpa.wayland: Wayland does not support QWindow::requestActivate()

I'm not sure if that's a red herring, but after some digging [1] I found that starting digikam with `-platform xcb` fixed the issues. I reported this bug in the fedora tracker as well, which led me here [2]

[1](https://discussion.fedoraproject.org/t/bug-with-qt-software-digikam-texstudio/74839/2)
[2](https://bugzilla.redhat.com/show_bug.cgi?id=2255516)

Steps to Reproduce:
1. Launch digikam
2. Navigate to Settings -> Configure Digikam
3. Close the Settings window, using the X icon in the top right
Actual Results:  
Flickering Settings page. App freezes.

Expected Results:  
Settings page is closed. App does not freeze.


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Fedora Workstation (Gnome)
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 caulier.gilles 2023-12-22 05:15:18 UTC
Which digiKam version ?
Which Qt version ?

Go to Help/Components Info dialog for details

Gilles Caulier
Comment 2 Maik Qualmann 2023-12-22 06:59:46 UTC

*** This bug has been marked as a duplicate of bug 468980 ***