Page MenuHomePhabricator

Empty partStashContainer can be duplicated leading to multiple empty boxes in the workbench window
Closed, WontfixPublic

Description

Hello, here is what I noticed trying to play with multiWidgetEditor :

  1. open the workbench and ensure the multiwidgeteditor is opened as well
  2. close the editor (the grey emplacement where the editor used to be is still here, waiting for a new editor to come)
  3. now try to move this container and to dock it inside itself (either on the bottom, left, right or top)

-> The container is duplicated and both container can't be deleted, when a new editor is opened, there is still one empty container remaining (this can be repeated as much as you want)

One way to overcome this issue is to forbid the creation of a new PartStack when droping an empty list of part pane onto it in berryPartSashContainer.cpp (see attached diff)

I don't know how far it goes against the original wanted behavior, nor what would be the side effects of this, but for now it seems to work

Event Timeline

kislinsk claimed this task.
kislinsk added a project: Auto-closed.
kislinsk added a subscriber: kislinsk.

Hi there! 🙂

This task was auto-closed according to our Task Lifecycle Management.
Please follow this link for more information and don't forget that you are encouraged to reasonable re-open tasks to revive them. 🚑

Best wishes,
The MITK devs

kislinsk removed kislinsk as the assignee of this task.May 26 2020, 12:05 PM
kislinsk removed a subscriber: kislinsk.