Bug 212244 - [MPE] drag'n'drop of text in MultiEditor
Summary: [MPE] drag'n'drop of text in MultiEditor
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.4   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-07 03:36 EST by M.Wirth CLA
Modified: 2019-09-06 15:35 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description M.Wirth CLA 2007-12-07 03:36:43 EST
drag'n'drop of text in a Texteditor if used in a MultiEditor does not work.
Comment 1 Dani Megert CLA 2007-12-10 04:45:27 EST
Sorry this is way too generic as there are millions of ways to write a text editor inside a multi-page editor.
Comment 2 Dani Megert CLA 2007-12-10 12:33:30 EST
DnD works like a charm in the source pages of mutli-page editors in the SDK (e.g. PDE).
Comment 3 M.Wirth CLA 2007-12-10 16:49:21 EST
Perhaps there is a misunderstanding. I am talking about org.eclipse.ui.part.MultiEditor (not MultiPageEditorPart)

With "drag'n'drop of text" I mean the new feature from 3.3 (I think) where a text can be dragged from one position to another inside the same Editor. If a AbstractTextEditor is used inside a MultiEditor this drag'n'drop does not work (inside the same AbstractTextEditor, not to another one which is also displayed in the MultiEditor)

If it is still too generic, than sorry for this bug which isn't one.

Comment 4 Dani Megert CLA 2007-12-10 17:07:09 EST
Mmh. Unfortunately there's not a single usage of this in the whole SDK. Can you attach a test case/plug-in?
Comment 5 M.Wirth CLA 2007-12-11 03:59:33 EST
An example can be found at bug 42641.
Can this bug depend on bug 76953?


Comment 6 Dani Megert CLA 2007-12-11 04:03:59 EST
>Can this bug depend on bug 76953?
Needs to be investigated.
Comment 7 Dani Megert CLA 2007-12-13 05:43:58 EST
There's a major bug with MultiEditor here: the inner editor's createPartControl is called twice: once by EditorManager.openMultiEditor(...) and then later by org.eclipse.ui.part.MultiEditor.createInnerPartControl(...) which is doomed to fail.

No idea whether this got broken after 3.1 or whether this ever worked.
Comment 9 Paul Webster CLA 2008-07-31 09:05:21 EDT
(In reply to comment #7)
> There's a major bug with MultiEditor here: the inner editor's createPartControl
> is called twice: once by EditorManager.openMultiEditor(...) and then later by
> org.eclipse.ui.part.MultiEditor.createInnerPartControl(...) which is doomed to
> fail.

Much of the embedded functionality never worked quite right, but this particular problem was probably introduced with the fix for Bug 96129.

PW
Comment 10 Eclipse Webmaster CLA 2019-09-06 15:35:32 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.