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.
If someone clicks on a Clone action on the editor tab, he mostly wants to open it in a new separate editor window. To have two opened editors and to see two files at once. I really don't know why should someone want to open a clone in the same Editor window. It's non-sense. So please, fix that behavior. Thanks :) Or you can introduce new action called e.g. Clone in new window, or such ;) But do something with that, it's awful UX :) Thanks in advance.
(In reply to comment #0) > If someone clicks on a Clone action on the editor tab, he mostly wants to open > it in a new separate editor window. To have two opened editors and to see two > files at once. That makes sense in dual-screen setup. On a single monitor one usually wants to have the cloned editor docked next to the original one. But there's no way to deduce where to dock the clone - below/on top/left/right to the original...
> But there's no way to deduce where to dock the clone I would say to the right of the original, given the typical width of screens these days.
There will be new feature 'split editor horizontally/vertically' in NetBeans 7.4 which I believe will work much better than the proposed changes in editor cloning.
(In reply to comment #3) > There will be new feature 'split editor horizontally/vertically' in NetBeans > 7.4 which I believe will work much better than the proposed changes in editor > cloning. This addresses the docking issue from Comment #1, having editors side-by side. Since now the side-by-side is solved by split hor/vert, why should clone open the new editor in the same Mode ? BTW I, too, usually use Clone & Undock (re-dock) to have the clone completely independent, yet large enough. Even on single-screen displays, it is far more reliable/faster to Alt-Tab between the individual windows than using NetBeans CTRL-Tab selector. Moving to the appropriate component, as the action is implemented/maintained by core winsys.
It's possible to clone window by dragging it to a new location (even secondary screen) while holding down CTRL key. I don't think we need a new action for that or change the existing one.