Bug 424565

Summary: Okteta uses dark text color on a dark background
Product: [KDE Neon] neon Reporter: Stepan <avdeev20020904>
Component: SnapsAssignee: Scarlett Moore <sgmoore>
Status: RESOLVED WORKSFORME    
Severity: minor CC: kossebau, neon-bugs-null, sgmoore
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Snap   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Screenshot of Okteta showing the bug (Russian localization)
Okteta with Breeze Dark on current openSUSE TW
Unable to reproduce the bug

Description Stepan 2020-07-23 09:57:27 UTC
Created attachment 130331 [details]
Screenshot of Okteta showing the bug (Russian localization)

SUMMARY
Okteta uses dark text color on a dark background when a system theme is dark.
This makes the text unreadable.

STEPS TO REPRODUCE
1. Set Breeze dark theme.
2. Open Okteta.
3. Type anything in the editor.

OBSERVED RESULT
The text is dark on a dark background, except if it's highlighted.

EXPECTED RESULT
Light text color on a dark background.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kubuntu 20.04
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.68.0
Qt Version: 5.12.8
Comment 1 Friedrich W. H. Kossebau 2020-07-23 11:14:25 UTC
Thanks for the report. I fear this might be some snap package issue, as the respective code has not been changed in ages and so far no-one has reported an issue, or had I seen some problems myself when playing with color schemes.

So reassigning to snap authors.

The code rendering the "normal" bytes is in method 
ByteArrayRowColumnRendererPrivate::renderPlain(...) here:
https://invent.kde.org/utilities/okteta/-/blob/0.26/gui/bytearrayrowcolumnrenderer_p.cpp#L632

I will attach how things look for me with current Breeze Dark color scheme and Okteta, on openSUSE TW.
Comment 2 Friedrich W. H. Kossebau 2020-07-23 11:16:41 UTC
Created attachment 130332 [details]
Okteta with Breeze Dark on current openSUSE TW
Comment 3 Scarlett Moore 2023-04-06 17:51:38 UTC
I am perplexed on how it is a snap issue, but will look into it nevertheless.
Comment 4 Scarlett Moore 2023-05-01 22:35:39 UTC
Please test the latest in the snap store ( 0.26.10) as I cannot reproduce. Thank you
Comment 5 Bug Janitor Service 2023-05-16 03:46:02 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 6 Stepan 2023-05-17 10:01:48 UTC
Created attachment 159027 [details]
Unable to reproduce the bug

Now I can't reproduce the bug, it probably has been fixed by now. However, another problem occurred: The window title bar of the okteta from snap doesn't fit the dark theme.
Comment 7 Bug Janitor Service 2023-06-01 03:45:22 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 8 Bug Janitor Service 2023-06-16 03:45:22 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!