They are not properly handled and cause various trouble up to a
complete missing view
Details
Details
- Reviewers
- None
- Group Reviewers
Kate - Commits
- R40:43ef548df044: proper cleanup of splitters on session restore (if window already exists)
- Create & save a session with three horizontal splits
- Switch to an other session with no split view
Looks good or bad? In my case was the view completely gone, only the plugins to see
- Switch back to the first session
Looks also bad, not again three splitter
This patch is more a workaround than a solution of the core problem which should reside in KateViewManager::restoreSplitter, but I noticed that too late to dig into it, current solution works here good enough :-)
Diff Detail
Diff Detail
- Repository
- R40 Kate
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Comment Actions
Hmm, you are right, that is somehow broken.
I will try to cleanup the splitters properly in KateViewManager::restoreViewConfiguration(const KConfigGroup &config).
Comment Actions
For me this small patch seems to work, too, and should handle all cases we call this function (if we ever call it in other places that has an already existing window)