Bug 400938

Summary: Light table: Empty window when opened again
Product: [Applications] digikam Reporter: Johannes Nieß <linux>
Component: LightTable-WorkflowAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles, metzpinguin
Priority: NOR    
Version: 5.9.0   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In: 7.1.0
Sentry Crash Report:

Description Johannes Nieß 2018-11-11 16:02:48 UTC
SUMMARY
The light table window does only display a title bar below a grey, empty window when called again in a digikam session.

STEPS TO REPRODUCE
1. Start digikam
2. Select images and open light table: Window displays and works as expected
3. Close light table
4. Select same or other images and open light table again: Empty window

OBSERVED RESULT
Empty window with just a title bar, no menu or images displayed. Other parts of digikam seem to be still working.

EXPECTED RESULT
Light table window working as specified when used again in a digikam session.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)

KDE Frameworks 5.50.0
Qt 5.11.1 (kompiliert gegen 5.11.1)

KDE Plasma Version: kde-plasma/plasma-desktop (5.13.5-r3(5)@16.10.2018)
KDE Frameworks Version: kde-frameworks/frameworkintegration (5.50.0(5/5.50)@10.10.2018
Qt Version: dev-qt/qtcore (5.11.1-r1(5/5.11)@16.10.2018

ADDITIONAL INFORMATION
Digikam console output (separating line is just before 2nd opening of light table)


digikam.general: Clearing LT true
digikam.dimg: "/home/niess/Pictures/2012/2012-01-15 Sieg/DSC_9755.JPG"  : JPEG file identified
digikam.metaengine: DateTime => Exif.Photo.DateTimeOriginal =>  QDateTime(2012-01-15 10:03:53.000 CET Qt::TimeSpec(LocalTime))
digikam.dimg: "/home/niess/Pictures/2016/2016-02-20/DSC_9755-small.jpg"  : JPEG file identified
digikam.metaengine: Loading image history  ""
digikam.metaengine: DateTime => Exif.Photo.DateTimeOriginal =>  QDateTime(2016-02-20 11:31:15.000 CET Qt::TimeSpec(LocalTime))
digikam.dimg: "/home/niess/Pictures/2016/2016-02-20/DSC_9755-small.jpg"  : JPEG file identified
digikam.metaengine: Loading image history  ""
digikam.metaengine: DateTime => Exif.Photo.DateTimeOriginal =>  QDateTime(2016-02-20 11:31:15.000 CET Qt::TimeSpec(LocalTime))
digikam.metaengine: Exif color-space tag is sRGB. Using default sRGB ICC profile.
digikam.metaengine: Exif color-space tag is sRGB. Using default sRGB ICC profile.
digikam.metaengine: Orientation => Exif.Image.Orientation =>  1
digikam.widgets: Profile white point : x= 0.312713  y= 0.32912  Y= 1
digikam.widgets: dkCmsReadICCMatrixRGB2XYZ(2):  [ 0.435852 ,  0.38533 ,  0.143021 ] [ 0.222382 ,  0.717041 ,  0.0605927 ] [ 0.013916 ,  0.0971375 ,  0.713837 ]
digikam.widgets: d->Primaries.Red   : X= 0.461196  Y= 0.232948  Z= 0.00978772
digikam.widgets: d->Primaries.Green : X= 0.415454  Y= 0.719903  Z= 0.0802877
digikam.widgets: d->Primaries.Blue  : X= 0.115485  Y= 0.0520762  Z= 0.536577
digikam.dimg: "/home/niess/Pictures/2012/2012-01-15 Sieg/DSC_9755.JPG"  : JPEG file identified
digikam.metaengine: DateTime => Exif.Photo.DateTimeOriginal =>  QDateTime(2012-01-15 10:03:53.000 CET Qt::TimeSpec(LocalTime))
digikam.metaengine: Exif color-space tag is sRGB. Using default sRGB ICC profile.
digikam.metaengine: Orientation => Exif.Image.Orientation =>  1
-----------------------------------------------------------------------
digikam.geoiface: ----
digikam.geoiface: ----
digikam.general: Clearing LT true
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 26279, resource id: 100663767, major code: 19 (DeleteProperty), minor code: 0
digikam.dimg: "/home/niess/Pictures/2012/2012-01-15 Sieg/DSC_9755.JPG"  : JPEG file identified
digikam.metaengine: DateTime => Exif.Photo.DateTimeOriginal =>  QDateTime(2012-01-15 10:03:53.000 CET Qt::TimeSpec(LocalTime))
digikam.widgets: Profile white point : x= 0.312713  y= 0.32912  Y= 1
digikam.widgets: dkCmsReadICCMatrixRGB2XYZ(2):  [ 0.435852 ,  0.38533 ,  0.143021 ] [ 0.222382 ,  0.717041 ,  0.0605927 ] [ 0.013916 ,  0.0971375 ,  0.713837 ]
digikam.widgets: d->Primaries.Red   : X= 0.461196  Y= 0.232948  Z= 0.00978772
digikam.widgets: d->Primaries.Green : X= 0.415454  Y= 0.719903  Z= 0.0802877
digikam.widgets: d->Primaries.Blue  : X= 0.115485  Y= 0.0520762  Z= 0.536577
digikam.geoiface: ----
digikam.geoiface: ----
digikam.general: Clearing LT true
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 32814, resource id: 100663767, major code: 19 (DeleteProperty), minor code: 0
digikam.dimg: "/home/niess/Pictures/2012/2012-01-15 Sieg/DSC_9755.JPG"  : JPEG file identified
digikam.metaengine: DateTime => Exif.Photo.DateTimeOriginal =>  QDateTime(2012-01-15 10:03:53.000 CET Qt::TimeSpec(LocalTime))
digikam.widgets: Profile white point : x= 0.312713  y= 0.32912  Y= 1
digikam.widgets: dkCmsReadICCMatrixRGB2XYZ(2):  [ 0.435852 ,  0.38533 ,  0.143021 ] [ 0.222382 ,  0.717041 ,  0.0605927 ] [ 0.013916 ,  0.0971375 ,  0.713837 ]
digikam.widgets: d->Primaries.Red   : X= 0.461196  Y= 0.232948  Z= 0.00978772
digikam.widgets: d->Primaries.Green : X= 0.415454  Y= 0.719903  Z= 0.0802877
digikam.widgets: d->Primaries.Blue  : X= 0.115485  Y= 0.0520762  Z= 0.536577
digikam.geoiface: ----
digikam.geoiface: ----
digikam.geoiface: ----
digikam.general: Cancel Main Thread
digikam.general: Cancel Main Thread
QThreadStorage: Thread 0x55e172a93800 exited after QThreadStorage 10 destroyed
Comment 1 Maik Qualmann 2018-11-11 16:17:31 UTC

*** This bug has been marked as a duplicate of bug 395875 ***
Comment 2 Maik Qualmann 2018-11-11 16:20:05 UTC
This is a Qt-5.11 bug. Many distributions patched Qt accordingly. However, we have also adjusted digiKam in addition.

Maik
Comment 3 caulier.gilles 2018-11-11 16:35:02 UTC
You can use the Linux AppImage bundle version instead your distro package. We use Qt 5.9 inside.

Gilles Caulier
Comment 4 caulier.gilles 2020-07-25 14:47:03 UTC
Fixed with #395875