[konsole] [Bug 456354] New text writes on top of sixel image instead of erasing part of the image

Matan Ziv-Av bugzilla_noreply at kde.org
Thu Jul 7 09:41:47 BST 2022


https://bugs.kde.org/show_bug.cgi?id=456354

Matan Ziv-Av <matan at svgalib.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |matan at svgalib.org

--- Comment #2 from Matan Ziv-Av <matan at svgalib.org> ---
(In reply to badnam3o.0 from comment #0)
> Created attachment 150416 [details]
> different behaviours with sixel images of konsole and xterm vt340
> 
> in other terminals such as foot, mlterm and xterm (emulating vt-340) , when
> new text is written where a sixel image is present, part of the image is
> erased. In Konsole, the text is written on top of the image instead. The
> erasing behaviour can be useful to TUI apps for deleting an image without
> needing to clear the entire screen. 

This was a conscious decision by me. While the interaction between text and
image you describe is common, or even universal, I do not think it was in any
way defined formally in any standard.

In KDE, the default background color was always treated as transparent (see
when a background image is used).

So an application may get the common behaviour of text hiding image by changing
the background color to a similar color (like (1,1,1) instead of (0,0,0)),
while having the option of mixing text and graphics.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the konsole-devel mailing list