Bug 441908 - Using The ":only" Command In Vim Edit Mode With Only One Window Opened Causes Crash
Summary: Using The ":only" Command In Vim Edit Mode With Only One Window Opened Causes...
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: All editors (show other bugs)
Version: 5.6.2
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-02 12:33 UTC by school.shsps
Modified: 2021-11-10 03:42 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
A recording of KDevelop not responding (391.90 KB, video/x-matroska)
2021-09-02 12:33 UTC, school.shsps
Details

Note You need to log in before you can comment on or make changes to this bug.
Description school.shsps 2021-09-02 12:33:40 UTC
Created attachment 141244 [details]
A recording of KDevelop not responding

SUMMARY
Using the ":only" command (Which closes all opened windows and keep the current active one open) in Vim editor mode causes KDevelop to stop responding.

STEPS TO REPRODUCE
1. Change the editor mode from normal mode to Vim editor mode
2. Open one window (Text document)
3. Enter ":only" in normal mode

OBSERVED RESULT
KDevelop freezes and stop responding.

EXPECTED RESULT
Shows an error that only one window is opened.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kubuntu 21.04
(available in About System)
KDE Plasma Version: 5.22.4
KDE Frameworks Version: 5.85.0
Qt Version: 5.12.2

ADDITIONAL INFORMATION
Comment 1 Paul Worrall 2021-09-02 17:45:51 UTC
I can confirm.  In this state KDevelop also uses 100% CPU.
Comment 2 Bug Janitor Service 2021-09-04 09:59:12 UTC
A possibly relevant merge request was started @ https://invent.kde.org/kdevelop/kdevelop/-/merge_requests/255
Comment 3 school.shsps 2021-09-07 13:44:53 UTC
👍 Nice
Comment 4 Nicolás Alvarez 2021-11-10 03:42:49 UTC
This has been fixed in https://invent.kde.org/kdevelop/kdevelop/-/commit/173aae37f98c3112cae5e9b3777239b981caeb8a