Page MenuHomePhabricator

In Firefox 70, view goes up to the top of the page when user exits Media Viewer
Closed, DuplicatePublicBUG REPORT

Description

Steps to Reproduce:

  • Load any wiki page containing an image that is not at the top of the page, like https://fr.wikipedia.org/wiki/Charles_de_Lalaisse
  • Click on this image to load Media Viewer
  • Wait for full image loading
  • Click on the top right cross to close Media Viewer interface

Actual Results:

  • Browser view goes up to the top of the page

Expected Results:

  • Browser view position does not change, and remains at the same place

Tested with and without custom scripts (?safemode=1), results is the same.
Can't find errors in console.

Event Timeline

Framawiki triaged this task as High priority.EditedOct 25 2019, 8:56 PM

Boldly setting High priority: it is annoying for the user to come back at the top of the page each time he opens an image, and it impact user reading experience.

I"m also on FF 70, but I suspect it only impact this version, can someone test it with another version/browser?

I"m also on FF 70, but I suspect it only impact this version, can someone test it with another version/browser?

Cannot reproduce on opera, nor chrome (based on a quick test).

Actually, the viewport goes always up to the top, then it is set back to where it was before the opening of MediaViewer. FireFox 70 still works like that just fine on MediaWiki 1.31 so it doesn't really seem a browser issue. Also, possibly it is useful to mention that on the current MediaWiki release both Firefox and Chrome return to the previous page when closing MediaViewer in fullscreen mode.

Aklapper renamed this task from Browser view goes up to the top of the page when user exits Media Viewer to In Firefox 70, view goes up to the top of the page when user exits Media Viewer.Oct 31 2019, 10:06 AM
Aklapper added subscribers: Thryduulf, KTC.

From the merged task, this occurs in Firefox 70 on Windows 7, Windows 10 and Xubuntu Linux 18.04. It doesn't occur in Firefox 69 on Windows nor in Chromium or Konqueror on Linux.

Unsurprisingly, this is bug is still present in Firefox 70.0.1

Aklapper changed the task status from Open to Stalled.Nov 8 2019, 9:59 AM
Aklapper added a project: Upstream.

Thank you!

Aklapper raised the priority of this task from High to Needs Triage.Nov 8 2019, 9:59 AM
Aklapper moved this task from Backlog to Reported Upstream on the Upstream board.
Aklapper changed the task status from Stalled to Open.Nov 13 2019, 5:14 AM

Quoting https://bugzilla.mozilla.org/show_bug.cgi?id=1594345#c7 :

This is a tech evangelism bug. A quick research finds: