| Summary: | [TMF] TmfVirtualTable scrolling and slider bugs | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | François Godin <copelnug> | ||||||||
| Component: | LinuxTools | Assignee: | Francois Chouinard <fchouinard> | ||||||||
| Status: | CLOSED FIXED | QA Contact: | Francois Chouinard <fchouinard> | ||||||||
| Severity: | normal | ||||||||||
| Priority: | P3 | ||||||||||
| Version: | unspecified | ||||||||||
| Target Milestone: | --- | ||||||||||
| Hardware: | PC | ||||||||||
| OS: | All | ||||||||||
| Whiteboard: | |||||||||||
| Bug Depends on: | |||||||||||
| Bug Blocks: | 301637 | ||||||||||
| Attachments: |
|
||||||||||
|
Description
François Godin
Created attachment 177421 [details]
Patch
This patch change the calculation of the number of rows in the table by taking the true height of the table. Thus correcting the mouse wheel scroll bug.
It also change the thumb size of the slider from 10 to the number of rows.
Created attachment 177543 [details]
Patch v2
Corrected a bug on the resize of the view when at the end of the trace.
Comment on attachment 177543 [details]
Patch v2
Patch committed
Created attachment 178704 [details]
TmfVirtualTable patch
This patch provides a number of enhancements to the TmfVirtualTable:
[1] It uses a layout to let the virtual table and associate slider compute their size automatically; the slider is left to its default width; the layout margin height is set to 0.
[2] It correctly handles the table when the number of items is less than the number of rows. It also correctly handles the scrolling when a row is partially displayed.
[3] The table selection is updated and displayed. It also correctly triggers the time synchronization signal for the other views.
Fix committed to Helios and Indigo. Resolved. Delivered with 0.7 |