Bug 411167

Summary: Horizontal Lines with Fractional Scaling in KWrite & KDevelop
Product: [Frameworks and Libraries] frameworks-ktexteditor Reporter: lukebenes
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: kossebau, thoppels
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description lukebenes 2019-08-22 13:06:40 UTC
SUMMARY
When your display is set to non-integer scaling values, horizontal lines appear in the editing window. 

STEPS TO REPRODUCE
1. Displays -> Scale -> Scale Factor: non-integer (1.1, 1.3, 1.5 ...)
2. Restart
3. Open KDevelop, type stuff, select text, scroll..

OBSERVED RESULT
Horizontal lines

EXPECTED RESULT
No like like you see with Sale=1

SOFTWARE/OS VERSIONS
KDE Neon, KDE Plasma 5.16.4
Comment 1 Friedrich W. H. Kossebau 2019-08-22 13:29:25 UTC
Thanks for the report. Which version of KDE Frameworks does your system have? See Help->About KDevelop->tab Libraries

The editor display is done by the KTextEditor from KDE Frameworks, so moving the bug to that product. Because with latest KTextEditor code from development branch I can still see issues, in KDevelop, but also KWrite & Kate.

BTW, using env var QT_SCALE_FACTOR allows to test this more quickly, e.g. by:
QT_SCALE_FACTOR=1.1 kwrite

I get lots of lines e.g. after resizing the window to Maximize and back.
Comment 2 Thorsten Oppels 2019-08-22 15:19:34 UTC
Am 22.08.19 um 15:29 schrieb Friedrich W. H. Kossebau:
> https://bugs.kde.org/show_bug.cgi?id=411167
>
> --- Comment #1 from Friedrich W. H. Kossebau <kossebau@kde.org> ---
> Thanks for the report. Which version of KDE Frameworks does your system have?
> See Help->About KDevelop->tab Libraries
This is:
KDE Frameworks 5.55.0
QT 5.9.7
xcb Windowsmanager
Comment 3 Christoph Feck 2019-08-22 16:16:14 UTC

*** This bug has been marked as a duplicate of bug 390451 ***