> Looking at my Display Settings, HiDPI looks to be turned off.

Could you double-check this? The HiDPI scaling is set per-monitor in the 
"Display" pane in the Windows 10 control panel, under the "Scale" dropdown. For 
a 3840x2160 monitor (same as mine, actually) it is likely to be set to 150% by 
default.

> Where in the code base would one look to focus on this?

Perhaps look at o.n.core.output2.OutputEditorKit/WrappedTextView. That's my 
first guess at where the relevant rendering/text measurement happens. Note that 
the output pane does not seem to share any logic with the main code editor.

This is a long-standing, annoying bug--a fix would be very welcome!

-- Eirik


-----Original Message-----
From: Eric Bresie <[email protected]> 
Sent: Saturday, January 29, 2022 9:49 AM
To: Netbeans Developer List <[email protected]>
Subject: Re: Copy and Paste Wrong from NB Output

That does some like the issue.  I am on Windows.  Looking at my Display 
Settings, HiDPI looks to be turned off.

Where in the code base would one look to focus on this?

I have seen this with Windows 10, with netbeans 13-rc2

openjdk version "11.0.13" 2021-10-19
OpenJDK Runtime Environment Temurin-11.0.13+8 (build 11.0.13+8) OpenJDK 64-Bit 
Server VM Temurin-11.0.13+8 (build 11.0.13+8, mixed mode)

I may be in HiDP (my Display Resolution indicates 3840 x2160) but not sure how 
that aligns to HiDP in other context and OS



Eric Bresie
[email protected]


On Sat, Jan 29, 2022 at 8:08 AM Eirik Bakke <[email protected]> wrote:

> Are you on Windows, MacOS, or Linux? Do you have HiDPI scaling enabled?
>
> It could be this bug: 
> https://issues.apache.org/jira/browse/NETBEANS-585
>
> -- Eirik
>
> -----Original Message-----
> From: Eric Bresie <[email protected]>
> Sent: Friday, January 28, 2022 3:16 PM
> To: Netbeans Developer List <[email protected]>
> Subject: Copy and Paste Wrong from NB Output
>
> Not sure if this could be a Java copy/paste issue,  but while trying 
> out 13-rc2, I was trying to build something which resulted in some 
> errors showing in the Output window.  I selected the text from the 
> window, right clicked, selected Copy and pasted in the web browser to search.
>
> However  the copied text "org.tukaani" when pasted became "n, org.tuka"
>
> Anyone else have similar issues or ideas?  If so then I can raise an issue.
>
> Eric Bresie
> [email protected]
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Reply via email to