Bug 412319 - Text content is invisible (same color as background) in some areas under GNOME 3.34
Summary: Text content is invisible (same color as background) in some areas under GNOM...
Status: RESOLVED FIXED
Alias: None
Product: kleopatra
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR minor
Target Milestone: ---
Assignee: Andre Heinecke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-25 12:07 UTC by Ricky Tigg
Modified: 2024-11-21 16:43 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Kleopatra under GNOME 3.34.0 (160.00 KB, application/x-tar)
2019-09-25 12:07 UTC, Ricky Tigg
Details
Text has the same color as the background. (49.04 KB, image/png)
2024-10-11 02:04 UTC, Osni Winkelmann
Details
attachment-3046427-0.html (1.27 KB, text/html)
2024-10-11 15:01 UTC, Osni Winkelmann
Details
attachment-3177173-0.html (1.06 KB, text/html)
2024-10-11 20:00 UTC, Osni Winkelmann
Details
attachment-1558852-0.html (2.05 KB, text/html)
2024-11-21 16:43 UTC, Osni Winkelmann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ricky Tigg 2019-09-25 12:07:49 UTC
Created attachment 122860 [details]
Kleopatra under GNOME 3.34.0

SUMMARY: rendering issues under Gnome –version tested 3.34.0–.

STEPS TO REPRODUCE
1. Handbook (F1) is currently available only on-line at https://docs.kde.org/stable5/en/pim/kleopatra/index.html;
Insecure web protocol –HTTP– exhibited; nevertheless link redirects to an URL figuring an HTTPS protocol, which relies on a strong enough cipher suite.
2. Default theme, Adwaita, is active. Select New Key Pair...
3. Theme Adwaita-dark is active. Select Perform Self-Test.

OBSERVED RESULTS
1. (kleopatra_web_site)
- Handbook would be convenient to be as well available off-line;
- URL could be updated.
2. (kleopatra_adwaita_*)
- Texts related to key-pair choice partially visible;
- Content related to GPG key-pair choice invisible.
3. (kleopatra_adwaita-dark_*)
- Content unvisible;
- Content visible only when ii is focused with the pointer.

SOFTWARE/OS VERSIONS
Kleopatra v 3.1.4 (version not listed in present site interface!)
Linux (x86_64) release 5.3.0-1.fc31.x86_64
KDE Frameworks 5.61.0
Qt 5.12.4 (built against 5.12.4)
The wayland windowing system 

ADDITIONAL INFORMATION
Same observations under Gnome 3.34.0 running under X server.
Setting themes relies on package gnome-tweaks.
Comment 1 Ingo Klöcker 2022-02-09 17:43:01 UTC
I have just fixed the "white text on light grey background" issue of step/result 2 in the Breeze style (for version 5.91).

I have no idea why the rendered text is cropped. Maybe another bug in the rendering of QCommandLinkButton with Breeze style. Maybe we should stop using the Vista-inspired QCommandLinkButton and simply use radio buttons instead. Vista is long dead and using a widget that almost nobody uses (LXR finds only 74 occurrences of "QCommandLinkButton" in all of KDE; https://lxr.kde.org/search?%21v=kf5-qt5&_filestring=&_string=QCommandLinkButton) is bound to cause trouble.

Hmm, interesting. One finding of LXR in kexi reads "QCommandLinkButton have fonts size hardcoded what breaks accessibility". Sounds like this could be the problem with the cropped text. Yet two more reasons (poor accessibility and broken text rendering) to get rid of QCommandLinkButton.
Comment 2 Osni Winkelmann 2024-10-11 02:04:56 UTC
Created attachment 174664 [details]
Text has the same color as the background.

Text has the same color as the background.
Comment 3 Osni Winkelmann 2024-10-11 03:12:45 UTC
I was able to change the text colors by changing the system fonts from Yaru to Yaru-Black.
Osni Winkelmann
Comment 4 Osni Winkelmann 2024-10-11 04:35:51 UTC
I apologize, the change only lasted until I closed the program and when I reopened it, the text disappeared again, in the background.
Osni Winkelmann
Comment 5 Ingo Klöcker 2024-10-11 07:16:49 UTC
(In reply to Osni Winkelmann from comment #2)
> Created attachment 174664 [details]
> Text has the same color as the background.
> 
> Text has the same color as the background.

Osni: Your screenshot shows the settings dialog of Dolphin. What has that to do with Kleopatra?
Comment 6 Osni Winkelmann 2024-10-11 15:01:57 UTC
Created attachment 174695 [details]
attachment-3046427-0.html

Excuse me, I am not a KDE user, only a Dolphin user, and I thought that KDE
bugs were centralized. My mistake, sorry again. I found the site through
the "KDE Bugtracking System", typing "Invisible Text" in the Bug search.

Em sex., 11 de out. de 2024 às 04:16, Ingo Klöcker <bugzilla_noreply@kde.org>
escreveu:

> https://bugs.kde.org/show_bug.cgi?id=412319
>
> --- Comment #5 from Ingo Klöcker <kloecker@kde.org> ---
> (In reply to Osni Winkelmann from comment #2)
> > Created attachment 174664 [details]
> > Text has the same color as the background.
> >
> > Text has the same color as the background.
>
> Osni: Your screenshot shows the settings dialog of Dolphin. What has that
> to do
> with Kleopatra?
>
> --
> You are receiving this mail because:
> You are on the CC list for the bug.
Comment 7 Ingo Klöcker 2024-10-11 17:40:05 UTC
KDE bugs are centralized, but there are still separate reports for different products. The easiest way to report a bug for a KDE product is via "Report Bug..." in the Help menu. This will direct you to our bug tracker with the correct product and version already set.
Comment 8 Osni Winkelmann 2024-10-11 20:00:05 UTC
Created attachment 174710 [details]
attachment-3177173-0.html

Awesome, thanks for the info!

Em sex., 11 de out. de 2024 às 14:40, Ingo Klöcker <bugzilla_noreply@kde.org>
escreveu:

> https://bugs.kde.org/show_bug.cgi?id=412319
>
> --- Comment #7 from Ingo Klöcker <kloecker@kde.org> ---
> KDE bugs are centralized, but there are still separate reports for
> different
> products. The easiest way to report a bug for a KDE product is via "Report
> Bug..." in the Help menu. This will direct you to our bug tracker with the
> correct product and version already set.
>
> --
> You are receiving this mail because:
> You are on the CC list for the bug.
Comment 9 Ingo Klöcker 2024-11-21 15:44:00 UTC
Re 1: Here, the handbook opens in KDE Help Center. It loads the installed docbook file. If KDE Help Center isn't available then an https-URL is opened nowadays.

Re 2: We are using different buttons now which shouldn't have the problems you saw.

Re 3: We are using background the positive and negative background colors provided by the color scheme (see bug 209768). I have no idea if Adwaita-dark provides those colors or if KColorScheme supports Gnome color themes. In any case, this is an issue outside of Kleopatra's control.

I'll close this as FIXED because the problems that could be fixed in Kleopatra have been fixed. (This shows that it's not a good idea to report multiple issues in one ticket because it's impossible to reflect the status of all sub-issues.)
Comment 10 Osni Winkelmann 2024-11-21 16:43:38 UTC
Created attachment 176013 [details]
attachment-1558852-0.html

Thanks for the feedback!

Em qui., 21 de nov. de 2024 às 12:44, Ingo Klöcker <bugzilla_noreply@kde.org>
escreveu:

> https://bugs.kde.org/show_bug.cgi?id=412319
>
> Ingo Klöcker <kloecker@kde.org> changed:
>
>            What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>              Status|REPORTED                    |RESOLVED
>          Resolution|---                         |FIXED
>
> --- Comment #9 from Ingo Klöcker <kloecker@kde.org> ---
> Re 1: Here, the handbook opens in KDE Help Center. It loads the installed
> docbook file. If KDE Help Center isn't available then an https-URL is
> opened
> nowadays.
>
> Re 2: We are using different buttons now which shouldn't have the problems
> you
> saw.
>
> Re 3: We are using background the positive and negative background colors
> provided by the color scheme (see bug 209768). I have no idea if
> Adwaita-dark
> provides those colors or if KColorScheme supports Gnome color themes. In
> any
> case, this is an issue outside of Kleopatra's control.
>
> I'll close this as FIXED because the problems that could be fixed in
> Kleopatra
> have been fixed. (This shows that it's not a good idea to report multiple
> issues in one ticket because it's impossible to reflect the status of all
> sub-issues.)
>
> --
> You are receiving this mail because:
> You are on the CC list for the bug.