When I start kdevelop tool views are sometimes opened when I think they should not. It seems I can reproduce it in this (a bit involved) way. 1. Open kdevelop in Code mode without any open file. 2. No toolbar is opened 3. Open ProblemReporterView (at the bottom) 4. Close kdevelop Now ~/.kde/share/config/kdeveloprc shows (I think correctly) the line view on bottom=org.kdevelop.ProblemReporterView under the section [User Interface][Main Window 0][Area code] 5. Open again kdevelop. It opens correctly in Code mode with ProblemReporterView opened 6. Close ProblemReporterView pressing the x 7. Close kdevelop The line in ~/.kde/share/config/kdeveloprc has (I think correctly) disappeared 8. Open again kdevelop. It opens in Code mode **with ProblemReporterView opened** 9 Close ProblemReporterView, close kdevelop and reopen it. **ProblemReporterView is opened** I've found also another interesting thing. If after pass 8 I do: 9a. switch in Debug mode (or in Review mode) 10a. switch back in Code mode. **ProblemReporterView is now closed** 11a. Close and reopen kdevelop and now ProblemReporterView is closed As a note whenever, in the previous procedure, I opened kdevelop from the terminal it logged these lines kdevelop(14708)/kdevplatform (shell) KDevelop::SessionControllerPrivate::performRecovery: Starting recovery from .kde/share/apps/kdevelop/sessions/{254a4758-ee31-4462-a38c-8d62d70f3e3f}/recovery/current" kdevelop(14708)/konsole Konsole::Session::run: Attempted to re-run an already running session.
I can reproduce, see: https://git.reviewboard.kde.org/r/109829/
Glad to hear it. It happens every time to me and to one of my colleague. My kdevelop is compiled from git, his is packaged by kubuntu.
Then maybe you can try the attached patch and see if something breaks? I've been using it for a couple of days without problems.
Hi, which patch? this one https://git.reviewboard.kde.org/r/109829/diff/#index_header seems to be already been pushed in master with your last commit (d130d323). Thus I can try master and report if the bug is fixed or if something breaks, right?
In my setup the patch fix the bug. I've not noticed any strange behaviour at start (it correctly opens the file that were opened and with cursor in the correct line, toolbar position is correct). I've played a little with code and all appears to work properly