[jira] [Commented] (NETBEANS-235) Wrap Text breaks copy/paste of output window

2022-01-29 Thread Eric Bresie (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-235?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17484171#comment-17484171
 ] 

Eric Bresie commented on NETBEANS-235:
--

I have seen this with Windows 10, with netbeans 12-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)

> Wrap Text breaks copy/paste of output window
> 
>
> Key: NETBEANS-235
> URL: https://issues.apache.org/jira/browse/NETBEANS-235
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Output Window
>Affects Versions: 9.0
> Environment: Microsoft Windows [Version 10.0.16299.125]
> DPI scaling: 150%
> java version "9.0.1"
> Java(TM) SE Runtime Environment (build 9.0.1+11)
> Java HotSpot(TM) 64-Bit Server VM (build 9.0.1+11, mixed mode)
>Reporter: Gili
>Priority: Major
>  Labels: HiDPI, Java10, regression
> Attachments: 2018-04-22 at 00-57-36.mp4
>
>
> Repro steps:
> 1. Run any Java maven program
> 2. (With Wrap Text disabled) Copy text from the output window, paste it into 
> another application
> 3. Notice that this works (the text you see selected when you copy is the 
> text you get when you paste)
> 4. Enable Wrap Text in the Output Window
> 5. Re-run the application
> 6. Copy text from the output window, paste it into another application.
> 7. Notice that the selected text in Netbeans is not the text that gets 
> pasted. Furthermore, if you attempt to select the entire line in the Output 
> Window, you will notice that the caret will not go to the end of the line. 
> This is because the visual and API offsets are not aligned so when the caret 
> goes *near* the end of line visually, it is actually at the end of the line 
> as far as the API is concerned. If you copy/paste this fake end-of-line you 
> will get the entire line.
> Expected behavior: Consistent behavior when Wrap Text is enabled or disabled.
> 1. We should be able to copy whatever text is visually selected.
> 2. We should be able to select the entire line.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

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



[jira] [Commented] (NETBEANS-235) Wrap Text breaks copy/paste of output window

2018-04-23 Thread Gili (JIRA)

[ 
https://issues.apache.org/jira/browse/NETBEANS-235?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16447993#comment-16447993
 ] 

Gili commented on NETBEANS-235:
---

[~lkishalmi] The problem does not occur when -J-Dsun.java2d.dpiaware=false (but 
then the IDE rendering looks horrible)

I need you or some other committer to try reproducing this problem under 
Windows 10. Whomever is tracking this problem back to its source, and 
potentially fixing it, needs to be able to reproduce the problem locally.

> Wrap Text breaks copy/paste of output window
> 
>
> Key: NETBEANS-235
> URL: https://issues.apache.org/jira/browse/NETBEANS-235
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Output Window
>Affects Versions: 9.0
> Environment: Microsoft Windows [Version 10.0.16299.125]
> DPI scaling: 150%
> java version "9.0.1"
> Java(TM) SE Runtime Environment (build 9.0.1+11)
> Java HotSpot(TM) 64-Bit Server VM (build 9.0.1+11, mixed mode)
>Reporter: Gili
>Priority: Major
>  Labels: HiDPI, Java10, regression
> Attachments: 2018-04-22 at 00-57-36.mp4
>
>
> Repro steps:
> 1. Run any Java maven program
> 2. (With Wrap Text disabled) Copy text from the output window, paste it into 
> another application
> 3. Notice that this works (the text you see selected when you copy is the 
> text you get when you paste)
> 4. Enable Wrap Text in the Output Window
> 5. Re-run the application
> 6. Copy text from the output window, paste it into another application.
> 7. Notice that the selected text in Netbeans is not the text that gets 
> pasted. Furthermore, if you attempt to select the entire line in the Output 
> Window, you will notice that the caret will not go to the end of the line. 
> This is because the visual and API offsets are not aligned so when the caret 
> goes *near* the end of line visually, it is actually at the end of the line 
> as far as the API is concerned. If you copy/paste this fake end-of-line you 
> will get the entire line.
> Expected behavior: Consistent behavior when Wrap Text is enabled or disabled.
> 1. We should be able to copy whatever text is visually selected.
> 2. We should be able to select the entire line.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

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



[jira] [Commented] (NETBEANS-235) Wrap Text breaks copy/paste of output window

2018-04-22 Thread Laszlo Kishalmi (JIRA)

[ 
https://issues.apache.org/jira/browse/NETBEANS-235?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16447416#comment-16447416
 ] 

Laszlo Kishalmi commented on NETBEANS-235:
--

Yes, I've repeated your testcase. It worked on Linux even on HiDPI display even 
with fractional scaling (though that is not available by default, and only 
works on Wayland).
I'm sorry to keep giving you advises to test but what happens when you set the 
-J-Dsun.java2d.dpiaware=true to false in etc/netbeans.conf?

> Wrap Text breaks copy/paste of output window
> 
>
> Key: NETBEANS-235
> URL: https://issues.apache.org/jira/browse/NETBEANS-235
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Output Window
>Affects Versions: 9.0
> Environment: Microsoft Windows [Version 10.0.16299.125]
> DPI scaling: 150%
> java version "9.0.1"
> Java(TM) SE Runtime Environment (build 9.0.1+11)
> Java HotSpot(TM) 64-Bit Server VM (build 9.0.1+11, mixed mode)
>Reporter: Gili
>Priority: Major
>  Labels: HiDPI, Java10, regression
> Attachments: 2018-04-22 at 00-57-36.mp4
>
>
> Repro steps:
> 1. Run any Java maven program
> 2. (With Wrap Text disabled) Copy text from the output window, paste it into 
> another application
> 3. Notice that this works (the text you see selected when you copy is the 
> text you get when you paste)
> 4. Enable Wrap Text in the Output Window
> 5. Re-run the application
> 6. Copy text from the output window, paste it into another application.
> 7. Notice that the selected text in Netbeans is not the text that gets 
> pasted. Furthermore, if you attempt to select the entire line in the Output 
> Window, you will notice that the caret will not go to the end of the line. 
> This is because the visual and API offsets are not aligned so when the caret 
> goes *near* the end of line visually, it is actually at the end of the line 
> as far as the API is concerned. If you copy/paste this fake end-of-line you 
> will get the entire line.
> Expected behavior: Consistent behavior when Wrap Text is enabled or disabled.
> 1. We should be able to copy whatever text is visually selected.
> 2. We should be able to select the entire line.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

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



[jira] [Commented] (NETBEANS-235) Wrap Text breaks copy/paste of output window

2018-04-22 Thread Gili (JIRA)

[ 
https://issues.apache.org/jira/browse/NETBEANS-235?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16447412#comment-16447412
 ] 

Gili commented on NETBEANS-235:
---

Confirmed. This bug does **not** occur with JDK 8.

This still does not necessarily mean the bug is in the JDK. Maybe we're 
misusing the Java API somehow. How do we track down the problem to its source?

Out of curiosity, were you able to reproduce the problem using the testcase I 
provided above? Or does the problem still not occur under Linux?

> Wrap Text breaks copy/paste of output window
> 
>
> Key: NETBEANS-235
> URL: https://issues.apache.org/jira/browse/NETBEANS-235
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Output Window
>Affects Versions: 9.0
> Environment: Microsoft Windows [Version 10.0.16299.125]
> DPI scaling: 150%
> java version "9.0.1"
> Java(TM) SE Runtime Environment (build 9.0.1+11)
> Java HotSpot(TM) 64-Bit Server VM (build 9.0.1+11, mixed mode)
>Reporter: Gili
>Priority: Major
>  Labels: HiDPI, regression
> Attachments: 2018-04-22 at 00-57-36.mp4
>
>
> Repro steps:
> 1. Run any Java maven program
> 2. (With Wrap Text disabled) Copy text from the output window, paste it into 
> another application
> 3. Notice that this works (the text you see selected when you copy is the 
> text you get when you paste)
> 4. Enable Wrap Text in the Output Window
> 5. Re-run the application
> 6. Copy text from the output window, paste it into another application.
> 7. Notice that the selected text in Netbeans is not the text that gets 
> pasted. Furthermore, if you attempt to select the entire line in the Output 
> Window, you will notice that the caret will not go to the end of the line. 
> This is because the visual and API offsets are not aligned so when the caret 
> goes *near* the end of line visually, it is actually at the end of the line 
> as far as the API is concerned. If you copy/paste this fake end-of-line you 
> will get the entire line.
> Expected behavior: Consistent behavior when Wrap Text is enabled or disabled.
> 1. We should be able to copy whatever text is visually selected.
> 2. We should be able to select the entire line.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

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



[jira] [Commented] (NETBEANS-235) Wrap Text breaks copy/paste of output window

2018-04-22 Thread Laszlo Kishalmi (JIRA)

[ 
https://issues.apache.org/jira/browse/NETBEANS-235?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16447265#comment-16447265
 ] 

Laszlo Kishalmi commented on NETBEANS-235:
--

It is much clearer now. Could you test this under JDK 8? Also you might try to 
use a different font as well.

I'm sorry that I'm just guessing, but I do not think that the output window 
received changes between 8.2 to 9.0.

> Wrap Text breaks copy/paste of output window
> 
>
> Key: NETBEANS-235
> URL: https://issues.apache.org/jira/browse/NETBEANS-235
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Output Window
>Affects Versions: 9.0
> Environment: Microsoft Windows [Version 10.0.16299.125]
> DPI scaling: 150%
> java version "9.0.1"
> Java(TM) SE Runtime Environment (build 9.0.1+11)
> Java HotSpot(TM) 64-Bit Server VM (build 9.0.1+11, mixed mode)
>Reporter: Gili
>Priority: Major
>  Labels: HiDPI, regression
> Attachments: 2018-04-22 at 00-57-36.mp4
>
>
> Repro steps:
> 1. Run any Java maven program
> 2. (With Wrap Text disabled) Copy text from the output window, paste it into 
> another application
> 3. Notice that this works (the text you see selected when you copy is the 
> text you get when you paste)
> 4. Enable Wrap Text in the Output Window
> 5. Re-run the application
> 6. Copy text from the output window, paste it into another application.
> 7. Notice that the selected text in Netbeans is not the text that gets 
> pasted. Furthermore, if you attempt to select the entire line in the Output 
> Window, you will notice that the caret will not go to the end of the line. 
> This is because the visual and API offsets are not aligned so when the caret 
> goes *near* the end of line visually, it is actually at the end of the line 
> as far as the API is concerned. If you copy/paste this fake end-of-line you 
> will get the entire line.
> Expected behavior: Consistent behavior when Wrap Text is enabled or disabled.
> 1. We should be able to copy whatever text is visually selected.
> 2. We should be able to select the entire line.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

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



[jira] [Commented] (NETBEANS-235) Wrap Text breaks copy/paste of output window

2018-04-21 Thread Gili (JIRA)

[ 
https://issues.apache.org/jira/browse/NETBEANS-235?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16447100#comment-16447100
 ] 

Gili commented on NETBEANS-235:
---

 [^2018-04-22 at 00-57-36.mp4] [~lkishalmi] Here is a minimal testcase for 
reproducing the problem:
 # Create a Java project with:
{code:java}
public class CopyPasteBug {
 public static void main(String[] args) {
   System.out.println("Mary had a little lamb, little lamb, little lamb.");
 }
}{code}

 # Run the application.
 # In the output window, select" Mary had a little lamb, little"
 # Copy the text into the clipboard
 # Paste the text into the editor.
 # Notice that "Mary had a little lamb, littl" is pasted (missing an "e" at the 
end)

I've attached a video showing this in action.

Now that I think about it, https://issues.apache.org/jira/browse/NETBEANS-264 
might be related. I've noticed for a while that the width of certain letters 
aren't calculated correctly. This causes project names to get cut off in the 
projects tab. Maybe in this case it's causing rendering problems in the output 
window. Anyway, let's focus on what we know for sure... if you run the above 
testcase you should be able to reproduce the problem. If not, we've got some 
environmental differences. If so, I recommend we get someone to test this under 
Windows.

> Wrap Text breaks copy/paste of output window
> 
>
> Key: NETBEANS-235
> URL: https://issues.apache.org/jira/browse/NETBEANS-235
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Output Window
>Affects Versions: 9.0
> Environment: Microsoft Windows [Version 10.0.16299.125]
> DPI scaling: 150%
> java version "9.0.1"
> Java(TM) SE Runtime Environment (build 9.0.1+11)
> Java HotSpot(TM) 64-Bit Server VM (build 9.0.1+11, mixed mode)
>Reporter: Gili
>Priority: Major
>  Labels: HiDPI, regression
> Attachments: 2018-04-22 at 00-57-36.mp4
>
>
> Repro steps:
> 1. Run any Java maven program
> 2. (With Wrap Text disabled) Copy text from the output window, paste it into 
> another application
> 3. Notice that this works (the text you see selected when you copy is the 
> text you get when you paste)
> 4. Enable Wrap Text in the Output Window
> 5. Re-run the application
> 6. Copy text from the output window, paste it into another application.
> 7. Notice that the selected text in Netbeans is not the text that gets 
> pasted. Furthermore, if you attempt to select the entire line in the Output 
> Window, you will notice that the caret will not go to the end of the line. 
> This is because the visual and API offsets are not aligned so when the caret 
> goes *near* the end of line visually, it is actually at the end of the line 
> as far as the API is concerned. If you copy/paste this fake end-of-line you 
> will get the entire line.
> Expected behavior: Consistent behavior when Wrap Text is enabled or disabled.
> 1. We should be able to copy whatever text is visually selected.
> 2. We should be able to select the entire line.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

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



[jira] [Commented] (NETBEANS-235) Wrap Text breaks copy/paste of output window

2018-04-21 Thread Laszlo Kishalmi (JIRA)

[ 
https://issues.apache.org/jira/browse/NETBEANS-235?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16447092#comment-16447092
 ] 

Laszlo Kishalmi commented on NETBEANS-235:
--

Could you add a few screenshot then?

> Wrap Text breaks copy/paste of output window
> 
>
> Key: NETBEANS-235
> URL: https://issues.apache.org/jira/browse/NETBEANS-235
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Output Window
>Affects Versions: 9.0
> Environment: Microsoft Windows [Version 10.0.16299.125]
> DPI scaling: 150%
> java version "9.0.1"
> Java(TM) SE Runtime Environment (build 9.0.1+11)
> Java HotSpot(TM) 64-Bit Server VM (build 9.0.1+11, mixed mode)
>Reporter: Gili
>Priority: Major
>  Labels: regression
>
> Repro steps:
> 1. Run any Java maven program
> 2. (With Wrap Text disabled) Copy text from the output window, paste it into 
> another application
> 3. Notice that this works (the text you see selected when you copy is the 
> text you get when you paste)
> 4. Enable Wrap Text in the Output Window
> 5. Re-run the application
> 6. Copy text from the output window, paste it into another application.
> 7. Notice that the selected text in Netbeans is not the text that gets 
> pasted. Furthermore, if you attempt to select the entire line in the Output 
> Window, you will notice that the caret will not go to the end of the line. 
> This is because the visual and API offsets are not aligned so when the caret 
> goes *near* the end of line visually, it is actually at the end of the line 
> as far as the API is concerned. If you copy/paste this fake end-of-line you 
> will get the entire line.
> Expected behavior: Consistent behavior when Wrap Text is enabled or disabled.
> 1. We should be able to copy whatever text is visually selected.
> 2. We should be able to select the entire line.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

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



[jira] [Commented] (NETBEANS-235) Wrap Text breaks copy/paste of output window

2018-04-21 Thread Gili (JIRA)

[ 
https://issues.apache.org/jira/browse/NETBEANS-235?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16447091#comment-16447091
 ] 

Gili commented on NETBEANS-235:
---

[~lkishalmi] I just tested Oracle Java 10 and got the same behavior.

Another reason that I don't think this is a JDK bug is that copy/pasting inside 
the editor works just fine, but inside the Output Window fails.

> Wrap Text breaks copy/paste of output window
> 
>
> Key: NETBEANS-235
> URL: https://issues.apache.org/jira/browse/NETBEANS-235
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Output Window
>Affects Versions: 9.0
> Environment: Microsoft Windows [Version 10.0.16299.125]
> DPI scaling: 150%
> java version "9.0.1"
> Java(TM) SE Runtime Environment (build 9.0.1+11)
> Java HotSpot(TM) 64-Bit Server VM (build 9.0.1+11, mixed mode)
>Reporter: Gili
>Priority: Major
>  Labels: regression
>
> Repro steps:
> 1. Run any Java maven program
> 2. (With Wrap Text disabled) Copy text from the output window, paste it into 
> another application
> 3. Notice that this works (the text you see selected when you copy is the 
> text you get when you paste)
> 4. Enable Wrap Text in the Output Window
> 5. Re-run the application
> 6. Copy text from the output window, paste it into another application.
> 7. Notice that the selected text in Netbeans is not the text that gets 
> pasted. Furthermore, if you attempt to select the entire line in the Output 
> Window, you will notice that the caret will not go to the end of the line. 
> This is because the visual and API offsets are not aligned so when the caret 
> goes *near* the end of line visually, it is actually at the end of the line 
> as far as the API is concerned. If you copy/paste this fake end-of-line you 
> will get the entire line.
> Expected behavior: Consistent behavior when Wrap Text is enabled or disabled.
> 1. We should be able to copy whatever text is visually selected.
> 2. We should be able to select the entire line.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

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



[jira] [Commented] (NETBEANS-235) Wrap Text breaks copy/paste of output window

2018-04-20 Thread Gili (JIRA)

[ 
https://issues.apache.org/jira/browse/NETBEANS-235?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16446235#comment-16446235
 ] 

Gili commented on NETBEANS-235:
---

[~lkishalmi] Yes. Multi-monitor, HiDPI environment, Java 9. We're not sure 
whether the problem is in the JDK or Netbeans yet. First, it would be great for 
a second person to reproduce this problem :)

> Wrap Text breaks copy/paste of output window
> 
>
> Key: NETBEANS-235
> URL: https://issues.apache.org/jira/browse/NETBEANS-235
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Output Window
>Affects Versions: 9.0
> Environment: Microsoft Windows [Version 10.0.16299.125]
> DPI scaling: 150%
> java version "9.0.1"
> Java(TM) SE Runtime Environment (build 9.0.1+11)
> Java HotSpot(TM) 64-Bit Server VM (build 9.0.1+11, mixed mode)
>Reporter: Gili
>Priority: Major
>  Labels: regression
>
> Repro steps:
> 1. Run any Java maven program
> 2. (With Wrap Text disabled) Copy text from the output window, paste it into 
> another application
> 3. Notice that this works (the text you see selected when you copy is the 
> text you get when you paste)
> 4. Enable Wrap Text in the Output Window
> 5. Re-run the application
> 6. Copy text from the output window, paste it into another application.
> 7. Notice that the selected text in Netbeans is not the text that gets 
> pasted. Furthermore, if you attempt to select the entire line in the Output 
> Window, you will notice that the caret will not go to the end of the line. 
> This is because the visual and API offsets are not aligned so when the caret 
> goes *near* the end of line visually, it is actually at the end of the line 
> as far as the API is concerned. If you copy/paste this fake end-of-line you 
> will get the entire line.
> Expected behavior: Consistent behavior when Wrap Text is enabled or disabled.
> 1. We should be able to copy whatever text is visually selected.
> 2. We should be able to select the entire line.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

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



[jira] [Commented] (NETBEANS-235) Wrap Text breaks copy/paste of output window

2018-04-20 Thread Laszlo Kishalmi (JIRA)

[ 
https://issues.apache.org/jira/browse/NETBEANS-235?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16446168#comment-16446168
 ] 

Laszlo Kishalmi commented on NETBEANS-235:
--

Could not reproduce under Ubuntu 18.04 64bit using Oracle Java 10

I'm guessing it is either a Windows JVM related issue or something with your 
settings.

Are you using Multi-monitor and/or HiDPI environment? HiDPI support is new in 
Java 9 and it may not behave correctly on all platforms.

> Wrap Text breaks copy/paste of output window
> 
>
> Key: NETBEANS-235
> URL: https://issues.apache.org/jira/browse/NETBEANS-235
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Output Window
>Affects Versions: 9.0
> Environment: Microsoft Windows [Version 10.0.16299.125]
> DPI scaling: 150%
> java version "9.0.1"
> Java(TM) SE Runtime Environment (build 9.0.1+11)
> Java HotSpot(TM) 64-Bit Server VM (build 9.0.1+11, mixed mode)
>Reporter: Gili
>Priority: Major
>  Labels: regression
>
> Repro steps:
> 1. Run any Java maven program
> 2. (With Wrap Text disabled) Copy text from the output window, paste it into 
> another application
> 3. Notice that this works (the text you see selected when you copy is the 
> text you get when you paste)
> 4. Enable Wrap Text in the Output Window
> 5. Re-run the application
> 6. Copy text from the output window, paste it into another application.
> 7. Notice that the selected text in Netbeans is not the text that gets 
> pasted. Furthermore, if you attempt to select the entire line in the Output 
> Window, you will notice that the caret will not go to the end of the line. 
> This is because the visual and API offsets are not aligned so when the caret 
> goes *near* the end of line visually, it is actually at the end of the line 
> as far as the API is concerned. If you copy/paste this fake end-of-line you 
> will get the entire line.
> Expected behavior: Consistent behavior when Wrap Text is enabled or disabled.
> 1. We should be able to copy whatever text is visually selected.
> 2. We should be able to select the entire line.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

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



[jira] [Commented] (NETBEANS-235) Wrap Text breaks copy/paste of output window

2018-04-03 Thread Gili (JIRA)

[ 
https://issues.apache.org/jira/browse/NETBEANS-235?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16424845#comment-16424845
 ] 

Gili commented on NETBEANS-235:
---

Possibly related to NETBEANS-271.

> Wrap Text breaks copy/paste of output window
> 
>
> Key: NETBEANS-235
> URL: https://issues.apache.org/jira/browse/NETBEANS-235
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Output Window
>Affects Versions: 9.0
> Environment: Microsoft Windows [Version 10.0.16299.125]
> DPI scaling: 150%
> java version "9.0.1"
> Java(TM) SE Runtime Environment (build 9.0.1+11)
> Java HotSpot(TM) 64-Bit Server VM (build 9.0.1+11, mixed mode)
>Reporter: Gili
>Priority: Major
>  Labels: regression
>
> Repro steps:
> 1. Run any Java maven program
> 2. (With Wrap Text disabled) Copy text from the output window, paste it into 
> another application
> 3. Notice that this works (the text you see selected when you copy is the 
> text you get when you paste)
> 4. Enable Wrap Text in the Output Window
> 5. Re-run the application
> 6. Copy text from the output window, paste it into another application.
> 7. Notice that the selected text in Netbeans is not the text that gets 
> pasted. Furthermore, if you attempt to select the entire line in the Output 
> Window, you will notice that the caret will not go to the end of the line. 
> This is because the visual and API offsets are not aligned so when the caret 
> goes *near* the end of line visually, it is actually at the end of the line 
> as far as the API is concerned. If you copy/paste this fake end-of-line you 
> will get the entire line.
> Expected behavior: Consistent behavior when Wrap Text is enabled or disabled.
> 1. We should be able to copy whatever text is visually selected.
> 2. We should be able to select the entire line.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

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



[jira] [Commented] (NETBEANS-235) Wrap Text breaks copy/paste of output window

2018-01-01 Thread Gili (JIRA)

[ 
https://issues.apache.org/jira/browse/NETBEANS-235?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16307411#comment-16307411
 ] 

Gili commented on NETBEANS-235:
---

Nightly build off netbeans.org (201712210002) suffers from the same bug.

> Wrap Text breaks copy/paste of output window
> 
>
> Key: NETBEANS-235
> URL: https://issues.apache.org/jira/browse/NETBEANS-235
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Output Window
>Affects Versions: 9.0
> Environment: Microsoft Windows [Version 10.0.16299.125]
> DPI scaling: 150%
> java version "9.0.1"
> Java(TM) SE Runtime Environment (build 9.0.1+11)
> Java HotSpot(TM) 64-Bit Server VM (build 9.0.1+11, mixed mode)
>Reporter: Gili
>  Labels: regression
>
> Repro steps:
> 1. Run any Java maven program
> 2. (With Wrap Text disabled) Copy text from the output window, paste it into 
> another application
> 3. Notice that this works (the text you see selected when you copy is the 
> text you get when you paste)
> 4. Enable Wrap Text in the Output Window
> 5. Re-run the application
> 6. Copy text from the output window, paste it into another application.
> 7. Notice that the selected text in Netbeans is not the text that gets 
> pasted. Furthermore, if you attempt to select the entire line in the Output 
> Window, you will notice that the caret will not go to the end of the line. 
> This is because the visual and API offsets are not aligned so when the caret 
> goes *near* the end of line visually, it is actually at the end of the line 
> as far as the API is concerned. If you copy/paste this fake end-of-line you 
> will get the entire line.
> Expected behavior: Consistent behavior when Wrap Text is enabled or disabled.
> 1. We should be able to copy whatever text is visually selected.
> 2. We should be able to select the entire line.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

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