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

            Bug ID: 474693
           Summary: incorrect and duplicate line numbers (e.g. after
                    unindent command following sloppy scroll)
    Classification: Applications
           Product: kate
           Version: 22.08.2
          Platform: Other
                OS: Other
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: part
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: kdeb...@toeai.com
  Target Milestone: ---

Created attachment 161722
  --> https://bugs.kde.org/attachment.cgi?id=161722&action=edit
screenshot showing incorrect and duplicate line numbers as described

SUMMARY
Line numbers are erroneously incremented when using the "Unindent" command
(Ctrl+Shift+i) (perhaps other commands also), provided the window is already in
the erroneous scroll state described in bug 474690.

STEPS TO REPRODUCE
1. Follow the directions to reproduce bug 474690 (first example).
2. Immediately (i.e. without moving cursor to different line, etc.  Time is not
a factor.) press Ctrl+Shift+I (unindent).

OBSERVED RESULT
1. Text is shifted down to eat up the extra space (about one and a half lines
worth, as reported in bug 474690).
2. Last line number stays correct (104), but all line numbers above it are
incremented.  Thus, you will see two lines that say 104.

EXPECTED RESULT
Line numbers should not be wrong.

When you move to a different line or go do something else, the line numbers fix
themselves.

Reproducible:
Always

Observed on:
Kubuntu 22.10
Qt version 5.15.6
KDE Frameworks version 5.98.0

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

Reply via email to