Bug 503304 - [Bug] Ctrl+tab remembers all previously opened files even if they were closed
Summary: [Bug] Ctrl+tab remembers all previously opened files even if they were closed
Status: CONFIRMED
Alias: None
Product: kdevelop
Classification: Applications
Component: UI: general (other bugs)
Version First Reported In: git master
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-24 18:12 UTC by Ian H
Modified: 2025-04-25 07:47 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ian H 2025-04-24 18:12:21 UTC
SUMMARY
When you open a bunch of files and then close them, the list of files that shows up using ctrl+tab still contains all of them.
The list you get when you click on the button next to the tabs only shows the currently open file

STEPS TO REPRODUCE
1. Open a few files
2. Close them
3. Hit ctrl+tab

OBSERVED RESULT
Ctrl+tab list will show all files you close

EXPECTED RESULT
Ctrl+tab should only show currently open files


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kubuntu 24.04
KDE Frameworks Version: 6.14.0
Qt Version: 6.8.2
Comment 1 Igor Kushnir 2025-04-25 07:47:54 UTC
Cannot reproduce with the minimal steps. Can reproduce by inserting the following step:
1.5. Start and finish a debug session.
The documents remain open in the Debug area and the document switcher (Ctrl+Tab) picks them. It also picks temporary patch files created in the Review area.
Entering the Debug session again after closing the files synchronizes the open document lists in the two areas, and the document switcher forgets about them. Similarly, entering the Review area again forgets about the old patch file (though adds a new one).