Bug 466769

Summary: Highlighted/selected options in text autofill popups in Kate editors use the wrong foreground color from the system color scheme rendering it unreadable
Product: [Applications] kate Reporter: Yusuf Jamal <yusufjamal1372>
Component: partAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: waqar.17a
Priority: NOR    
Version First Reported In: 22.12.3   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Screenshot of the autofill popup in kate. Shows the wrong foreground color being used for Selected/Highlighted text.

Description Yusuf Jamal 2023-03-03 15:18:48 UTC
Created attachment 156959 [details]
Screenshot of the autofill popup in kate. Shows the wrong foreground color being used for Selected/Highlighted text.

SUMMARY
The text color/foreground color of the highlighted entry in auto-fill/intellisense popups should use the 'Selection Text' color from the system (plasma) color scheme but uses 'View Text' color instead 

STEPS TO REPRODUCE
1. Type something in Kate or KWrite until you get the autofill suggestion popup.
2. Use the arrow keys on the keyboard to select one of the suggestions.

OBSERVED RESULT
The text color of the suggestion is the same as the 'View Text' color from the system color scheme

EXPECTED RESULT
The text color of the suggestion is the same as the 'Selection Text' color from the Plasma/system color scheme.

SOFTWARE/OS VERSIONS:
Linux/KDE Plasma: Arch Linux 
KDE Plasma Version: 5.27.2
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Comment 1 Waqar Ahmed 2023-03-20 17:17:57 UTC
Which theme is that?
Comment 2 Waqar Ahmed 2023-03-27 09:59:32 UTC
Hard to proceed without more info. We use whatever is set in the palette so it most likely is a bug in the theme  you use