| Summary: | [ViewMgmt] [RCP] tab group with non-closeable view can still be moved | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Boris Bokowski <bokowski> | ||||
| Component: | UI | Assignee: | Paul Webster <pwebster> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | emoffatt, sxenos, tom.schindl, yharms | ||||
| Version: | 3.1 | Keywords: | helpwanted | ||||
| Target Milestone: | 3.4 M2 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Boris Bokowski
Right-click on the view's tab and select Move->Tab Group to move the tab group. Using this trick you can also put a standalone view into an existing tab group. Using this trick, a user could first detach a non-closeable view and then close it (see bug 97859). Is this still a problem in 3.3? PW I'm pretty sure it is. Paul do you look into this else I'll dive into it and report my findings because in my RCP this is quite annoying. The only work-around currently is to set the layout to fixed. Created attachment 75549 [details]
Code identified
Well I have identified the relevant code part and this fixes the problem but I'm uncertain this is desired because this way a contributed view can make a TabGroup not moveable. Maybe we should introduce at least a configure option for to turn this on or off.
Adding Eric because this has to do with presentations One topic for discussion and a piece of information. What makes a tabbed stack immovable? If all of the views are immovable? If all of the original views in the stack are immovable? (i.e. discounting perspectiveExtensions). I don't think a single immovable view in a stack should prevent the entire stack from moving, but certainly if all of the views are immovable you shouldn't be able to move the stack either. Info: Folders in 3.3 can contain layout properties to pass extra information to the perspective. Perhaps the folder can be marked as immovable by the perspective creation/extension reading code. PW (In reply to comment #9) > > Info: Folders in 3.3 can contain layout properties to pass extra information > to the perspective. Perhaps the folder can be marked as immovable by the That should be "to the presentation" PW As long as you can still move individual (regular) views, I would argue that the whole stack should not be moveable once it has at least one non-moveable view. Released to HEAD >20070913 PW (In reply to comment #7) > Created an attachment (id=75549) [details] > Code identified Tom could you verify with the latest I build? PW Not until tomorrow |