https://bugs.kde.org/show_bug.cgi?id=403868

            Bug ID: 403868
           Summary: Bottom of text lines is sometimes cut off
           Product: frameworks-ktexteditor
           Version: unspecified
          Platform: Compiled Sources
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: tom.scho...@gmail.com
  Target Milestone: ---

Created attachment 117788
  --> https://bugs.kde.org/attachment.cgi?id=117788&action=edit
Screenshot showing the issue

SUMMARY

In recent versions of KTextEditor-based applications (KWrite, KDevelop), the
bottom of text lines is sometimes cut off, to the extent that underscores
become invisible. It happens to new text lines that enter the view from the top
when scrolling upwards (maybe also in other cases, not sure whether this is the
only trigger). When scrolling downwards, everything is fine. The behavior
depends on how the scrolling is done:
* When using the mouse wheel (scrolling by 3 lines at once), every 3rd line is
cut off
* When dragging the mouse in the minimap, almost every line is cut off
* When scrolling is invoked by the cursor going beyond the top of the view, no
line is cut off.

When setting the cursor within some lines affected by the bug, the line with
the cursor and the line above it return to normal state.

This seems to be a regression, since old versions of KWrite etc. worked fine.
Unfortunately, I don't know when it was introduced.

The attached screenshot demonstrates the bug, showing two versions of KWrite
running on the same system. On the left is a current self-compiled version of
KWrite after scrolling up within the document with the mouse wheel. Every line
contains the same text, including underscores. Look for the missing underscores
in every 3rd line (also, the 'g's in 'testing' are cut off, so it does not only
affect underscores). On the right is an old version of KWrite (I think it is
the distribution-provided version of Kubuntu 14.04), for which the same actions
were done, which does not show the bug.


STEPS TO REPRODUCE
1. Using e.g. KWrite, write some text containing underscores that exceeds the
view height
2. Starting from the bottom of the document, scroll up by dragging on the
minimap
3. Text lines coming into view will be cut off


VERSION
Applies to recent versions of the software, including the current master, I
believe.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to