Bug 391715

Summary: Project plugin does not remember to which sidebar it was moved
Product: [Applications] kate Reporter: Philipp Maierhöfer <maiphi.public>
Component: applicationAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: a.samirh78
Priority: NOR    
Version: 17.12.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description Philipp Maierhöfer 2018-03-11 16:16:11 UTC
When Kate is opened without a document belonging to a project in the session, the project plugin is not shown until such a document is opened. That's ok, but when this happens, the plugin tab always appears in the left sidebar instead of the place where the user moved it before (e.g. right sidebar).

Expected behaviour: the plugin should show up in the sidebar where it used to be when it was last active.

(When the session loaded at startup contains a document from a project, the tab position is remembered correctly.)
Comment 1 Ahmad Samir 2019-06-24 09:03:10 UTC
https://phabricator.kde.org/D22067
Comment 2 Christoph Cullmann 2019-07-13 20:32:13 UTC
Git commit b478ab6c21892f3a00d76c324e8219926285af9f by Christoph Cullmann.
Committed on 13/07/2019 at 20:31.
Pushed by cullmann into branch 'master'.

create project plugin toolviews always, allows user position changes to be persistent

additionally ensure a stable plugin loading order + sort some default plugins to be loaded
first, this is important for toolview creation order

M  +27   -80   addons/project/kateprojectpluginview.cpp
M  +21   -9    kate/katepluginmanager.cpp
M  +5    -8    kate/katepluginmanager.h

https://commits.kde.org/kate/b478ab6c21892f3a00d76c324e8219926285af9f
Comment 3 Philipp Maierhöfer 2019-07-21 10:02:56 UTC
Thank you for taking care of this!