Bug 2102692 - Digikam main window flickering on selecting Settings from the menu
Summary: Digikam main window flickering on selecting Settings from the menu
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: digikam
Version: 37
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Rex Dieter
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-06-30 12:57 UTC by Brian Morrison
Modified: 2023-10-31 18:23 UTC (History)
10 users (show)

Fixed In Version: digikam-7.9.0-1.fc37 digikam-7.9.0-1.fc36
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-12-15 01:42:35 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Brian Morrison 2022-06-30 12:57:44 UTC
Description of problem:

On both digikam-7.6.0-1 and also a locally built and installed digikam-7.7.0 installation if I select the settings from the menu then the main window fills with flickering images of the settings window behind the settings window, on closing it these partial overlapping window repaints are filling the main window and cannot be cleared without restarting digikam.

Version-Release number of selected component (if applicable):

digikam-7.6.0-1.fc36.x86_64

How reproducible:

Every time settings menu is opened

Steps to Reproduce:
1. Start digikam
2. Open settings from menu
3. Flickering and partial window overlapping repaints appear in the digikam main window

Actual results:

Display flickering and incorrect repainting

Expected results:

It should work as it once did.

Additional info:

Latest F36 updates have been applied, running on an Intel 9700 8-core CPU under GNOME 42 DE with Intel graphics driver. Updating to a locally built digikam-7.7.0 install does not fix this.

Comment 1 Brian Morrison 2022-07-02 13:06:53 UTC
I have tried starting from a clean setup, it makes no difference.

Once the fragmented window contents have appeared the window switches back and forth between 2 views that are offset from each other diagonally across the digikam main window.

The program is unusable in this condition. Many of the buttons and controls do not appear to receive mouse input and do nothing.

Comment 2 Rex Dieter 2022-07-06 15:07:24 UTC
I cannot reproduce this on my own f36 laptop (intel based).

Offhand, may be gnome specific (I'm using kde plasma) or some sort of video driver issue.

Comment 3 Brian Morrison 2022-07-09 14:28:54 UTC
I have retested this again, digiKam appears to function correctly when using Plasma (Wayland) and GNOME Xorg.

The problem behaviour only occurs when using GNOME Wayland.

I don't know how to debug this myself, but I can try if anyone can provide advice on how to do it.

Comment 4 Brian Morrison 2022-08-17 18:25:08 UTC
Any ideas about this? Don't know which packages might require modification, so far I only see this problem with digikam.

Comment 5 Ingo von Borstel 2022-08-23 17:28:58 UTC
I can reproduce the issue on a freshly installed fedora 36 with digikam 7.7.0 on Gnome.

It also suffices to open the import -> cameras menu to reach this state of the main window.
I recorded a short video with my mobile phone in order to illustrate the behaviour: https://drive.google.com/file/d/1MLfzt78i8y6dBqcaJuT21KwdbcincFKi/view?usp=sharing
Interestingly this does NOT show in a screen-recording with obs studio which shows a black background where the screen shows the actually spurious window content.
I seem to recall having seen myself this issue also with way older Digikam installs on earlier Fedora versions. 
I don't have this issue with any other application.

Name         : digikam
Version      : 7.7.0
Release      : 1.fc36
Architektur  : x86_64
Größe        : 41 M
Quelle       : digikam-7.7.0-1.fc36.src.rpm
Paketquelle  : @System
Aus Paketque : updates

Please let me know how I can be of further assistence in identifying the exact problem.

Comment 6 Brian Morrison 2022-09-04 14:43:41 UTC
I have just built the newly released digikam 7.8.0 source tarball into rpms and installed.

The same problem persists, flickering in various windows after opening settings when using GNOME Wayland, but not when using GNOME Xorg.

I still don't know how to help debug this, but am willing to do so with some help.

Comment 7 Brian Morrison 2022-09-06 16:28:45 UTC
The same condition continues with digikam-7.8.0-1 from the updates-testing repos.

Comment 8 Rex Dieter 2022-09-06 18:43:15 UTC
I have doubts this is specific go digikam, possibly some Qt-integration issue with gnome/wayland.  That assumes this can be reproduced in some other Qt apps besides digikam though.

For those experiencing this, what video hardware/driver are you using?

Comment 9 Brian Morrison 2022-09-07 10:01:11 UTC
Hardware is:

Intel i7-9700 with Intel H370 chipset with integrated graphics

Driver is this:

xorg-x11-drv-intel-2.99.917-52.20200205.fc36.x86_64

If you need more information please let me know what that is.

I don't see any other application behaving this way, but there are a few odd changes with Wayland<->Xorg, mainly to so with default window positions and a few menu-related issues where the cursor doesn't exactly map to the menu selection area.

Fedora 37 beta out soon, so another chance to have all this change ;-)

Comment 10 Brian Morrison 2022-09-14 19:33:15 UTC
Or not.

Now running Fedora 37 beta and I have exactly the same symptoms.

So far I have not found another application that behaves this way at all.

Comment 11 Fedora Update System 2022-12-06 15:46:04 UTC
FEDORA-2022-20aeae2819 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-20aeae2819

Comment 12 Brian Morrison 2022-12-06 16:47:25 UTC
Just updated to digikam-7.9.0 and the flickering settings window is still exactly the same when using GNOME Wayland.

I genuinely have no idea how to debug it, doesn't happen with any other applications I use.

Comment 13 Fedora Update System 2022-12-06 17:54:18 UTC
FEDORA-2022-ffa5fd4eef has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-ffa5fd4eef

Comment 14 Fedora Update System 2022-12-07 02:50:37 UTC
FEDORA-2022-20aeae2819 has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-20aeae2819`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-20aeae2819

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 15 Fedora Update System 2022-12-07 03:03:54 UTC
FEDORA-2022-ffa5fd4eef has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-ffa5fd4eef`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-ffa5fd4eef

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 16 Ingo von Borstel 2022-12-07 22:52:13 UTC
Thanks a lot! That's a great and easy way to use the testing updates. 

I just followed the instruction and updated DigiKam with that command. However the result is unchanged: when I open the settings menu and then 'Digikam einrichten' (~setup digikam; last item in the settings menu) the window contents still suffers from the same jitter and becomes basically unusable.

Name         : digikam
Version      : 7.9.0
Release      : 1.fc36
Architektur  : x86_64
Größe        : 38 M
Quelle       : digikam-7.9.0-1.fc36.src.rpm
Paketquelle  : @System
Aus Paketque : updates-testing
Zusammenfass : A digital camera accessing & photo management application
URL          : http://www.digikam.org/

Comment 17 Onuralp Sezer 2022-12-08 00:46:08 UTC
Hello, In order to capture text traces 

https://www.digikam.org/contribute/


    export QT_LOGGING_RULES="digikam*=true"
    digikam


Also could you guys submit a bug report under https://bugs.kde.org/enter_bug.cgi?product=digikam as well. I was also looking and testing and so far. I was unable to see flickering on KDE wayland and Gnome workstation wayland as well. 

Also digikam devs can give better info from trace as well. It will help us as well.

Comment 18 Fedora Update System 2022-12-15 01:42:35 UTC
FEDORA-2022-20aeae2819 has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 19 Fedora Update System 2022-12-15 02:16:54 UTC
FEDORA-2022-ffa5fd4eef has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 20 Brian Morrison 2023-10-31 18:23:33 UTC
To help others, this problem appears resolved on Fedora 39 using the digikam-8.1.0-3 package.

I don't know what the original problem was, but probably in an underlying KDE/Qt library.


Note You need to log in before you can comment on or make changes to this bug.