Hide Forgot
Description of problem: * Events list adds columns each time it is switched from Simple to Advanced mode. * There should be some way to display the event message when the text doesn't fit the window horizontal size -- a scroll-bar for example. Version-Release number of selected component (if applicable): ic146 How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
> Events list adds columns each time it is switched from Simple to Advanced mode. This bug was fixed as part of [http://gerrit.ovirt.org/94]: AbstractActionTable.removeColumn() method now ensures that both tables (header and data) have their columns in sync with each other.
> There should be some way to display the event message when the text doesn't fit the window horizontal size -- a scroll-bar for example. Currently, table columns have fixed width and cannot be resized. Any table cell content that doesn't fit its space will be clipped (table cell element has CSS overflow: hidden). We can, however, try to calculate table cell content size and when it's greater than column width, we can associate a tooltip with the content element (so when the user hovers his mouse over clipped content, a tooltip will show the entire content).
Custom text cell with "mouseover" event handler can do this, the only tricky part is overflow detection with CSS overflow:hidden on the wrapper <td> element (comparing element.clientWidth with element.scrollWidth won't work in this case, since overflow:hidden disables scroll bars). Text cells whose content doesn't fit can have it displayed using native browser tooltip (element title attribute), or using some custom GWT popup panel.
Patch for Message column's clipped content: http://gerrit.ovirt.org/593 Proposed resolution: when the mouse cursor hovers over the table cell, the cell calculates whether its content fits its area, or if it overflows (is clipped). In case the cell content overflows, which means the user sees only a portion of the entire text, a tooltip will be shown to the user when moving mouse cursor over the table cell.
closing ON_QA bugs as oVirt 3.1 was released: http://www.ovirt.org/get-ovirt/