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 134945 - Editor remembers split when dragging file into it
Summary: Editor remembers split when dragging file into it
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Stanislav Aubrecht
URL:
Keywords:
: 37043 (view as bug list)
Depends on:
Blocks: 154248
  Show dependency tree
 
Reported: 2008-05-13 12:12 UTC by eskild
Modified: 2008-12-22 10:11 UTC (History)
0 users

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 eskild 2008-05-13 12:12:56 UTC
Steps:

1. Open two files in Editor
2. Drag one file to the right of the other; the editor view is now "File1 File2"
3. Close File1. Editor space is now fully occupied by File2
4. Drag a third file from the Files view to the Editor, and drop it
5. The layout becomes "File3 File2"

This seems odd to me -- why is the position of File2 remembered? Why do we default to splitting the view?
Comment 1 Jana Maleckova 2008-05-16 14:30:32 UTC
sorry I am not able to reproduce it. Every time, when new file is opened, is placed the last tab in editor. 
please provide more info, build number, jdk version
Is it reproducible in IDE which is running on clear userdir ?
Comment 2 eskild 2008-05-20 13:07:03 UTC
Fully reproducible after IDE restart with clean userdir.

Note that if you close *all* editor files, then the issue doesn't appear -- all files open in the same editor pane. It's
only if you follow the steps I outlined that you see it.

Product Version: NetBeans IDE 6.1 (Build 200804211638)
Java: 1.6.0_06; Java HotSpot(TM) Client VM 10.0-b22
System: Linux version 2.6.13-15.18-smp running on i386; UTF-8; en_US (nb) -- SuSE Linux 10.0.
Comment 3 eskild 2008-05-20 17:43:33 UTC
I can reproduce this on Mac OS X 10.5.2 also.

Product Version: NetBeans IDE 6.1 (Build 200804211638)
Java: 1.5.0_13; Java HotSpot(TM) Client VM 1.5.0_13-119
System: Mac OS X version 10.5.2 running on i386; MacRoman; en_US (nb)
Comment 4 Peter Pis 2008-06-02 10:40:11 UTC
Reassigning to "editor" for evaluation.
Comment 5 Stanislav Aubrecht 2008-06-23 11:53:10 UTC
fixed

74b9d08f75a4
Comment 6 Stanislav Aubrecht 2008-07-22 16:51:50 UTC
*** Issue 37043 has been marked as a duplicate of this issue. ***