| Summary: | [Repo View] "Unable to Discard Location" dialog has bad resizing behavior | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Dani Megert <daniel_megert> | ||||||||
| Component: | Team | Assignee: | Platform Team Inbox <platform-team-inbox> | ||||||||
| Status: | VERIFIED FIXED | QA Contact: | |||||||||
| Severity: | normal | ||||||||||
| Priority: | P5 | CC: | markus.kell.r, Szymon.Brandys, tomasz.zarna | ||||||||
| Version: | 3.3 | Keywords: | helpwanted | ||||||||
| Target Milestone: | 3.4 M1 | ||||||||||
| Hardware: | PC | ||||||||||
| OS: | Windows XP | ||||||||||
| Whiteboard: | hasPatch | ||||||||||
| Attachments: |
|
||||||||||
|
Description
Dani Megert
The dialog comes from Team (DetailsDialogWithProjects). Created attachment 72025 [details]
Fix
Besides fixing the layouting issues it also
- removes the ugly code that displays the details title by adding as first
item to the list by adding a label in front of the list
- set the list height to 5 items
- fixes Javadoc warnings
*** Bug 110625 has been marked as a duplicate of this bug. *** My patch has a problem when long list titles are provided like in the scenario from bug 110625. I'll provide a new patch that fixes both issues. Created attachment 72679 [details]
Fix with wrapping list title
Patch released to HEAD. Thanks Dani. Created attachment 75509 [details]
Resized dialog
I would suggest reopening the bug in order to fix resizing behavior shown on the screen shot. We should keep dialog's buttons visible as long as possible. This is the way I've seen it's done on other dialogs too (e.g. Open Resource, Move Project, wizards).
The original bug is about the list being fixed size. AFAIK the problem you report was there forever. I suggest you open a separate bug. A separate bug opened, so we can mark this one as verified. |