Ticket #1782 (closed defect: fixed)
Components should not be moved to new layout when replacing layout
| Reported by: | Marko Gronroos | Owned by: | Matti Tahvonen |
|---|---|---|---|
| Priority: | major | Milestone: | User Interface Library 5.2.2 |
| Component: | Server-side framework | Version: | 5.2.1 |
| Keywords: | Cc: | ||
| Known Issue description: | |||
| Hours estimate: | Deadline (dd.mm.yyyy): | ||
| Known Issue version (since): | Known Issue title: | ||
| Hours done: | Depends to: | ||
| Affects documentation: | no | ||
| Known Issue workaround: | |||
| Affects release notes: | no | Contract: | |
Description
When you replace the root layout of a Window (Panel), all the components in the old layout are moved to the new layout. This is rather undesirable, because it is a somewhat normal case to keep a set of views (managed as layout components) at hand and switch between them. It is unlikely that anyone uses the current behavior for anything, but if it is needed, it is easy to move the components to the new layout.
Change this so that the layout is simply replaced, and do not touch the components in the layouts in any way. Remember to change the API documentation also.
Change History
Note: See
TracTickets for help on using
tickets.
