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

            Bug ID: 486746
           Summary: Untitled documents disappear from the working set when
                    the user starts or stops debugging
    Classification: Applications
           Product: kdevelop
           Version: 5.14.240480
          Platform: Manjaro
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: UI: general
          Assignee: kdevelop-bugs-n...@kde.org
          Reporter: igor...@gmail.com
  Target Milestone: ---

SUMMARY
Working area change from Code to Debug or vise versa (but not from Code to
Review and back) hides and makes inaccessible all untitled (unsaved) documents.
Text entered in these documents is lost to the user, without any
confirmation/save prompt. The open document counter is not decremented - new
untitled documents contain greater numbers in their URLs after the older
untitled documents disappear, so it appears the documents exist, but are
inaccessible in the UI. Sometimes the few documents that became inaccessible
most recently can be recovered from the Documents tool view or from the
Most-Recently-Used Document Switcher.

STEPS TO REPRODUCE
1. Create one or more documents, (optionally) type text into them, but do not
save them.
2. Start debugging.
3. (optionally) Repeat step 1.
4. Stop debugging.

OBSERVED RESULT
The untitled document tabs disappear and are absent from the Active Working
Set.
KDevelop prints warnings like these:
kdevplatform.workingset: Unable to find file "file:///Untitled"
kdevplatform.workingset: Unable to find file "file:///Untitled (1)"

EXPECTED RESULT
The untitled document tabs are preserved when debugging is started or stopped.

ADDITIONAL INFORMATION
I suspect that this bug was introduced by the  merge request that introduced
the printed warning:
https://invent.kde.org/kdevelop/kdevelop/-/merge_requests/213

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

Reply via email to