Bug 360539

Summary: Projects Toolbar hidden state is not saved
Product: [Applications] kdevelop Reporter: Greg Varsanyi <gvarsanyi>
Component: UI: toplevel windowAssignee: kdevelop-bugs-null
Status: RESOLVED FIXED    
Severity: normal CC: adeo1, damir_porobic, xfftlfanx
Priority: NOR Keywords: junior-jobs
Version: 4.90.91   
Target Milestone: ---   
Platform: Other   
OS: Linux   
URL: https://phabricator.kde.org/D4122
Latest Commit: Version Fixed In: 5.1.0
Sentry Crash Report:

Description Greg Varsanyi 2016-03-15 02:20:04 UTC
On the "Projects" pane, the "Project Tool Bar" (top line with button controls like file locator, "Show Targets" etc), can be hidden, but on opening (also reopening), it will be shown again.

Also, I think "toolbar" is a compound word (vs "tool bar").


Reproducible: Always

Steps to Reproduce:
1. Open a kdevelop session with a project
2. Open the "Projects" pane
3. Right-click on the button controls and uncheck "Projects Tool Bar"
4. Close the session and reopen it
5. See how the "Projects Tool Bar" is visible and active again

Actual Results:  
Projects toolbar keeps appearing, one has to hide it manually on every kdevelop start

Expected Results:  
Once hidden, the projects toolbar should not appear (state should be saved)
Comment 1 Roman Lopez 2016-03-15 08:59:26 UTC
I am a beginner. Can someone help me learn how to contribute?
Comment 2 Kevin Funk 2016-03-15 09:13:15 UTC
Sure. You should first get KDevelop 5 up and running. There are multiple HOWTOs you can follow:
https://community.kde.org/KDevelop/HowToCompile_v5
http://kfunk.org/2016/02/16/building-kdevelop-5-from-source-on-ubuntu-15-10/

In order to debug this particular issue you'll need to have a look at MainWindow::loadSettings in kdevplatform.git:sublime/mainwindow.cpp (I think).

Join us in #kdevelop on Freenode (IRC) to get more help!
Comment 3 deoakshay 2016-05-02 17:13:24 UTC
Hello I am willing to contribute for this? Has this been solved or can I work on it?
Comment 4 Damir Porobic 2017-01-25 19:31:45 UTC
Patch posted in Review Request #129884
Comment 5 Damir Porobic 2017-01-26 06:39:32 UTC
Patch posted already earlier https://phabricator.kde.org/D4122
Comment 6 Kevin Funk 2017-02-14 07:36:04 UTC
Fixed by https://phabricator.kde.org/D4122