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 35698 - Reorder buffers when switching them
Summary: Reorder buffers when switching them
Status: RESOLVED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 3.x
Hardware: All All
: P1 blocker (vote)
Assignee: _ tboudreau
URL:
Keywords:
Depends on: 29836
Blocks: 35735
  Show dependency tree
 
Reported: 2003-08-21 11:22 UTC by mvinar
Modified: 2008-12-22 20:39 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mvinar 2003-08-21 11:22:08 UTC
User problem:
-----------------------------------
Users usually have several files opened at a time
but work on just a couple of them (2-3)
simultanously. Switching opened files just by
"left" "right" is insufficient as it involves lots
of keypresses when the files of interest are too
far away on the tab sheet.

User need:
-----------------------------------
Provide a one-keypress way to switch between the
most recently used files.

Product requirement:
-----------------------------------
Reorder files in the list so that files switched
often are close together (ala window switching in
Visual Studio).
Comment 1 _ tboudreau 2003-08-23 22:38:57 UTC
There is an alphabetized pick-list that is part of the 
tab control in the new window system.  A nice solution
might be to include the most recently used files as a 
separated list (think of the font chooser in MS Word - an
MRU list at the top followed by an alphabetized list.

Also possibly of interest (though I haven't looked at it
yet) is David Strupl's "bookmarks module" which he just
mentioned on nbdiscuss.  Enables back/forward navigation
ala a browser, with TopComponents supplying some kind of
data about the state which should be stored and which the
bookmark should return them to.
Comment 2 _ tboudreau 2003-08-24 00:19:50 UTC
Difficulty: 1
Hack factor: 0-1

If documents will only be opened in one tabbed pane (or
we can assume this), this should be fairly straightforward -
the tab control can easily track this info - probably about
two hours of coding tops to get this right.

Issues:
 - Pick list will forget about documents that have been
   closed (if it is a requirement that they be remembered,
   this will become MUCH harder to implement - the tab
   control is a pure Swing control -knows nothing about
   documents - we'd have to handle cases like trying to
   reopen something that was deleted, etc.)



Comment 3 _ tboudreau 2004-10-01 02:21:41 UTC
Not needed nor necessarily a good idea.