Closed Bug 95442 Opened 23 years ago Closed 23 years ago

Grid layout is drawn before the elements within are drawn

Categories

(Core :: XUL, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla0.9.5

People

(Reporter: racham, Assigned: eric)

References

()

Details

In mailnews Copies & Folders panel in the AccountManager window, the menulist widgets are not drawn properly (cut off on the right) for the first time. Grid layout is used for the layout in this case. Looks like the grid layout I used to arrange the UI seemed to getting drawn much before the images and items are loaded. So, when the wdigets to be placed inside the grid rows and columns are drawn, they were expected to fit with in the grid block size. If not, they are cut off. This happens only the first time. Any rearrangement to the layout will do the right thing. According to this hypothesis, the reason it works fine the second time (when you click back on this setting && ofcourse resize will fix it in a different way by providing more area for the layout) is that all elements are available and sizes of widgets are calculated correctly to be drawn as expected.
Related mailnews bug : bugzilla bug 86992.
May God have mercy on us all. The 212 bug spam-o-rama is Now!
QA Contact: aegis → jrgm
Grid had been rewritten and will be turned on soon. To turn it on youself and try it do the following: (Assuming you are on windows) 1) ------- grep in layout for and files(*.h,*.cpp) that have //#define MOZ_GRID2 remove '//' to make them #define MOZ_GRID2 2)--------- on your command line: set MOZ_GRID2=1 3)--------- cd to mozilla/layout nmake -f client.win clobber nmake -f client.win Then see if this fixes you problem. It think it will.
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9.5
Grid landed Fixed.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.