| Summary: | gtk_main_do_event is slow with Table.setLinesVisible(true) | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Missing name <markus.knetschke> | ||||
| Component: | SWT | Assignee: | Platform-SWT-Inbox <platform-swt-inbox> | ||||
| Status: | CLOSED WORKSFORME | QA Contact: | |||||
| Severity: | major | ||||||
| Priority: | P3 | CC: | ericwill, gautier.desaintmartinlacaze, markus.knetschke, xixiyan | ||||
| Version: | 3.7 | Keywords: | triaged | ||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Linux-GTK | ||||||
| Whiteboard: | |||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 519166 | ||||||
| Attachments: |
|
||||||
I can reproduce this on Fedora 29, GTK3.24.1, using SWT master as of today. I can't reproduce this issue, the time taken is the same (~530ms) when the lines are visible and not. SWT from master as of today Fedora 29 GTK3.24 |
Created attachment 192714 [details] Contains the Profile log, a screen showing the relevant infos and the modified snippet While testing my program the navigation with a SWT.VIRTUAL table scrollbar is very slow. The Table holds only 45000 rows and 15 columns. I've modified the Snippet144 to reproduce the problem. An increase of "COUNT" or "COL_COUNT" increases the slowdown. If you comment the "table.setLinesVisible(true);" (Line 45) out the lag goes away. A profiler shows gtk_main_do_event as the cause. (VisualVM 1.3.2 Log and Screen attached). On windows the program runs well even with very high values. Hopefully someone could look at this.