Summary: | when hidding a specific GridColumn belonging to a GridColumnGroup, the GridColumnGroup is badly redrawn | ||
---|---|---|---|
Product: | z_Archived | Reporter: | Pinard-Legry Guilhaume <guilhaume_pl> |
Component: | Nebula | Assignee: | Chris Gross <cgross> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P1 | CC: | shishi428, tom.schindl |
Version: | unspecified | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: | |||
Attachments: |
Created attachment 127506 [details]
screen shot with 2 visible columns (the first is hidden)
Created attachment 127507 [details]
screen shot with 2 visible columns (the one in the middle is hidden)
Could you please also attach the snippet? Created attachment 127616 [details]
snippet showing the draw issue
I displayed the bounds of the DefaultColumnGroupHeaderRenderer at the end of the paint method. After hiding the column in the middle, the bounds of the renderer appear to be as if the column was shown. But if the column hidden is the first or the last, the bounds are correctly reduced. If it can help :) Guilhaume I'll try to take a look - if there's no action happening in the next one or 2 weeks please ping this bug. Ok, thanks. Hello, Any news about this issue? Thanks, Guilhaume Created attachment 131096 [details]
Patch for invisible columns and column groups
cause:
The width of invisible columns must not be included when calculating the width of the column group header.
thanks patch released to HEAD |
Created attachment 127504 [details] screen shot with 3 visible columns in a GridColumnGroup Build ID: M20080911-1700 Steps To Reproduce: 1. create a GridColumnGroup 2. create 3 GridColumns in it (C1, C2, C3) 3. display all -> everything is ok 4. thanks to a button hide C2 (not C1 nor C3) 5. the GridColumnGroup vertical bar is not drawn correctly More information: This can be reproduce by hidding any column belonging to a GridColumnGroup except the first and the last ones.