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.

Bug 146123 - Can't highlight logs in GlassFish output window to copy and paste!
Summary: Can't highlight logs in GlassFish output window to copy and paste!
Status: RESOLVED DUPLICATE of bug 137327
Alias: None
Product: platform
Classification: Unclassified
Component: Output Window (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: t_h
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2008-09-04 05:03 UTC by rdelaplante
Modified: 2008-12-22 14:47 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
selection/copy an paste works (47.49 KB, image/jpeg)
2008-09-09 14:05 UTC, Lukas Hasik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rdelaplante 2008-09-04 05:03:56 UTC
This is P2 because I can go to log file on disk and copy, but that is unacceptable workflow. Why was this feature
disabled? I can go to other tabs and highlight. If I try to highlight in the GlassFish output window tab it just moves
the cursor to wherever the mouse is.

I'm using 6.5 200809031401.  When I started it up it said there is a new GlassFish plugin, so I installed the update and
restarted NetBeans.
Comment 1 Vince Kraemer 2008-09-04 18:04:58 UTC
I just pulled the sources available right now.  I have no significant changes in my local workspace.

I rebuilt the IDE.
I started the IDE.  
I started a v2 server.
  The server log window opened.  
  It started to fill with text. 

I did a copy....

I was able to paste back into an NB editor.

I was able to paste into an external program (Firefox)...

here is the paste...

WEB0302: Starting Sun-Java-System/Application-Server.
JBIFW0010: JBI framework ready to accept requests.
WEB0712: Starting Sun-Java-System/Application-Server HTTP/1.1 on 8080
WEB0712: Starting Sun-Java-System/Application-Server HTTP/1.1 on 8181
WEB0712: Starting Sun-Java-System/Application-Server HTTP/1.1 on 4848
SMGT0007: Self Management Rules service is enabled
Application server startup complete.

I am on Solaris 10.
I am using JDK 1.5.0_16 for the IDE

Please provide additional details if you can still reproduce this issue with the 0904 nightly of 6.5.
Comment 2 rdelaplante 2008-09-04 18:10:15 UTC
I was still able to reproduce it.  I noticed that there is another update for the GlassFish plugin.   I had 1.6.0.1
installed, and the update was for 1.6.0.1.1.   I installed the update, restarted the IDE and problem solved.
Comment 3 Vince Kraemer 2008-09-04 18:26:25 UTC
glad to hear it. I am closing this as worksforme... since it did.

it sound like it works for you, too.

the code for the server log window has been pretty static for a long time.  The code in the next layer down from the
plugin has been pretty static, too.  So, I am going to flag this as a RANDOM issue, too.
Comment 4 rdelaplante 2008-09-05 04:38:10 UTC
After leaving NetBeans open all day, I came back to it and this is happening again.  As I hold the mouse button down and
drag the mouse over the GlassFish output window, the cursor follows the mouse but does not highlight.  
Comment 5 Vince Kraemer 2008-09-05 04:56:43 UTC
OK.  I will reopen this and keep looking.  Can you provide real data on the platform (OS, hardware, memory) you are
running on?

How about the jdk you are running against?

Without this kind of info, it will be virtually impossible to make progress on making code changes to resolve this.
Comment 6 rdelaplante 2008-09-05 05:15:25 UTC
Product Version: NetBeans IDE Dev (Build 200809031401)
Java: 1.6.0_06; Java HotSpot(TM) Client VM 10.0-b22
System: Linux version 2.6.24-19-generic running on i386; UTF-8; en_CA (nb)
Userdir: /home/ryan/.netbeans/dev

Ubuntu Linux 8.04, Sun Ultra 24 workstation, Intel Core2 Duo cpu, 1 GB memory
Comment 7 rdelaplante 2008-09-05 23:16:42 UTC
I just noticed this problem happening on a Maven2 build output window in addition to the GlassFish V2 output window, so
I don't think it is specific to the GlassFish plugin.   I only started seeing this the day I reported the problem. 
Using previous nightly builds I did not notice this problem.
Comment 8 Vince Kraemer 2008-09-06 21:59:42 UTC
It sounds like this is a problem at the interface between Java and the OS/Window system clipboard...

I found this issue... http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4818143 which may have "reopened" in releases
since the initial fix delivery.

The NB window system guys will have more experience with this type of stuff.  Reassigning to them to evaluate.
Comment 9 Lukas Hasik 2008-09-09 14:05:58 UTC
Created attachment 69404 [details]
selection/copy an paste works
Comment 10 Lukas Hasik 2008-09-09 14:07:51 UTC
it worksforme on winXP. Ryan, could you try different jdk?
Comment 11 t_h 2008-09-09 14:12:08 UTC
Dupl. of #137327
Comment 12 t_h 2008-09-09 14:12:44 UTC

*** This issue has been marked as a duplicate of 137327 ***