Bug 505181 - The sixel backend does not respect HiDPI properly
Summary: The sixel backend does not respect HiDPI properly
Status: REPORTED
Alias: None
Product: konsole
Classification: Applications
Component: general (other bugs)
Version First Reported In: 25.04.1
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-06-03 20:04 UTC by fililip
Modified: 2025-06-03 20:06 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
test image (566.77 KB, image/png)
2025-06-03 20:04 UTC, fililip
Details
comparison: wezterm (on the left), konsole (on the right) (79.57 KB, image/png)
2025-06-03 20:06 UTC, fililip
Details

Note You need to log in before you can comment on or make changes to this bug.
Description fililip 2025-06-03 20:04:27 UTC
Created attachment 182009 [details]
test image

SUMMARY
The sixel backend does not respect HiDPI properly. I have attached a test image and a comparison between wezterm, which seems to handle this correctly.

STEPS TO REPRODUCE
1. Set display scale to 200%
2. Open Konsole
3. Execute a command that outputs a sixel image, such as
img2sixel test.png -w 320 -h 320

OBSERVED RESULT
The image is visibly pixelated and incorrectly upscaled

EXPECTED RESULT
The image is not visibly pixelated and correctly upscaled

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.3.90
KDE Frameworks Version: 6.14.0
Qt Version: 6.9.0
Kernel Version: 6.14.3-arch1-1-soft (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5800X 8-Core Processor
Memory: 64 GiB of RAM (62.7 GiB usable)
Graphics Processor 1: AMD Radeon RX 6600 XT
Comment 1 fililip 2025-06-03 20:06:24 UTC
Created attachment 182010 [details]
comparison: wezterm (on the left), konsole (on the right)