[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-2d-dev
Subject:    Re: RFR: 8065097: [macosx] javax/swing/Popup/TaskbarPositionTest.java fails because Popup is one pix
From:       Sergey Bylokhov <serb () openjdk ! org>
Date:       2022-06-30 22:47:44
Message-ID: p72ED9f-5woRktepgdh5FIu01kztAkPUx1nBt4o3HLY=.a1c79062-3df6-4ecd-98d1-4cefc609ef31 () github ! com
[Download RAW message or body]

On Thu, 30 Jun 2022 08:57:16 GMT, Prasanta Sadhukhan <psadhukhan@openjdk.org> wrote:

> > Test seems to fail in macOS citing popup location is 1 pixel off compared to \
> > combobox position ie `p.y 154 cpos.y 155`
> > 
> > But in macOS, popup location, if 1st entry is selected, is 1 pixel higher than \
> > combobox so it's expected as can be seen below <img width="661" alt="Screenshot \
> > 2022-06-29 at 1 53 42 PM" \
> > src="https://user-images.githubusercontent.com/43534309/176389227-4e568117-ffce-4b4a-92d7-ab5c78c4ce08.png">
> >  
> > so test is updated to add 1 pixel to popup location. 
> > It will not affect windows and linux as popup is placed below the combobox in \
> > those platforms so 1 pixel higher will not make any difference. Also, added some \
> > stability fixes..Test passed for several iterations in all platforms in CI..
> 
> Prasanta Sadhukhan has updated the pull request incrementally with one additional \
> commit since the last revision: 
> Review comments addressed

In what place of JDK do we place the popup and shift it by 1 pixel?

-------------

PR: https://git.openjdk.org/jdk/pull/9321


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic