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 187778 - Can not Cut / Past into dialogs
Summary: Can not Cut / Past into dialogs
Status: RESOLVED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: Dialogs&Wizards (show other bugs)
Version: 6.x
Hardware: Macintosh (x86) Mac OS X
: P3 normal with 1 vote (vote)
Assignee: Stanislav Aubrecht
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-18 11:25 UTC by jmcbade
Modified: 2011-10-17 14:50 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jmcbade 2010-06-18 11:25:11 UTC
Running the 6.9 full version here.  Primary use is for Ruby / Rails but this will occur in any pop up dialog.

Simple to reproduce: Copy any text from inside or outside the IDE and then choose one of the following for example;

Ruby generator
Run / Debug Rake Task
Find

You will be unable to paste from the clipboard into any of the fields.
Comment 1 Stanislav Aubrecht 2010-08-26 15:48:39 UTC
works for me in 

Product Version: NetBeans IDE 6.9.1 (Build 201007282301)
Java: 1.6.0_20; Java HotSpot(TM) 64-Bit Server VM 16.3-b01-279
System: Mac OS X version 10.6.4 running on x86_64; MacRoman; en_US (nb)
Userdir: /Users/stan/.netbeans/6.9
Comment 2 jmcbade 2010-08-26 23:30:30 UTC
saubrech:  Sorry but you can't be running the same test.  I have more than one MAC OS based machine that Cut-n-paste does not work on for Netbeans in virtually all dialogs.  I have a Linux box with the same behavior.

We need to find some way to verify this and get it corrected.  It is really bad for workflow to have this issue going on.

Thanks,

-John
Comment 3 David Strupl 2010-08-27 09:25:03 UTC
Before closing as works for me I give one more chance the proper team (platform) to look at it. Please don't change the project/component randomly. Thanks.
Comment 4 jmcbade 2010-08-27 09:33:56 UTC
Actually, I wasn't wanting to change the "project/component".  I was just trying to add a new response.  I didn't want it to be closed.  "Editor" was for some reason no longer an option.

Sorry, not trying to make more problems honest.  I just want to see an issue resolved.  It is surely possible for duplication here as I said on more than one machine and more then one platform.
Comment 5 jmcbade 2010-08-27 09:55:03 UTC
Thinking about this and now I know what is happening.  I am applying " --laf Metal" to the line: 

netbeans_default_options="-J-Dcom.sun.mysql.startcommand=/usr/local/mysql/support-files/mysql-admin.server -J-Dcom.sun.mysql.stopcommand=/usr/local/mysql/support-files/mysql-admin.server -J-Dcom.sun.mysql.startargs=start -J-Dcom.sun.mysql.stopargs=stop -J-Dcom.sun.mysql.port=3306 -J-client -J-Xss2m -J-Xms32m -J-XX:PermSize=32m -J-XX:MaxPermSize=200m -J-Dapple.laf.useScreenMenuBar=true -J-Dapple.awt.graphics.UseQuartz=true -J-Dsun.java2d.noddraw=true" 

in netbeans.conf  and THAT is breaking the "Cut-n-paste" functionality.

I use some other in Linux but I am changing the LAF in both instances.

So I guess changing the LAF is now not an option with Netbeans if I want "Cut-n-paste"

I am sad!

Any way to have both the best IDE in the world AND have my LAF option??

Thanks,

-John
Comment 6 jmcbade 2010-09-15 23:26:31 UTC
Can someone who knows more about this than I then please comment if it is possible to make LAF support Cut-n-paste?

What would I need to change?
How would the steps go?
How could this fixed be made available to those of us who prefer a different look and feel for Netbeans?
Comment 7 Stanislav Aubrecht 2011-10-17 14:50:23 UTC
this is JDK issue. try running SwingSet demo app on Mac OS X, switch to Metal l&f and click 'Show Component Dialog' button. you won't be able to cut/copy paste data either.