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 24762 - Paste with Ctrl-V in Explorer pastes in Editor
Summary: Paste with Ctrl-V in Explorer pastes in Editor
Status: CLOSED WORKSFORME
Alias: None
Product: ide
Classification: Unclassified
Component: UI (show other bugs)
Version: 3.x
Hardware: PC Linux
: P4 blocker with 1 vote (vote)
Assignee: issues@www
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-14 07:59 UTC by Brett Porter
Modified: 2005-03-09 04:28 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 Brett Porter 2002-06-14 07:59:26 UTC
I copy a field in explorer, then select a folder
and hit Ctrl-V, and it pastes my clipboard text
into the editor where the cursor was (but is not
currently showing as I am focused in the explorer).

Using the context menu to past works just fine.

This appeared in 3.4b1, works ok in milestone 4
Comment 1 Marian Mirilovic 2002-06-14 11:54:04 UTC
I am sorry, but I don't undesrstand what you exactly do.

What do you mean by "I copy a field in explorer" ? file or field ?

or "but is not currently showing as I am focused in the explorer" do
you mean :
You haven't opened Source Editor or Source Editor isn't visible
(something else) ?

Closing as INVALID , please answer my questions and write exactly
steps to reproduce and REOPEN issue.

Thank andvance.
Comment 2 Brett Porter 2002-06-14 12:23:29 UTC
sorry, was typing on the way home on friday :)

yes, copy a file in explorer using Ctrl-C. There is a source window
open, and pressing Ctrl-V in the explorer pastes into the source
window. I was trying to copy a file from one folder into another.

I don't have beta 1 at home, so I'll get some succinct steps at work
on Monday. It should be easy to replicate.
Comment 3 Marian Mirilovic 2002-06-21 16:16:59 UTC
I am sorry but I still not understand, are next steps right ? :

- run IDE
- open some java file <sampledir>/colorpicker/ColorPicker.java
- select ColorPreview.java node in Explorer 
- press Ctrl+C
- select folder texteditor
- press Ctrl-V

-> What now happend ? As you wrote : pasted file is opened or , some
text is pasted to Source Editor at the cursor position , WHat text is
pasted to Source Editor ?


Well some new ideas, where is focus when you press Ctrl+V ? 
- if Source Editor is focused - it's right, copied class (source code)
is pasted to the destination class. 
- if focus owner is Explorer and you really select target node-folder
and text(source code of copied class) is pasted to the Source Editor
it's a bug.
- if focus owner is Explorer and you select destination node-class
file - it's right, copied class (source code) is pasted to the
destination class.

Please answer my questions and thanks for your time.

Comment 4 Brett Porter 2002-06-23 01:16:57 UTC
Hi,

I've ben trying to replicate this, but its not as easy as I first thought!

Just to clear it up:
- copied a file from explorer
- explorer was focused when I pasted
- current clipboard contents was pasted into editor instead (nothing
to do with copied explorer file)

Since I can't replicate it, it might be best to close this, and if I
can get it happening again, I will reopen the bug.
Comment 5 Marian Mirilovic 2002-06-24 08:18:03 UTC
Ok, I am closing as worksforme, if you find reproducible scenario,
please reopen, thanks.
Comment 6 Quality Engineering 2003-07-01 15:16:23 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.
Comment 7 Quality Engineering 2003-07-01 15:20:04 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.