This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | wrapped rows while copying result set | ||
---|---|---|---|
Product: | db | Reporter: | pedalshoe <pedalshoe> |
Component: | Show Data | Assignee: | Jiri Rechtacek <jrechtacek> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 7.2 | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
pedalshoe
2012-10-02 02:41:52 UTC
I discovered that if NetBeans is maximized, copy paste works correctly. i spoke too soon, re-sizing temporarily fixed it. I still have the problem when coping from NetBeans and pasting into any other text editor or excel. Copied A B C D E 1 2 3 4 5 Pasted A B C D E 1 2 3 4 5 Thank You, Christopher Hey pedalshoe, could it be that rid contains tab-characters or newline-characters? I just had a closer look at the copy code (see bug #219117) and there are no newlines introduced other than at a real new-line or if they are part of the data. With the patch in bug #219117 I introduce correct CSV (or better TSV quoting), meaning that data containing newlines or tabs are quoted. Not sure when the patch gets accepted but it would be interesting to check a nightly build after that. I tested with libreoffice calc and it worked as I would expect. Greetings Matthias > With the patch in bug #219117 I introduce correct CSV (or better TSV quoting),
> meaning that data containing newlines or tabs are quoted.
The patch was accepted and integrated. It works fine for me even if the copied text contains newlines.
Please, try the latest development build and check if it works for you, too. If not, reopen the bug. Thank you.
|