Bug 457246 - Problem with Editor background Text Area and translucent color!
Summary: Problem with Editor background Text Area and translucent color!
Status: RESOLVED NOT A BUG
Alias: None
Product: frameworks-ktexteditor
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.96.0
Platform: Arch Linux Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-28 18:53 UTC by dave.nextgen
Modified: 2023-04-29 14:59 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
screenshot (805.65 KB, image/png)
2022-07-28 18:53 UTC, dave.nextgen
Details
ktexteditor nonsense (1.05 MB, image/png)
2022-11-26 22:10 UTC, dave.nextgen
Details

Note You need to log in before you can comment on or make changes to this bug.
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.