Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 378255

Summary: A single Job makes scrollbars appear on the Progress View
Product: [Eclipse Project] Platform Reporter: Paul Webster <pwebster>
Component: UIAssignee: Paul Pazderski <paul-eclipse>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: jacob, konigsberg, loskutov, markus.kell.r, Michael_Rennie, paul-eclipse
Version: 4.2   
Target Milestone: 4.14 M1   
Hardware: PC   
OS: Linux   
See Also: https://git.eclipse.org/r/148739
https://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=d1512255453353602e2f4d10af88b300f8a32b40
Whiteboard:
Attachments:
Description Flags
Progress scroll bar flicker none

Description Paul Webster CLA 2012-05-02 10:14:17 EDT
See  attachment 214878 [details]

Steps:

1. clean workspace with 'build automatically' checked
2. notice the progress view bounces around (vertical scroll bar appears and
resizes) even though there is only one element in the view.
Comment 1 Andrey Loskutov CLA 2012-05-02 10:26:41 EDT
Also seen on latest Ubuntu 12.04 with Eclipse 3.8 nightly build from this weekend.
Comment 2 Paul Pazderski CLA 2019-09-02 17:40:19 EDT
*** Bug 290671 has been marked as a duplicate of this bug. ***
Comment 3 Paul Pazderski CLA 2019-09-02 17:40:22 EDT
*** Bug 258758 has been marked as a duplicate of this bug. ***
Comment 4 Paul Pazderski CLA 2019-09-02 17:42:04 EDT
Created attachment 279750 [details]
Progress scroll bar flicker

An incredible annoying bug. Took me long to fix it.

Some may have noticed that the bug depends on the labels length (and if not see the attached video).

What happens is that the viewer calculate the size of its content (the ProgressInfoItems). In the form layout of ProgressInfoItems the link get a hard coded size hint of 20. For the size calculation of the link Windows is asked who high the area must be to show the link with a width of 20. This (far too big) high is used as minimum size of the scrolled composite. If the link is long enough and the viewer small enough it results in unnecessary scroll bars.
Comment 5 Eclipse Genie CLA 2019-09-02 17:43:14 EDT
New Gerrit change created: https://git.eclipse.org/r/148739
Comment 7 Paul Pazderski CLA 2019-09-15 11:29:44 EDT
Hope this is fixed with this change. This jumping scroll bar bugged me long enough.
Comment 8 Paul Pazderski CLA 2019-10-09 06:02:57 EDT
Definitely verified. That annoyed me so long every time I wait for a build to finish and is much better now.

Build-ID: I20191007-1800