Bug 457246

Summary: Problem with Editor background Text Area and translucent color!
Product: [Frameworks and Libraries] frameworks-ktexteditor Reporter: dave.nextgen
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: wishlist CC: christoph, kare.sars, waqar.17a
Priority: NOR    
Version First Reported In: 5.96.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: screenshot
ktexteditor nonsense

Description dave.nextgen 2022-07-28 18:53:44 UTC
Created attachment 150961 [details]
screenshot

When you use translucent color on editor background text area, all lines with filed text have own background fill, which is definitely not the expected behavior!  Included screenshot!

Icon border background work like expected, but again separator line have double file on right side of line?


Can you please fix this? 
Thanks!
Comment 1 Waqar Ahmed 2022-10-03 08:28:24 UTC
This is working as expected and I don't think it will be changed.
Comment 2 Christoph Cullmann 2022-11-12 19:03:27 UTC
One can keep it as a wishlist, but if nobody steps up to implement this, nothing will happen.

We never supported transparency.
Comment 3 dave.nextgen 2022-11-26 22:10:24 UTC
Created attachment 154063 [details]
ktexteditor nonsense

https://invent.kde.org/frameworks/ktexteditor/-/blob/master/src/syntax/katethemeconfig.cpp#L422

You obviously support! But support or not, it just shows that somehow render is broken.

And there would be no problem at all if ktexteditor will just adopt application backgound. Now if we set text area background to full transparent, (#00000000) to avoid double filling background in lines, ktexteditor view become transparent with desktop background. Included screenshot!
Comment 4 Kåre Särs 2022-11-27 11:13:43 UTC
Then dave.nextgen@gmail.com please provide a non-breaking patch to make transparency work for the background of the rendered lines. 

The code for rendering lines is complicated and has not been designed with transparency in mind. And it seems that this is not an itch or big issue for the current volunteers developing Kate or KTextEditor.

Thanks,
  Kåre
Comment 5 Christoph Cullmann 2023-04-29 14:59:12 UTC
If somebody provides a patch, all fine, I don't think anybody of the team shall waste precious effort on this.