Remove hidden view spaces on start

Review Request #128173 - Created June 13, 2016 and submitted

Information
Dominik Haumann
kate
master
358266
Reviewers
kate
cullmann

Collapsed view spaces and splitters are hidden. In this case, either the witdth and/or the height is 0. On Kate startup, these hidden view spaces are restored. On bad luck (read, no idea why), it can happen, that "Sizes=0,0", i.e. all splitter sizes are 0. In that case all view spaces are hidden, and Kate displays an empty widget in the main area.

This patch adds KateViewManager::removeHiddenViewSpaces(), that collects all hidden view spaces and removes these.

manually testing.

Christoph Cullmann
Dominik Haumann
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted with commit 863e98662b584c137bb0f224d43bba724108667c by Dominik Haumann to branch master.
Loading...