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

            Bug ID: 496266
           Summary: Editor text view leaks out
    Classification: Applications
           Product: kdevelop
           Version: 5.6.2
          Platform: Other
                OS: Microsoft Windows
            Status: REPORTED
          Severity: major
          Priority: NOR
         Component: UI: general
          Assignee: kdevelop-bugs-n...@kde.org
          Reporter: gameeditor....@gmail.com
  Target Milestone: ---

Created attachment 175813
  --> https://bugs.kde.org/attachment.cgi?id=175813&action=edit
The bug in action

SUMMARY
I've been happily using KDevelop for large projects for quite some time. For
the most part (even though I am running the Windows version) it seems pretty
stable. Recently, I started noticing a critical issue very frequently.
The source view widget (the text editor) leaks code.

STEPS TO REPRODUCE
1. Work on a big header-guarded source code (2k loc or more)
2. Use code folding, clipboard io, etc...
3. Something provokes UB. At some point, the cached code will become erroneous.

OBSERVED RESULT
At first, the compilation will fail, because the code will break only logically
(in memory).
After KDevelop is restarted, you will see that some portion of the code at the
bottom is randomly repeated resulting in the same error.

SOFTWARE/OS VERSIONS
Windows: Windows 11

ADDITIONAL INFORMATION
This is a bug that seems dangerous or in the slightest, it disturbs the
workflow.

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

Reply via email to