Closed Bug 1365209 Opened 7 years ago Closed 7 years ago

Page jumps to the beginning after reload with open developer tools

Categories

(DevTools :: Inspector, defect, P2)

53 Branch
Unspecified
Windows
defect

Tracking

(firefox-esr45 unaffected, firefox-esr52 unaffected, firefox53 wontfix, firefox54 fix-optional, firefox55 wontfix, firefox56 wontfix, firefox57 unaffected, firefox58 unaffected)

RESOLVED WORKSFORME
Tracking Status
firefox-esr45 --- unaffected
firefox-esr52 --- unaffected
firefox53 --- wontfix
firefox54 --- fix-optional
firefox55 --- wontfix
firefox56 --- wontfix
firefox57 --- unaffected
firefox58 --- unaffected

People

(Reporter: bt3, Unassigned)

References

Details

(Keywords: regression)

User Agent: Mozilla/5.0 (Windows NT 6.1; rv:53.0) Gecko/20100101 Firefox/53.0 Build ID: 20170504105526 Steps to reproduce: The developer tools are open and I have scrolled the page down. Now I make a reload (e.g., F5). Actual results: The page jumps back to the beginning and I have to scroll back to the location I checked before. When the developer tools are closed the jump does not happen. Expected results: Scrolling down again and again is very annoying during development. Better if the page stands at this point even if I make a reload.
Summary: Developer Tools Reload → Page jumps to the beginning after reload with open developer tools
Cannot reproduce the problem in Firefox 53 on Fedora on this very page. Does this also happen with a fresh profile and add-ons disabled? Which OS etc?
Flags: needinfo?(bt3)
I can reproduce the problem on Win10 Nightly55 as well as Firefox53 if I opened Inspector. The problem does not occur on Firefox52.
Status: UNCONFIRMED → NEW
Component: Untriaged → Developer Tools
Ever confirmed: true
Keywords: regression
OS: Unspecified → Windows
Regression window: https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=057d31114af0fdf9488d651a07a1dcc6815d2b1b&tochange=76d437394bf331626b9be6b2dcad8a6fec61979a Regressed by: 4c0d4f924023 J. Ryan Stinnett — Bug 1341756 - Clear any highlighters on window-ready. r=zer0
Blocks: 1341756
@:jryans Your patch regress this. Could you look this?
Flags: needinfo?(jryans)
Component: Developer Tools → Developer Tools: Inspector
Not sure I follow why this would make the page jump... :zer0, what do you think about this?
Flags: needinfo?(jryans) → needinfo?(zer0)
This also happens with deactivated add-ons (Win7, FF 53.0.2, 32Bit).
Flags: needinfo?(bt3)
DevTools bug triage (filter on CLIMBING SHOES).
Priority: -- → P2
(In reply to J. Ryan Stinnett [:jryans] (use ni?) from comment #5) > Not sure I follow why this would make the page jump... :zer0, what do you > think about this? My educated guess is that the repositioning of the page will happens only if the document is unchanged, (e.g. bfcache), and since we're changing the the content of the document during the loading that invalidate the action. I do not have any fix or workaround atm for that, I'm still investigating on platform side.
Flags: needinfo?(zer0)
Hi there! FYI, this is also happening with Firefox/54.0b14 on macOS (10.12.5), when Dev Tools are opened. (And so annoying with this blackbox-inspect bug that I switched back to an unnafected version for development).
Precision on this: I juste discovered that this buggy behaviour disappear when touch events are enabled. Hope it can help :) (because it's driving me crazy while front-end dev developing with live reload!)
This has been fixed for me in FF 57 (latest beta, but probably earlier).
According to investigation in the duplicate bug 1407802, this is fixed in 57 and later. Please file a new bug if you see the issue come back!
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WORKSFORME
Ow sorry I did not thought this could be resolved but not reported here. Thanks!
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.