Bug 467640 - Filesystem view disappears at every start of KDevelop
Summary: Filesystem view disappears at every start of KDevelop
Status: RESOLVED WORKSFORME
Alias: None
Product: kdevelop
Classification: Applications
Component: UI: general (show other bugs)
Version: 5.11.230380
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-21 07:25 UTC by Martin Riethmayer
Modified: 2025-01-24 20:04 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Riethmayer 2023-03-21 07:25:40 UTC
SUMMARY
The filesystem view disappears every restart of KDevelop

STEPS TO REPRODUCE
1. Enable file system view on the left toolbar
2. Close and Re-Open KDevelop (with last session)

OBSERVED RESULT
File system view is gone and has to be re-enabled. KDevelop only start with the "Documents" view.

EXPECTED RESULT
File system view should remain visible

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20230318
KDE Plasma Version: 5.27.3
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.8
Kernel Version: 6.2.4-1-default (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-4770R CPU @ 3.20GHz
Memory: 15.5 GiB of RAM
Graphics Processor: Mesa Intel® Iris® Pro Graphics 5200
Manufacturer: GIGABYTE
Product Name: M4HM87P-00
System Version: 1.x

ADDITIONAL INFORMATION

.config/kdeveloprc is acting "weird": When I manually add the filesystem view, it get's updated:
[MainWindow_code]
(1) Tool Views Order=org.kdevelop.DocumentsView,org.kdevelop.FileManagerView

When I close an re-open KDevelop, this line is still active, but the Filesystem view is not shown. If I close KDevelop now, it will be changed to 

[MainWindow_code]
(1) Tool Views Order=org.kdevelop.DocumentsView

The sections
[User Interface][Main Window 0][Area code]
[User Interface][Main Window 0][Area debug]
[User Interface][Main Window 0][Area review]

all contain "org.kdevelop.FileManagerView:1" and retain that line and value throughout all restarts.

Removing kdeveloprc and starting fresh does not solve the issue.

Note: This is kind of the opposite of https://bugs.kde.org/show_bug.cgi?id=385916 which never went anywhere.
Comment 1 Igor Kushnir 2025-01-20 20:30:48 UTC
Martin, can you still reproduce the bug? I cannot.

I am going to remove one of the peculiarities of the File Manager plugin (asynchronous initialization) to fix Bug 385916.

Another unique feature of the File System tool view is that multiple such tool views can be added, though this allowMultiple feature no longer works as intended. I plan to either fix or remove the feature later.
Comment 2 Martin Riethmayer 2025-01-21 07:04:37 UTC
I'm currently not using KDevelop, so I can't really say, sorry.
Comment 3 Igor Kushnir 2025-01-24 20:04:38 UTC
Closing as not reproducible. If the bug is still present, hopefully https://invent.kde.org/kdevelop/kdevelop/-/merge_requests/715 fixes it.