<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>399072</bug_id>
          
          <creation_ts>2018-09-25 19:02:46 +0000</creation_ts>
          <short_desc>Horizontal Lines Displayed in Kate with Fractional HiDPI Scaling</short_desc>
          <delta_ts>2019-05-29 14:35:08 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>kate</product>
          <component>general</component>
          <version>18.08.1</version>
          <rep_platform>Arch Linux</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>390451</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter>bugreporter11</reporter>
          <assigned_to name="KWrite Developers">kwrite-bugs-null</assigned_to>
          <cc>lukebenes</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1787183</commentid>
    <comment_count>0</comment_count>
    <who name="">bugreporter11</who>
    <bug_when>2018-09-25 19:02:46 +0000</bug_when>
    <thetext>SUMMARY
This may be related to bug #373232 for Konsole. As in Konsole, Kate displays random horizontal lines when fractional (e.g., 1.3, 1.7) display scaling is used on HiDPI displays. The workaround is to use integer scaling, but this is impractical on many modern devices with 2K or 4K display and laptop-sized displays.

STEPS TO REPRODUCE - on hardware with a high resolution screen such as 2K
1. Open System Settings &gt; Display &amp; Monitor &gt; Scale Display
2. Select a non-integer scale factor and save the setting
3. 

OBSERVED RESULT

Horizontal lines randomly appear which are not part of the document, especially when selecting text or scrolling.

EXPECTED RESULT

A document which is displayed corrected with no extraneous horizontal lines or other visual artifacts.


SOFTWARE VERSIONS
KDE Plasma Version: 5.13.5
KDE Frameworks Version: 5.50.0
Qt Version: Qt 5.11.1 (built against 5.11.1)
QMake version 3.1 

ADDITIONAL INFORMATION

Please see 
https://bugs.kde.org/show_bug.cgi?id=373232
https://bugsfiles.kde.org/attachment.cgi?id=109683</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1787184</commentid>
    <comment_count>1</comment_count>
    <who name="">bugreporter11</who>
    <bug_when>2018-09-25 19:04:57 +0000</bug_when>
    <thetext>I see that Kate was fixed upstream in Qt 5.12: https://bugreports.qt.io/browse/QTBUG-66036

I also see that this is a duplicate of 
https://bugreports.qt.io/browse/QTBUG-66036</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1787192</commentid>
    <comment_count>2</comment_count>
    <who name="Dominik Haumann">dhaumann</who>
    <bug_when>2018-09-25 19:18:49 +0000</bug_when>
    <thetext>Yes, Qt 5.12 should finally solve this. Let&apos;s close this for now - please reopen, if Qt 5.12 does not fix it for you.

*** This bug has been marked as a duplicate of bug 373232 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1859430</commentid>
    <comment_count>3</comment_count>
    <who name="">lukebenes</who>
    <bug_when>2019-05-29 14:35:08 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 390451 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>