[konsole] [Bug 456354] New text writes on top of sixel image instead of erasing part of the image
bugzilla_noreply at kde.org
bugzilla_noreply at kde.org
Sat Dec 2 04:48:18 GMT 2023
https://bugs.kde.org/show_bug.cgi?id=456354
alexkurisu+github at posteo.us changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |alexkurisu+github at posteo.us
--- Comment #3 from alexkurisu+github at posteo.us ---
(In reply to Matan Ziv-Av from comment #2)
> (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.
Please, remove this change. Many applications rely on ability to erase sixels
by writing text over it.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the konsole-devel
mailing list