How to reproduce: 1. Open a few files 2. Click on the working set icon 3. Click on stash Expected Result: Working set Icon to become active, files to dissapear from the text view. Actual Result: Files disappear from the text view, and so does the Working Set button. Opening more files now, and stashing them works as expected. And so do future repetitions. Only the first is problematic.
Still present at 5.6.0. Needed to close Kdevelop and/or in the top-right corner do: Code -> Debug Launch Then the stashed working button set re-appeared.
I confirm the bug, exactly as reported. I'm using Kdevelop version 5.6.1, in openSUSE Tumbleweed.
Git commit fb3f039696567f9ae0b46fe05c2e61fcbfeb718b by Christoph Roick. Committed on 23/05/2021 at 11:28. Pushed by croick into branch 'master'. Fix disappearing closed working set buttons Fix the current behavior that working set buttons of working sets that are active in another area (i.e. code, review, debug) are not part of the current closed working set collection. New working sets are persistent by default, except for newly created working sets for patch reviews. When switching from the patch review to the code area, keep the current working set open, if it is persistent (so if it is not the dynamically created one). M +6 -5 kdevplatform/shell/debugcontroller.cpp M +4 -4 kdevplatform/shell/tests/test_workingsets.cpp M +2 -1 kdevplatform/shell/workingsetcontroller.cpp M +3 -7 kdevplatform/shell/workingsets/closedworkingsetswidget.cpp M +2 -7 kdevplatform/shell/workingsets/workingset.cpp M +1 -1 kdevplatform/shell/workingsets/workingset.h M +10 -3 kdevplatform/sublime/area.cpp M +5 -2 kdevplatform/sublime/area.h M +11 -5 plugins/patchreview/patchreview.cpp https://invent.kde.org/kdevelop/kdevelop/commit/fb3f039696567f9ae0b46fe05c2e61fcbfeb718b