Page MenuHomePhabricator

Page scan is not displayed when 2010 toolbar is disabled
Open, HighPublicBUG REPORT

Description

List of steps to reproduce (step by step, including full links if applicable):

  • disable the "Enable the editing toolbar" in Preferences -> Editing
  • edit any page in the Page namespace in Wikisource using standard wikicode editor

What happens?:

  • scan appears for a while in the right-half of the screen and then disappears leaving blue square in its expected location
  • no error reported in console

What should have happened instead?:

  • The scan should remain in the right part of the screen (assuming the default, vertical mode is used)

Software version (if not a Wikimedia wiki), browser information, screenshots, other information, etc:
The problem did not exist before 2021-12-08
Tested on Firefox, but probably browser does not matter

obraz.png (975×1 px, 197 KB)

Event Timeline

Inductiveload triaged this task as High priority.EditedDec 9 2021, 6:54 AM
Inductiveload subscribed.

Something is wrong with it in general: with the toolbar, h-mode is broken too. A quick bisect finds it was introduced with 9eab4de208966d3f88b4aa956a467231ea408bdf.

Quick user-side fix for the non-toolbar vertical layout appears to be some CSS:

#prp-page-image-openseadragon-vertical {
	height: 100%;
}

Change 745460 had a related patch set uploaded (by Samwilson; author: Samwilson):

[mediawiki/extensions/ProofreadPage@master] Always setup preferences, even without WikiEditor

https://gerrit.wikimedia.org/r/745460

Quick user-side fix for the non-toolbar vertical layout appears to be some CSS:

#prp-page-image-openseadragon-vertical {
	height: 100%;
}

It works. Thanks!

@Aklapper Are we able to find someone to review this? This is a break stopping work that has a solution, and having to get people to do css fixes is less than ideal. Thanks.

Change 745460 merged by jenkins-bot:

[mediawiki/extensions/ProofreadPage@master] Move horizontal/vertical layout to CSS only

https://gerrit.wikimedia.org/r/745460

Change 748095 had a related patch set uploaded (by Inductiveload; author: Samwilson):

[mediawiki/extensions/ProofreadPage@wmf/1.38.0-wmf.13] Move horizontal/vertical layout to CSS only

https://gerrit.wikimedia.org/r/748095

Change 748095 abandoned by Inductiveload:

[mediawiki/extensions/ProofreadPage@wmf/1.38.0-wmf.13] Move horizontal/vertical layout to CSS only

Reason:

other change implemented this

https://gerrit.wikimedia.org/r/748095