On Tue, 3 Jun 2025 18:29:03 GMT, Anass Baya <[email protected]> wrote:

>> @anass-baya Couple of things regarding this PR:
>> 
>> - There is a title mismatch please remove the prefix "Draft:" so that jcheck 
>> passes and rfr label is added to PR.
>> 
>> - I wasn't able to get it to fail on Ubuntu 24.04, is fractional scaling 
>> setting enabled on SBR nodes ? Although even with fractional scale enabled I 
>> wasn't able to replicate the issue with different uiScales (1, 1.25, 1.5, 2)
>> 
>> - Can you please add test logs from the node it is failing on?
>> 
>> - Headsup: RDP1 for jdk25 is on 5th June, 2025. In case you are planning to 
>> add this fix to 25 then it requires to be approved and integrated before the 
>> fork.
>
> Hello @honkar-jdk,
> 
>> There is a title mismatch please remove the prefix "Draft:" so that jcheck 
>> passes and rfr label is added to PR.
> 
> I’ve converted it to a draft to investigate further, as Alexey suggested.
> 
>> I wasn't able to get it to fail on Ubuntu 24.04, is fractional scaling 
>> setting enabled on SBR nodes ? Although even with fractional scale enabled I 
>> wasn't able to replicate the issue with different uiScales (1, 1.25, 1.5, 2)
> 
> The failure only occurs on Ubuntu SBR nodes, so I'm trying to take a 
> screenshot to see what's going on there. 
> Thanks

@anass-baya 
> When the issue occurs, running xprop -root | grep _NET_WORKAREA returns a 
> value that is 2px larger than expected. In a system with a bottom inset of 
> 30px, a top inset of 32px, and a screen resolution of 1920x1080, when the 
> issue occurs, the _NET_WORKAREA value is as follows:
> 
>     _NET_WORKAREA(CARDINAL) = 0, 32, 1920, 1020, 0, 32, 1920, 1020
> 
> However, it should be:
> 
>     _NET_WORKAREA(CARDINAL) = 0, 32, 1920, 1020, 0, 32, 1920, 1018
> 
> Wich is the output of the command when the issue doest not occur.

Can you please check which property or API are we querying in native x11 side 
to get screen insets ? If  _NET_WORKAREA returns the correct values then may be 
it warrants a src code fix rather than test?

What about Wayland does it return similar values?

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

PR Comment: https://git.openjdk.org/jdk/pull/25521#issuecomment-3408753345

Reply via email to