Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 346097 - [client] [sites] Mappings table truncated
Summary: [client] [sites] Mappings table truncated
Status: RESOLVED FIXED
Alias: None
Product: Orion
Classification: ECD
Component: Client (show other bugs)
Version: 0.2   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 0.2   Edit
Assignee: Mark Macdonald CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 346913 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-05-17 10:20 EDT by Mark Macdonald CLA
Modified: 2011-09-01 11:41 EDT (History)
2 users (show)

See Also:


Attachments
screenshot in Firefox (56.48 KB, image/png)
2011-06-06 10:57 EDT, Mark Macdonald CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Macdonald CLA 2011-05-17 10:20:15 EDT
IE 9.0.8112.16421

1. Go to the "sites" page.
2. Create a new site; it'll take you to the edit-site page.
3. Press Ctrl+R. After the page reloads, the form content is truncated. You can't see the "Status" row in the table. As you add more mappings to the grid, the "Hostname Hint" row and "Add..." button will get pushed out of view too.

This only happens after reloading the page.
Comment 1 Mark Macdonald CLA 2011-05-19 16:36:52 EDT
FF 4

Something similar happens in Firefox after using the "Add" button several times. (No reload required). It looks like the table cell that the DataGrid and Add button are inside does not expand its height in some cases.
Comment 2 Mark Macdonald CLA 2011-05-23 18:29:46 EDT
As Susan notes in Bug 346913, this also causes a large area of whitespace to appear at the bottom of the container.
Comment 3 Mark Macdonald CLA 2011-05-23 18:29:57 EDT
*** Bug 346913 has been marked as a duplicate of this bug. ***
Comment 4 John Arthorne CLA 2011-06-06 09:26:19 EDT
If it only happens on reload this sounds like a defer for 0.2...
Comment 5 Mark Macdonald CLA 2011-06-06 10:57:01 EDT
Created attachment 197400 [details]
screenshot in Firefox

(In reply to comment #4)
> If it only happens on reload this sounds like a defer for 0.2...

Unfortunately I see this problem in Firefox whenever you have more than 5-6 rows in the grid. It makes the editor impossible to use.
Comment 6 Mark Macdonald CLA 2011-06-06 11:14:08 EDT
I think it's a problem with the grid calculating its height based on the row heights before the image in the leftmost column has loaded. It calculates a height that is too short, and when the image loads the row is resized to fit but not the grid itself.

I have tried setting the row height to the correct value in a number of different ways but none worked so far.
Comment 7 Mark Macdonald CLA 2011-06-17 13:19:50 EDT
Deferring, as there seems to be no simple/low-risk way to fix the row height
Comment 8 Mark Macdonald CLA 2011-07-11 15:31:02 EDT
Removed the dojox grid, so this is no longer an issue