Bug 73224 - [navigation] Navigation history could track location changes in same editor
Summary: [navigation] Navigation history could track location changes in same editor
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.0   Edit
Hardware: All All
: P3 enhancement with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Platform-Text-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
: 241811 346669 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-09-03 04:58 EDT by Nikolay Metchev CLA
Modified: 2019-11-14 02:21 EST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nikolay Metchev CLA 2004-09-03 04:58:12 EDT
Eclipse 3.1 M1
When I press "Ctrl+End" in the java editor and then I hit the "Back" button on 
my mouse which is equivalent to "Alt+Left" it doesn't go back to the place 
where I hit "Ctrl+End" from.
Comment 1 Dani Megert CLA 2004-09-07 10:12:36 EDT
navigation history seems broken
Comment 2 Dani Megert CLA 2008-06-30 10:23:07 EDT
Works for me using R3.4.
Comment 3 Dani Megert CLA 2008-06-30 10:45:30 EDT

*** This bug has been marked as a duplicate of bug 238202 ***
Comment 4 Nikolay Metchev CLA 2008-06-30 12:55:54 EDT
It still doesn't work for me with release R3.4. And I don't think the bug you have duplicated with is correct.
Comment 5 Dani Megert CLA 2008-07-01 03:30:49 EDT
>It still doesn't work for me with release R3.4.
No one claimed that ;-)

>And I don't think the bug you have duplicated with is correct.
It is, trust me.
Comment 6 Nikolay Metchev CLA 2008-07-01 04:02:01 EDT
>>It still doesn't work for me with release R3.4.
>No one claimed that ;-)
In comment 2 you claimed it works for you! :-) I assumed that this means it should work for me as well. I guess I was wrong.


>>And I don't think the bug you have duplicated with is correct.
>It is, trust me.
It might be from a technical point of view. However I am pretty certain from the users point of view it isn't.

In any event... anything you guys do to fix the problem will be greatly appriciated.
Comment 7 Dani Megert CLA 2008-07-01 04:28:15 EDT
Mmh, Nikolay you are 100% right. I misread the bug. I tested the following scenario:

1. Ctrl+End
2. switch to another editor
3. go back

which works but your scenario:
1. Ctrl+End
2. back
doesn't.

The reason is that we don't record any caret moves.
Comment 8 Nikolay Metchev CLA 2008-07-01 05:45:10 EDT
Thank you Daniel,

Looking forward to the fix.
Comment 9 Markus Keller CLA 2008-07-23 10:40:55 EDT
It's hard to find the right amount of caret moves to put into the history. You certainly don't want every caret move to end up in the history, otherwise the history quickly gets swamped with many little moves as soon as you e.g. start editing a method and move around with Ctrl+Left/Right or just the arrow keys.

I guess we would need some new heuristics to find "interesting" locations triggered by caret moves, e.g.:
- a location is interesting if the caret stayed there for a few seconds
- a location is not interesting if it is very close to the previous location (e.g. within a few lines, inside the same block, when no scrolling was necessary to reveal the new location, ...)
Comment 10 Markus Keller CLA 2008-07-23 10:42:28 EDT
*** Bug 241811 has been marked as a duplicate of this bug. ***
Comment 11 Dani Megert CLA 2011-06-06 09:37:42 EDT
*** Bug 346669 has been marked as a duplicate of this bug. ***
Comment 12 Lars Vogel CLA 2019-11-14 02:21:57 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

If the bug is still relevant, please remove the "stalebug" whiteboard tag.