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 223757 - "Clone" tab action should be more straightforward
Summary: "Clone" tab action should be more straightforward
Status: RESOLVED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: Stanislav Aubrecht
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-13 10:22 UTC by Ondrej Brejla
Modified: 2013-06-26 12:53 UTC (History)
3 users (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 Ondrej Brejla 2012-12-13 10:22:33 UTC
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.
Comment 1 Stanislav Aubrecht 2012-12-20 14:46:49 UTC
(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...
Comment 2 Petr Jiricka 2012-12-20 16:06:01 UTC
> 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.
Comment 3 Stanislav Aubrecht 2013-04-09 09:49:31 UTC
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.
Comment 4 Svata Dedic 2013-06-26 12:06:17 UTC
(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.
Comment 5 Stanislav Aubrecht 2013-06-26 12:53:37 UTC
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.