Bug 406503 - Shortcut for Edit does not work on text editor in a separated window
Summary: Shortcut for Edit does not work on text editor in a separated window
Status: CLOSED DUPLICATE of bug 402073
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.3   Edit
Hardware: All All
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2013-04-25 02:37 EDT by Takehiko Ishii CLA
Modified: 2013-04-30 10:41 EDT (History)
5 users (show)

See Also:


Attachments
screenshot at step 6 (164.61 KB, image/png)
2013-04-25 02:37 EDT, Takehiko Ishii CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Takehiko Ishii CLA 2013-04-25 02:37:26 EDT
Created attachment 230100 [details]
screenshot at step 6

OS: All (confirmed on Windows 7, RHEL 6, Mac OS 10.8)
JDK: 
  Windows/REHL: java full version JRE 1.7.0 SR3 IBM Windows AMD 64 build 
  Mac : Oracle JDK 1.7.0_17
Locale:Japanese/English

Steps to recreate problem:
1- create a simple project
2- create two simple files, file1.txt and file2.txt
3- enter text in file1.txt 
4- drag file2.txt tab and drop outside eclipse window to place it on a separate window
5- enter text in file2.txt on a separated window
6- press Ctrl+Z for undo


Expected output:
text entered in file2.txt is undo. 

Actual:
text entered in file1.txt is undo. 

Similar problem occurs about other Edit shortcut like redo, copy/paste. The same problem happens using menu on main window. Only these operations using context menu work as expected.
Comment 1 Dani Megert CLA 2013-04-25 08:00:07 EDT
Works fine for me using our latest build:
http://download.eclipse.org/eclipse/downloads/drops4/I20130423-0800/
Comment 2 Takehiko Ishii CLA 2013-04-26 07:21:10 EDT
(In reply to comment #1)
> Works fine for me using our latest build:
> http://download.eclipse.org/eclipse/downloads/drops4/I20130423-0800/

reproduced using I20130423-0800 Mac OS X 64bit cocoa build and I20130425-2000 Windows 64bit build. (we are using Japanese locale)

This problem occurs on Windows/Linux/Mac, but this does not easily be reproduced only on Windows 8 while it can be easily reproduced on other platforms like Windows 7, RHEL and Mac OS X. 

On Windows 8, this problem occurs only when clicking Tab of editor view or clicking a frame of separated window in order to move a focus on the separated window. If you click at a place within editor view and do Undo (Ctrl+z), this does not happen.
Comment 3 Dani Megert CLA 2013-04-26 07:39:19 EDT
I still cannot reproduce this on Windows 7

(In reply to comment #2)
> (In reply to comment #1)
> > Works fine for me using our latest build:
> > http://download.eclipse.org/eclipse/downloads/drops4/I20130423-0800/
> 
> reproduced using I20130423-0800 Mac OS X 64bit cocoa build and
> I20130425-2000 Windows 64bit build. (we are using Japanese locale)
^^^^^^^^^^^^^^^^

Did you mean N20130425-2000?

The steps you use are exactly as in comment 0? e.g.
> 4- drag file2.txt tab and drop outside eclipse window to place it on a
> separate window
What exactly do you mean by "separate window"?

Can you attach a screen shot?
Comment 4 Paul Webster CLA 2013-04-26 07:46:01 EDT
Similar to Bug 403221 and Bug 402073

PW
Comment 5 Takehiko Ishii CLA 2013-04-26 07:53:39 EDT
(In reply to comment #3)
> I still cannot reproduce this on Windows 7
> 
> (In reply to comment #2)
> > (In reply to comment #1)
> > > Works fine for me using our latest build:
> > > http://download.eclipse.org/eclipse/downloads/drops4/I20130423-0800/
> > 
> > reproduced using I20130423-0800 Mac OS X 64bit cocoa build and
> > I20130425-2000 Windows 64bit build. (we are using Japanese locale)
> ^^^^^^^^^^^^^^^^
> 
> Did you mean N20130425-2000?
> 
> The steps you use are exactly as in comment 0? e.g.
> > 4- drag file2.txt tab and drop outside eclipse window to place it on a
> > separate window
> What exactly do you mean by "separate window"?
> 
> Can you attach a screen shot?

yes, N20130425-2000 build. sorry for the typo, and the procedures are exactly same as the comment 0. About "separate window", I mean a window detached from the original eclipse window. Please see attachment 23011 [details], "SeparateWindowTest2.java" is corresponding to "file2.txt" in the procedures.
Comment 6 Dani Megert CLA 2013-04-26 08:26:41 EDT
(In reply to comment #5)
> Please see attachment 23011 [details]
> [details], "SeparateWindowTest2.java" is corresponding to "file2.txt" in the
> procedures.

Are you sure, you attached the right picture?
Comment 7 Takehiko Ishii CLA 2013-04-26 08:40:51 EDT
(In reply to comment #6)
> (In reply to comment #5)
> > Please see attachment 23011 [details]
> > [details], "SeparateWindowTest2.java" is corresponding to "file2.txt" in the
> > procedures.
> 
> Are you sure, you attached the right picture?

My apology, my screenshot is attachment 230100 [details] . 

will double-check when uploading attachment next time... sorry again.
Comment 8 Paul Webster CLA 2013-04-30 10:41:17 EDT

*** This bug has been marked as a duplicate of bug 402073 ***