Bug 393485 - Redundant terminal tool view when a Project is open
Summary: Redundant terminal tool view when a Project is open
Status: RESOLVED INTENTIONAL
Alias: None
Product: kate
Classification: Applications
Component: application (other bugs)
Version First Reported In: 18.04.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-25 01:00 UTC by Richard Bowen
Modified: 2019-07-13 20:37 UTC (History)
1 user (show)

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


Attachments
"Terminal" tool view and "Current Project" tool view (17.58 KB, image/png)
2018-04-25 01:00 UTC, Richard Bowen
Details
Double active terminal views (120.22 KB, image/png)
2018-04-29 23:07 UTC, Richard Bowen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Bowen 2018-04-25 01:00:33 UTC
Created attachment 112226 [details]
"Terminal" tool view and "Current Project" tool view

When the "Terminal tool view" plugin is enabled and a project is opened, there are two terminal widgets shown; "Terminal" and the one in "Current Project".

A possible solution would be to  check for the "Current Project" terminal tool view and disable the "Terminal" plugin.

Steps to reproduce:
1. Enable the "Terminal tool view" plugin
2. Open a project in Kate
3. Click the "Current Project" button  
4. Click on the "Terminal" plugin button
Comment 1 Richard Bowen 2018-04-26 00:03:45 UTC
The extra terminal view is handy. It's like a second tab. :P
Comment 2 Richard Bowen 2018-04-29 23:07:06 UTC
Created attachment 112314 [details]
Double active terminal views

Another conflict with the double terminal view is: 
If project was closed with "Current Project" terminal view in an active state in the last project session AND if Kate was closed with the "Terminal tool view" plugin active in the last regular session THEN When a new project session is opened, both terminal views are activated. (Kate saves the state of these widgets)
Comment 3 Christoph Cullmann 2019-07-13 20:37:26 UTC
If you dislike the redundant tool-view, you can disable the terminal plugin.
There are use cases to have both plugins enabled. (e.g. to have some project independent konsole)

The toolview mess-up should be fixed with

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

BUG: 391715

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