Page MenuHomePhabricator

Refreshing the page in Chrome no longer jumps to the correct position
Closed, WontfixPublic

Description

I think this has to do with the new scrollbar, but basically before in Chrome at least, if you refreshed the page it would jump back to the old position after loading (this was useful when monitoring Harbormaster builds). Now it always jumps to the top of the page after a refresh.

Event Timeline

hach-que raised the priority of this task from to Needs Triage.
hach-que updated the task description. (Show Details)
hach-que added a subscriber: hach-que.
chad moved this task from Backlog to Scrollbar on the PHUI board.
epriestley claimed this task.
epriestley added a subscriber: epriestley.

I don't have a reasonable way to fix this and the use case doesn't seem very compelling (i.e., we should make Harbormaster builds easier to monitor without reloading the page).

I have a similar issue which I believe is worth fixing. If I am reading through a list of search results and then click on one of the results, clicking the "Back" button returns to the top of the search results (previously, I believe the position on the page would be retained).

I agree with @joshuaspence. Another edge case that falls under this umbrella is using the back button, which used to scroll down to where you were when you'd followed some link.

Just suggesting an idea for the use case with differential revisions from T7792. The files listing sidebar (enabled via config) could maybe be organized like table of contents of the files, with listing of the comments under each file.

- src/com/company/module/MaxwellsSilverHammer.java
  - [98] These are not the right lyrics and the unit tests specifically...
    - Right lyrics are not important, historical accuracy...
    - +1
    - Please don't comment with a +1
  - [188] This getter should not be called on the event thread
    - +1
- test/com/company/module/MaxwellsSilverHammer.java
  - [6] This class is empty