| Summary: | [TabFolder] Shows wrong tab when tab added/disposed | ||
|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Moritz Post <mpost> |
| Component: | RWT | Assignee: | Project Inbox <rap-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 2.0 | ||
| Target Milestone: | 2.1 RC1 | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
Moritz Post
A workaround is to store the previously selected tab and set it as the active one after the new tab is added ad index 0. The same problem and workaround also occurs. ... when disposing items. There is no workaround when disposing a tabitem in edge cases. Situation: multiple tabs. Selection at the first one (index = 0). Dispose tab at 0. Now we can not set the new tab (which was previously at index 1) as the selected one. The tabfolder simply shows it as an empty tab at index 0. Btw... all these issues can be solved by switching tabs which sets the visibility of the content correctly. Fixed with commit d80a59b2986c56bb71315befb0020d9a3ad99e72. |