Summary: | [GTK3] Autohiding scrollbar does not trigger redraw | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] Platform | Reporter: | Thomas Singer <ts-swt> | ||||||||||
Component: | SWT | Assignee: | Platform-SWT-Inbox <platform-swt-inbox> | ||||||||||
Status: | NEW --- | QA Contact: | |||||||||||
Severity: | normal | ||||||||||||
Priority: | P3 | CC: | jmajano, ts-swt | ||||||||||
Version: | 4.21 | ||||||||||||
Target Milestone: | --- | ||||||||||||
Hardware: | PC | ||||||||||||
OS: | Linux | ||||||||||||
Whiteboard: | |||||||||||||
Attachments: |
|
Description
Thomas Singer
2021-06-18 08:10:05 EDT
Created attachment 286622 [details]
Snippet to reproduce
Created attachment 286623 [details]
Screenshot initially
Created attachment 286624 [details]
Screenshot after the scrollbar automatically hid
Created attachment 286625 [details]
Screenshot with scrollbar
Reproduced the bug on my environment using the provided snippet, I will take a look at this. From a quick glance at the snippet, causing a redraw by means of resizing window brings back the string. The paint event that would redraw the part of the string that's cutoff is being discarded. From this bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=546248 If I comment out the 'return 0' which discards Paint events, the snippet works as intended. Of course, this would undo the work the bug was trying to achieve so I'll have to look into this more. |