History sidebar/Library scrolls to top when selected history entry is revisited
Categories
(Toolkit :: Places, defect, P5)
Tracking
()
People
(Reporter: alice0775, Unassigned)
References
Details
(Keywords: blocked-ux, regression)
![]() |
Reporter | |
Comment 1•12 years ago
|
||
![]() |
Reporter | |
Updated•12 years ago
|
Comment 2•12 years ago
|
||
Comment 3•12 years ago
|
||
![]() |
Reporter | |
Updated•12 years ago
|
![]() |
Reporter | |
Updated•12 years ago
|
Comment 7•11 years ago
|
||
Comment hidden (obsolete) |
Comment 9•11 years ago
|
||
Comment 10•11 years ago
|
||
Comment 11•11 years ago
|
||
Comment hidden (obsolete) |
Comment 13•11 years ago
|
||
Comment 14•11 years ago
|
||
Comment hidden (obsolete) |
Comment 16•11 years ago
|
||
Comment 18•11 years ago
|
||
Updated•11 years ago
|
Comment 19•11 years ago
|
||
Updated•8 years ago
|
Comment 24•4 years ago
|
||
Suggestion: while library window/history sidebar is open, prevent browsing history from updating and displaying new entries. If a new tab i opened, display a notification about this behavior in library window/history panel. Once they are closed, update browsing history.
I understand this is not a high priority issue but it really makes backtracking difficult.
Comment 25•4 years ago
|
||
The core of the problem is bug 604295 from 11 years ago -- from a UX perspective, the "history" store only remembers the most recent visit, and re-visiting a page is a destructive operation. I'm not sure why this is. According to Marco Bonardo in bug 1479441, the backend does actually record the full history.
If it weren't for that problem, "keep selected node visible" would be entirely correct, because opening a history item would just create a new un-selected node at the top of the list.
Updated•3 years ago
|
Comment 27•3 years ago
|
||
(In reply to Marco Bonardo [:mak] from comment #11)
Moreover the behavior here is still undefined, when you click on a history
link, in a unique-uri list, that link gets moved up into the list (the view
doesn't allow duplicates and you are viewing by-last-visited), after it
moves it gets reselected and correctly the code scrolls to it, otherwise you
would have a selection out of the view.
I feel like the bigger question is, why is this a unique-URI list? It's tough for me to imagine a case where someone's particular desire is, "show me the last time a given URL was visited, out of all the times it has ever been visited" rather than, "show me a linear history of browser navigation." Surely the latter is the far more common desire, though I'm open to being surprised if there's data to the contrary. Wouldn't the best fix be to replace this with a simpler view that just lists each entry in-order with date of visit?
Comment 28•3 years ago
|
||
At a cursory glance, it looks like the structure of moz_places in places.sqlite (the Firefox history DB) mirrors this list view almost exactly. While the linear history is also stored, it's a separate table that does not store URIs, but instead references moz_places. I am assuming this DB layout choice was an optimization, so that answering the question, "when was this URL last accessed" didn't require walking tens of thousands of history entries.
I had assumed the unique URI list was taking linear DB data and filtering it into a view with a unique column, but it is not. Since it appears this is the natural layout of the DB table, fixing this bug would require writing a new display component that joins moz_historyvisits to moz_places; hence, non-trivial.
Comment 29•3 years ago
|
||
Beyond "non-trivial," it may not be possible to implement this to a degree of quality expected by the project without significant rework.
For instance, the "Title" column in the history manager corresponds to a column in moz_places, but there is no matching column in moz_historyvisits. In other words, only one title is ever remembered for a given URI, so the current DB structure is incompatible with the format of this view.
Producing a "full detail" history would require either: an adjustment to moz_historyvisits to add that column, with far-reaching code ramifications, as well as packing an order of magnitude more data into that table; or a completely different UI for "full history" mode that removes the "title" column - which would be pretty confusing, since you just asked for full history, yet received less data.
This may not be the only thing that's not being stored 1:1 for each history entry. So as frustrating as this is, it's a sticky problem.
Updated•2 years ago
|
Comment 30•2 years ago
|
||
The severity field for this bug is relatively low, S3. However, the bug has 8 duplicates.
:mak, could you consider increasing the bug severity?
For more information, please visit auto_nag documentation.
Comment 31•2 years ago
|
||
The last needinfo from me was triggered in error by recent activity on the bug. I'm clearing the needinfo since this is a very old bug and I don't know if it's still relevant.
Comment 33•2 years ago
|
||
https://www.youtube.com/watch?v=qmAYOcjD5XI
Here's a video of this "bug" or problem that needs enhanced.
Comment 34•2 years ago
|
||
Why can't sorting results based on last visit date be ran only once when the history sidebar is initially opened? That way the behavior of scrolling back to the top when a result is revisited also becomes disabled in the process. I am not a coder, but that would be a more simplier approach than reworking the whole software program.
Comment 35•2 years ago
|
||
So - "If it weren't for that problem, "keep selected node visible" ..." - Is it possible to code ff history behavior in this way : on click down temporarily save the selected link somewhere (cash); then shift selection one node up the history list and only after that open the cashed link in background ?
Comment hidden (advocacy) |
Comment hidden (admin-reviewed, off-topic) |
Comment hidden (off-topic) |
Comment hidden (off-topic) |
Comment 41•2 years ago
|
||
rballsyck, this is a polite reminder that this is our professional working environment as much as it is our issue tracker, and I'm asking you to refrain from making further comments that don't move this bug towards a resolution.
Updated•2 years ago
|
Comment 43•7 months ago
|
||
We should retain the position to mitigate the jarring jump as part of upcoming UX enhancements.
Updated•7 months ago
|
Updated•5 months ago
|
Description
•