Bug 401682 - qt5ct breaks konsole text rendering
Summary: qt5ct breaks konsole text rendering
Status: RESOLVED WORKSFORME
Alias: None
Product: konsole
Classification: Applications
Component: font (show other bugs)
Version: 18.08.3
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-03 07:41 UTC by Konstantin Kharlamov
Modified: 2023-01-19 13:15 UTC (History)
0 users

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


Attachments
shot of the bug (the typed text is "git p", no space) (8.68 KB, image/png)
2018-12-03 07:41 UTC, Konstantin Kharlamov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Konstantin Kharlamov 2018-12-03 07:41:17 UTC
Created attachment 116641 [details]
shot of the bug (the typed text is "git p", no space)

SUMMARY

Running `XDG_CURRENT_DESKTOP=i3 QT_QPA_PLATFORMTHEME=qt5ct konsole` makes konsole render the text being as if it has a space in the end. It makes shell hard to use, because it's not obvious whether there's a space or not.

I attached screenshot: in there I typed "git p", which looks like "git p "

STEPS TO REPRODUCE
1. Run `XDG_CURRENT_DESKTOP=i3 QT_QPA_PLATFORMTHEME=qt5ct konsole`
2. Type "test"

OBSERVED RESULT

The "test" looks as if there's a space in the end.

EXPECTED RESULT

"test" does not look as if there's a space.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Archlinux, i3, no plasma being used.
KDE Frameworks Version: 5.52.0
Qt Version: 5.11.2

ADDITIONAL INFORMATION

I have two up-to-date Archlinux latptops, with qt5ct configured the same, but I can't reproduce it on one of them, but I do on the other. I'm kind of lost what could be the difference, perhaps it's that okayish one has 1366×768 screen, and the problem one has 1920×1080.

Please tell me if I can provide more information.
Comment 1 Konstantin Kharlamov 2018-12-03 07:48:36 UTC
Worth noting also, that the "g" looks like "q". It doesn't without the qt5ct, so it's likely relevant.
Comment 2 Justin Zobel 2023-01-19 00:18:47 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 3 Konstantin Kharlamov 2023-01-19 13:15:24 UTC
Can no longer reproduce with:

    Konsole: 22.12.1
    qt5ct: 1.5
    KDE Frameworks: 5.101.0
    Qt: 5.15.8

I also see I mentioned it's reproducible on 1920×1080 — I am testing it on a laptop with just that resolution, and everything is okay. The `g` letter also looks like it's supposed to.

So likely fixed.