Bug 426605

Summary: Several options disappear from menus after a tab to be closed
Product: [Applications] kate Reporter: Patrick Silva <bugseforuns>
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: christoph, greg, jbn, nate, sabayon11, tcanabrava
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In: 20.08.2
Sentry Crash Report:
Attachments: "File" menu before the steps
"File" menu after the steps

Description Patrick Silva 2020-09-16 12:54:03 UTC
Created attachment 131696 [details]
"File" menu before the steps

STEPS TO REPRODUCE
1. open Kate
2. press ctrl+n to open a tab
3. close a tab
4. open "File" menu

OBSERVED RESULT
Several options disappeared from "File" menu, compare the attached screenshots please. Edit, View and Tools menus are also affected.

EXPECTED RESULT


SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.19.80
KDE Frameworks Version: 5.75.0
Qt Version: 5.15.0
Comment 1 Patrick Silva 2020-09-16 12:54:44 UTC
Created attachment 131697 [details]
"File" menu after the steps
Comment 2 Christoph Cullmann 2020-09-16 12:58:16 UTC
This seems like a regression already in 20.08, the view switching is not correctly propagated and we miss to plug/unplug stuff :/
Comment 3 Christoph Cullmann 2020-09-16 18:15:01 UTC
Git commit d679aca69c946c21a5bfa7ca1eb4e146ea90d139 by Christoph Cullmann.
Committed on 16/09/2020 at 18:14.
Pushed by cullmann into branch 'master'.

avoid that the KTextEditor::View XMLGUI elements are lost after a tab is closed

M  +6    -1    kate/kateviewmanager.cpp

https://invent.kde.org/utilities/kate/commit/d679aca69c946c21a5bfa7ca1eb4e146ea90d139
Comment 4 Christoph Cullmann 2020-09-17 07:51:55 UTC
Git commit 972903d2620932477c91c62b8b8c56e8d3bf40bd by Christoph Cullmann.
Committed on 17/09/2020 at 07:51.
Pushed by cullmann into branch 'release/20.08'.

avoid that the KTextEditor::View XMLGUI elements are lost after a tab is closed

M  +6    -1    kate/kateviewmanager.cpp

https://invent.kde.org/utilities/kate/commit/972903d2620932477c91c62b8b8c56e8d3bf40bd
Comment 5 Patrick Silva 2020-09-17 11:37:38 UTC
After this fix, bug 425471 is no longer reproducble.
Comment 6 Christoph Cullmann 2020-09-17 11:43:22 UTC
True, that is the same issue =)
Comment 7 Christoph Cullmann 2020-09-17 11:43:26 UTC
*** Bug 425471 has been marked as a duplicate of this bug. ***
Comment 8 Nate Graham 2020-09-22 13:43:26 UTC
*** Bug 425896 has been marked as a duplicate of this bug. ***
Comment 9 Christoph Feck 2020-10-17 14:21:27 UTC
*** Bug 427784 has been marked as a duplicate of this bug. ***
Comment 10 Christoph Feck 2020-10-27 07:44:51 UTC
*** Bug 428097 has been marked as a duplicate of this bug. ***