Re: JDK-8178091 : Bug I will workin on

2017-04-11 Thread Walter Laan
Note that the example code in JDK-8178091 sleeps on the EDT, so you’re lucky it paints at all instead of hanging the UI. It looks like you adapted the code from http://codereview.stackexchange.com/questions/29630/simple-java-animation-with-swing where no-one experienced with Swing pointed out t

Re: JDK-8178091 : Bug I will workin on

2017-04-11 Thread Patrick Chen
After tests it seems that the problem doesn't come from Timer , but the repaint() method , even with this code the bug is here. the bug is on Linux. 2017-04-11 11:07 GMT+02:00 Walter Laan : > Note that the example code in JDK-8178091 sleeps on the EDT, so you’re > lucky it paints at all instead

Re: repaint problem

2017-04-11 Thread Sergey Bylokhov
Hi, Alan. > I am having a problem involving repaint with no success as yet in tracking > down the cause. Perhaps someone can suggest something that would help me make > some progress. > > The symptom is that some portion of a repaint operation is delayed until the > next repaint. In other word

Re: JDK-8178091 : Bug I will workin on

2017-04-11 Thread Sergey Bylokhov
Hi, Patrick. Can you please run the code using these options: -Dsun.java2d.xrender=true -Dsun.java2d.xrender=false -Dsun.java2d.opengl=true -Dsun.java2d.opengl=false > > After tests it seems that the problem doesn't come from Timer , but > the repaint() method , > > > even with this code the

Re: JDK-8178091 : Bug I will workin on

2017-04-11 Thread Patrick Chen
Hi , yes ; with theses options it works ! but what that means ? so it not a bug ? 2017-04-11 18:46 GMT+02:00 Sergey Bylokhov : > Hi, Patrick. > Can you please run the code using these options: > -Dsun.java2d.xrender=true > -Dsun.java2d.xrender=false > -Dsun.java2d.opengl=true > -Dsun.java2d.open

Re: JDK-8178091 : Bug I will workin on

2017-04-11 Thread Sergey Bylokhov
> Hi , > yes ; > with theses options it works ! > but what that means ? Is it works in case of any options or in some cases it does not work? Please double check. > > so it not a bug ? > > 2017-04-11 18:46 GMT+02:00 Sergey Bylokhov >: > Hi, Patrick. >

[9] Review request for 8142534: [TEST_BUG] Test javax/swing/JMenu/8072900/WrongSelectionOnMouseOver.java fails for Ubuntu 15.10

2017-04-11 Thread Semyon Sadetsky
Hello, Please review fix for JDK9: bug: https://bugs.openjdk.java.net/browse/JDK-8142534 webrev: http://cr.openjdk.java.net/~ssadetsky/8142534/webrev.00/ In Ubuntu starting version 15 the current active windows gets an external translucent shadow which serves as a sensitive border for resizi