JDK-8054907 : ESL scroll bar is corrupted
  • Type: Bug
  • Component: deploy
  • Affected Version: 7u72
  • Priority: P3
  • Status: Resolved
  • Resolution: Duplicate
  • Submitted: 2014-08-12
  • Updated: 2014-11-21
  • Resolved: 2014-08-22
Related Reports
Duplicate :  
Description
Not a regression.

Exception Site List scroll bar is corrupted on Java Control Panel under Mac OS and looks strange under Windows. See a screenshot attached.
Comments
Thank you, Alexey!
22-08-2014

Root cause: White borders around ESL are seen because EmptyBorder is set to JScrollPane which contains JList. OS X is different from Windows and Linux in that JPanel for tab is not opaque*, and setOpaque(false) is called recursively on all the components. For some reason, EmptyBorder is rendered in white color in this situation. This issue could also be reproduced on Windows and Linux if you make JPanel not opaque. This is fixed by wrapping JScrollPane in additional JPanel and setting the border on JPanel rather than JScrollPane. * I admit JPanel for tabs should be transparent on Windows and Linux too.
22-08-2014

Problem is reproducible on 7u71 as well. Both OS X - ESL scrollbar 3.png and OS X - ESL scrollbar 4.png look good. You understood me correctly. Yes, the problem was in white stripe at the right border of the list.
22-08-2014

Alexander, Thank you for clarification. That's expected because JDK-8038463 is in 7u80 only. Please note JDK-8038463 must always be accompanied by JDK-8048906. Further UI improvements are provided in JDK-8050016, however it's not required. I recommend backporting all three together.
22-08-2014

Unless I have more detailed description from Alexander, I consider this bug as fixed by changes to JDK-8038463.
21-08-2014

I've attached two images of JDK build with JDK-8038463 fix. ESL does not have white borders with that fix. The white borders are the only thing that I can think about fixing here. The list is set to *always* display the scroll bar, so if you have less than 4 items in the list, the scroll bar is displayed in disabled state, see OS X - ESL scrollbar 4.png. If the list contains 4 or more items, the scroll bar has the thumb under OS X or has up/down button under Windows/Linux as the thumb does not fit.
21-08-2014

Alexander, Could you please clarify what is wrong with ESL scroll bar?
19-08-2014

Working out if this one can be addressed for 14_04. Will update ASAP with our plan.
14-08-2014

Need further test details and if the problem is seen on 7u71.
12-08-2014

Assigned to our Initial Evaluator who will reassign or resolve.
12-08-2014