Bug 468521

Summary: Kate terminal background is black
Product: [Applications] konsole Reporter: Jebin <jebin12raj>
Component: kpartAssignee: Konsole Developer <konsole-devel>
Status: REPORTED ---    
Severity: normal CC: waqar.17a
Priority: NOR    
Version: 22.12.2   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Screenshot comparing konsole in kate vs konsole

Description Jebin 2023-04-15 06:07:20 UTC
Created attachment 158120 [details]
Screenshot comparing konsole in kate vs konsole

SUMMARY
I'm using a black on white colour scheme with transparency for konsole. However, konsole embedded inside Kate always appears gray. I assume this is because the colour supposed to be behind the kate's konsole is always black and is not influenced by the system colour scheme (which is a light color scheme in my case).


STEPS TO REPRODUCE
1. Set the system colour scheme to Breeze light.
2. Set the konsole's default colour scheme to be Black on white with some transparency
3. Open kate and its embedded konsole.

OBSERVED RESULT
Attaching screenshot

EXPECTED RESULT
The embedded konsole's background should follow the system colour scheme (or may be made transparent).

SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux
KDE Plasma Version: 5.26.5
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Kernel Version: 6.1.19-1-MANJARO (64-bit)
Graphics Platform: X11
Comment 1 Waqar Ahmed 2023-04-15 09:17:10 UTC
I think transparency is a feature that Konsole implements itself in the app, it's not a part of the konsolepart.

Besides, the color scheme not being the same as Konsole is a feature. It allows you to have a different scheme in the editor.

Working as Intended from my POV. Moving to Konsole, will let Konsole devs decide whether to close this or alter the behavior.
Comment 2 Jebin 2023-04-15 09:34:20 UTC
Sorry if I wasn't clear. English is not my primary language. I understand that having different colour scheme is a feature. I'll try to explain better. Also, please refer to the screenshot attached above for reference.

Both my Kate and Konsole are using light theme by default. So, the konsole inside kate (leftside) should look similar to separate window of konsole (rightside). But, in this case, the konsole inside kate appears more darker. This is the bug I wish to report.

Now, for possible reasons, I assumed that there could be some UI element behind konsole which is black in colour. Hence, since I have enabled partial transparency for konsole, the black color is seeping through and giving it a darker look. But, I could be wrong in this assumption. Please let me know if this was clear.
Comment 3 Waqar Ahmed 2023-04-15 09:39:08 UTC
It could be that you are right, I do not want Konsole's code that well to say you are wrong/right.

You can try with some opaque theme and see if it make any difference
Comment 4 Jebin 2023-04-16 05:45:01 UTC
Update: Just checked on Wayland. This issue is not present in Wayland. Only occurs in X11.