Details
-
Bug
-
Resolution: Done
-
P0: Blocker
-
4.6.0, 4.6.1
-
None
-
3d2dbeb65089efaff4b92b7d13c13c1a234f71b0
Description
In some cases you can have an infinite loop.
In KWord, you can run it and then try to tab a dock widget and it will trigger the problem.
The special thing to reproduce this is to connect to the visibilityChanged signal of the dock widget and then saving the state of the main window.
The problem is that when we change the current tab in the tabbar, the layout is still in an intermediate state. So we need to make sure it is in a valid state before setting the current tab.