Bug 491673

Summary: Text unreadable in dark mode
Product: [Applications] okteta Reporter: minecraftchest1
Component: generalAssignee: Friedrich W. H. Kossebau <kossebau>
Status: RESOLVED FIXED    
Severity: normal Keywords: usability
Priority: NOR    
Version First Reported In: 0.26.4   
Target Milestone: ---   
Platform: Flatpak   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Okteta 0.26.16 with Breeze Dark

Description minecraftchest1 2024-08-13 14:36:57 UTC
SUMMARY
Any text in the text box (same for both hex and string view) appears as black text on a black background, rendering it unreadable when the global theme is set to Breeze Dark.

STEPS TO REPRODUCE
1. Set global theme to Breeze Dark
2. Create new file (or open existing)
3. Type into either text box.

OBSERVED RESULT
Black text on black background

EXPECTED RESULT
White or light gray text on black background.

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 40
KDE Plasma Version: 6.1.3
KDE Frameworks Version: 6.4.0
Qt Version: 6.7.2
Kernel Version: 6.10.3-200.fc40.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 16 × 12th Gen Intel® Core™ i5-1240P
Memory: 15.3 GiB of RAM
Graphics Processor: Mesa Intel® Graphics

ADDITIONAL INFORMATION
I have not tried opening a file, but I expect the result to be the same. There is also no way to change text colors (https://bugs.kde.org/show_bug.cgi?id=187129).
Comment 1 Friedrich W. H. Kossebau 2024-08-13 15:03:55 UTC
Created attachment 172587 [details]
Okteta 0.26.16 with Breeze Dark

Thanks for the report (even though I do not do flatpaks, someone else but I can not even tell who). Are you sure about 0.26.4? That would be a very old version (from 2020).

What  I can tell  is that when using Okteta of the current latest released version, using Breeze Dark things look like this attched screenshot to me when it comes to colors.
Comment 2 Friedrich W. H. Kossebau 2024-08-13 15:24:27 UTC
Looking further, seems this "flatpak" (is it really?) package of Okteta might be the one from Fedora 40 repos, by how I interpret https://src.fedoraproject.org/rpms/okteta? 

Please file the bug with the Fedora package then first, there have been 12 patch/bug fix releases meanwhile since 2020. One would have expected that bug fix releases (done for a reason) are picked up also with Fedora, like other distributions do? 0.26.4 sadly cannot be supported by upstream, only the latest versions.

I currently can also not recall related issues, so would first need to investigate, for which there is no extra time.

If the issue still exists with the current latest patch release version of Okteta (0.26.16), please reopen this bug report.
Comment 3 minecraftchest1 2024-08-13 15:53:49 UTC
It appears that discover was installing an old version from flathub. I installed it using `flatpak install flathub org.kde.okteta` and the issue is fixed. I will create a bug report with fedora.
Comment 4 Friedrich W. H. Kossebau 2024-08-13 16:04:18 UTC
Good things work better now for you. Thanks for reporting.