https://bugs.kde.org/show_bug.cgi?id=514644
Bug ID: 514644
Summary: Sixel geometry query reports fixed size instead of
screen size
Classification: Applications
Product: konsole
Version First 25.08.3
Reported In:
Platform: NixOS
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: emulation
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
SUMMARY
The Sixel geometry query, as implemented in xterm, reports maximum image size
limited by screen size, see
https://github.com/ThomasDickey/xterm-snapshots/blob/caac5c35a22d116ed09a54c962fce3ee7a7f99d2/charproc.c#L5200-L5201.
As this is a xterm extension, the implementation should follow xterm and report
the terminal size. Some useful discussions here too:
https://github.com/contour-terminal/contour/issues/656.
STEPS TO REPRODUCE
Print "\033[?2;1;0S"
OBSERVED RESULT
Find that the return value is "\033[2;0;16384;16384S"
EXPECTED RESULT
The query result should be of screen size (capped by the fixed maximum
supported image size)
SOFTWARE/OS VERSIONS
OS: NixOS 25.11
KDE Plasma Version: 6.5.4
KDE Frameworks Version: 6.20.0
Qt Version: 6.10.1
ADDITIONAL INFORMATION
Code that implements the query:
https://invent.kde.org/utilities/konsole/-/blob/master/src/Vt102Emulation.cpp#L3214
--
You are receiving this mail because:
You are watching all bug changes.