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 9985 - jump list loses information accross frames
Summary: jump list loses information accross frames
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-03-06 03:33 UTC by Henry Story
Modified: 2015-10-15 13:26 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 Henry Story 2001-03-06 03:33:00 UTC
1. Open multiple buffers and dock some buffers into a new frame.
2. If   moving through the jump list switches to another frame, the jump list
history ends. You can no longer jump back or forward through the list. 

It would be nice to be able to jump accross frames.
Comment 1 Jan Chalupa 2001-03-12 10:37:53 UTC
Version: 'Dev' -> 3.2
Comment 2 Henry Story 2001-03-23 01:29:22 UTC
I think I can describe the problem better now (if it still is the same problem: ie. the code 
has not changed in the meantime)
The problem is  due to the window manager behavior, especially when it is set to "click 
to focus". On kde2.1 when you press ctrl-k (in the situation described in this bug 
report, and your pointer moves the the next frame) the focus will not change to the new 
frame. The pointer will move to  the new window, but the focus will stay on the old one. 
as a result typing ctrl-l has not effect.

a fix for "focus follows mouse" environments: changing the window manager to focus 
follows mouse, and placing the mouse in an overlapping region of the two frames will 
ensure that  when the control history changes the frame, that the new frame pops to 
the top and that the focus is  then the new frame. Then pressing ctrl-l will get you back 
to the previous frame.

a  fix for "click to focus" environements: after the focus changes the frame, one should 
use the mouse or Alt-tab to
set the focus to the new frame. Alt-l will then do switch back to the old frame. (and then 
of course another Alt-Tab will put the focus in the new frame)

Is it possible from Java to not only place the new frame to the foreground but also to 
set the focus on it?

I am now using the latest build with the blackdown jdk1.3

Note: come to think of it, it may be nice to be able to choose whether there is one 
command history that can jump accross frames, or whether each frame has its own 
command history. Of course one would have to come up with a good way to allow new 
command histories to be created when a buffer is moved to a new frame. This may be a 
little tricky.
Comment 3 Henry Story 2001-03-23 17:24:55 UTC
Come to think of it the problem I am now describing is probably a new/different problem.

Comment 4 Henry Story 2001-03-23 17:25:59 UTC
I forgot to mention that I was using the development build 151 at the time
Comment 5 Miloslav Metelka 2001-04-04 10:49:02 UTC
The problem with focus is generic please see the evaluation of 
http://developer.java.sun.com/developer/bugParade/bugs/4310187.html

IMO several command histories would be rather tricky. I do not want to advocate 
the current behavior but I think that the people would still use just one 
command history.
 To mark the places in one source there is currently Ctrl+F2 / F2 shortcuts for 
bookmarks.
 Henry, if you think that this feature would be useful we can turn it to 
enhnacement and discuss the further details on nbdev and possibly other mailing 
lists. Otherwise we will close this bug as WONTFIX. What do you prefer?
Comment 6 Miloslav Metelka 2001-05-04 09:34:57 UTC
I'm turning this into enhancement request.
Summary: We want to have more command histories. It would be configurable -
which actions are recorded in the particular history.
Comment 7 Jan Chalupa 2001-05-05 21:57:23 UTC
Target milestone -> 3.3
Comment 8 Jan Chalupa 2001-11-27 12:27:21 UTC
Target milestone -> 3.3.1.
Comment 9 Marek Grummich 2002-07-22 09:52:42 UTC
Set target milestone to TBD
Comment 10 Marek Grummich 2002-07-22 09:57:27 UTC
Set target milestone to TBD
Comment 11 Quality Engineering 2013-04-18 02:21:08 UTC
Integrated into 'main-golden', will be available in build *201304172301* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/024bf55ed8ae
User: Jiri Rechtacek <jrechtacek@netbeans.org>
Log: added @RF, NB-Core-Build #9101, #9777, #9985, #9990, #10007 failed, other passed
Comment 12 Miloslav Metelka 2015-10-15 13:26:15 UTC
IMHO already resolved by maintaining Alt+Left/Right history.