Bug 397694

Summary: Missing text on selected tabs from QTabWidget
Product: [Applications] digikam Reporter: bcr
Component: Bundle-MacOSAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: benjcmin, caulier.gilles, metzpinguin
Priority: NOR    
Version First Reported In: 5.9.0   
Target Milestone: ---   
Platform: macOS (DMG)   
OS: macOS   
Latest Commit: Version Fixed In: 7.0.0
Sentry Crash Report:
Attachments: missing tab label 1
Screenshot showing missing content for unselected tabs in MacOS

Description bcr 2018-08-21 07:59:33 UTC
Created attachment 114527 [details]
missing tab label 1

Using a Mac (v10.11.6)  I'm unable to view the labels on selected tabs across the UI. Not sure if the label colour matches the background or whether they're somehow not really there.  The labels on all unselected tabs are visible however, see attached composite of two screenshots.
Comment 1 caulier.gilles 2018-08-21 08:06:41 UTC
Go to setup dialog in Misc section to select another widget style to display the application. You can also select another color theme from settings menu.

Both have effects to render application contents, and some combinations don't work properly.

Gilles Caulier
Comment 2 caulier.gilles 2018-08-21 19:30:09 UTC
bcr,

Can you reproduce the dysfunction with my last 6.0.0-beta1 bundle that i just rebuild today :

https://files.kde.org/digikam/digiKam-6.0.0-beta1-20180821T182536-MacOS-x86-64.pkg.mirrorlist

Thanks in advance

Gilles Caulier
Comment 3 bcr 2018-08-21 19:48:26 UTC
Yes, I was able to reproduce the missing tab text issue with the last 6.0 build.  I wasn't able to find the widget selector in the Misc section you mentioned either.   Maybe show me where on a screenshot?
Comment 4 caulier.gilles 2018-08-21 19:59:09 UTC
You is right. The widget style selection under MacOS do not exists, because it create dysfunction.

But i'm sure that Color theme is the solution. Look my screenshot here :

https://www.flickr.com/photos/digikam/44182482851/in/dateposted/

I use Settings/Theme/Black Body, and the problem disapear...

Gilles Caulier
Comment 5 bcr 2018-08-21 20:17:02 UTC
I get a 403 error on that screenshot link you sent, wrong permissions?

To fix the problem I think digikam should switch to using that nice black theme you have on the other screenshots I saw.  Version 6.0 deserves the dramatic change.  Tab headings are visible now.
Comment 6 caulier.gilles 2018-08-21 20:27:47 UTC
Flickr property fixed
Comment 7 Maik Qualmann 2018-09-20 11:27:04 UTC
*** Bug 398869 has been marked as a duplicate of this bug. ***
Comment 8 benjcmin 2018-09-20 19:17:10 UTC
Want to add info from my duplicate bug.

I suppose it's an colouring problem, as text seems not to be really gone
Because when I take another appliaction as active/forground window, text appears in background running DigiKam window. 
As soon as Digikam becomes active again text is not visible anymore.
Comment 9 caulier.gilles 2018-12-31 11:47:50 UTC
Can you reproduce the dysfunction using the last digiKam 6.0.0-beta3 just
released ?

https://www.digikam.org/news/2018-12-30-6.0.0-beta3_release_announcement/
Comment 10 caulier.gilles 2019-03-09 20:48:45 UTC
benjcmin,

Can you reproduce the dysfunction using current 6.1.0 pre-release PKG installer for MacOS ?

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

Thanks in advance

Gilles Caulier
Comment 11 bcr 2019-03-10 06:42:27 UTC
Created attachment 118677 [details]
Screenshot showing missing content for unselected tabs in MacOS
Comment 12 bcr 2019-03-10 06:44:22 UTC
Issue seems to be fixed for tabs that have text content but still is a problem with unselected tabs that have (graphic?) content. They're not showing up on the leftmost tabs on main UI. See attached screenshot.
Comment 13 caulier.gilles 2019-03-10 09:06:37 UTC
ah, now i understand.

It's not a bug, it's an option, dedicated to reduce layout of whole application GUI on small screen. I agree that i never use it and always disable this kind of settings in production.

Go to digiKam setup dialog on Miscs/Appearance tab, and select "For all Tabs" value for the option "Sidebar tab title"...

Gilles Caulier
Comment 14 bcr 2019-03-10 09:38:47 UTC
Ok, its still a bug though if users have to navigate through the preferences menu to fix something that should be set properly from the start.  

I understand the how & why but probably should have some code that switches that display option based on the underlying platform. There is no way a new Digikam user would know those tabs exist as it is now.
Comment 15 caulier.gilles 2019-03-10 09:42:13 UTC
Or to just use "For all Tabs" option by default. High resolution screens become a standard, even on small laptop.

Gilles Caulier
Comment 16 caulier.gilles 2020-01-12 12:55:09 UTC
Not reproducible with digiKam 7.0.0-beta2 based on Qt 5.14.0

Gilles Caulier