JDK-8170386 : JLightweightFrame content can miss paint events on Windows
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 7,8,9
  • Priority: P3
  • Status: Closed
  • Resolution: Incomplete
  • OS: windows
  • Submitted: 2016-11-28
  • Updated: 2022-12-14
  • Resolved: 2018-08-20
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
tbd_majorResolved
Related Reports
Duplicate :  
Relates :  
Description
WComponentPeer#setBounds() can set paintPending flag if the method is called twice with the same size. Since JLightweightFrame gets size arbitrary from an external call the paintPending may be set to true even when paint event from the previous size change has not been handled yet. As result the frame content is not painted at all.
Comments
There is no testcase or steps mentioned to reproduce the problem, so marking it as Incomplete for now.
20-08-2018

The problematic code in question is present in jdk7 too so all 7,8,9 are affected.
26-04-2017

Targeted to 10 as an issue introduced in 8u or 9
17-02-2017

Approved by component triage team to defer
31-01-2017

SQE: JDK 9: OK to defer
31-01-2017

so far we don't have a consensus how to fix it based on review, no time resources to fix it in 9. Defer request.
31-01-2017

http://mail.openjdk.java.net/pipermail/awt-dev/2016-November/012398.html http://mail.openjdk.java.net/pipermail/awt-dev/2016-November/012409.html http://mail.openjdk.java.net/pipermail/awt-dev/2016-December/012437.html http://cr.openjdk.java.net/~ssadetsky/8170386/webrev.00/
24-01-2017

Alexander Zvegintsev, Alexandr Scherbatiy (Swing Lead), please review it.
20-01-2017