| Summary: | After resizing columns to 0 width they cannot be restored | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | neeraj negi <neeraj_igen> |
| Component: | SWT | Assignee: | Platform-SWT-Inbox <platform-swt-inbox> |
| Status: | RESOLVED WORKSFORME | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | arunkumar.thondapu, curtis.windatt.public, ericwill, gheorghe, Silenio_Quarti |
| Version: | 4.2 | Keywords: | triaged |
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux-GTK | ||
| Whiteboard: | |||
|
Description
neeraj negi
Reproduced on Ubuntu 11.04. 1) Open problems view 2) Shrink columns down to zero on left side 3) Try to restore the size by dragging right Result: The leftmost column (description) gets restored first, other columns cannot be selected. On Windows 7 the columns are restored in the correct order. Moving to Platform UI. Moving to SWT. I tried debugging through the the viewer code and down into Tree/Table. Probably due to my complete unfamiliarity with SWT I couldn't figure out where the mouse drag events handled the resize. Any clicks on the actual column header are caught by listeners and notify the viewer code, but clicking on the separators does not. A similar bug for Win XP Bug 137772 I'm able to resize to 0 and restore properly on Ubuntu 11.04 with Eclipse 4.2 (I20120608-1400). Curtis, were you using 3.8 or 4.2? I haven't tested if the behavior is different on 3.8 yet. I'm currently running on I20120724-0800 (4.3). The problem isn't as consistently reproducible as I originally thought. It looks like you may have to click on different columns to set a sort to get it to work. Here is one set of steps that works for me: 1) Close the problems view and reopen (resets the columns) 2) Click on resource column header 3) Shrink resource column to 0 4) Shrink path column to 0 5) Click on type column header 6) Drag between description and location to resize resource column 7) Path column can not be restored I cannot reproduce the issue on GTK3.22 with 4.8 M7. Please reopen this ticket if the issue reoccurs. |