Page MenuHomePhabricator

Image file looks different after switching to OWE and back
Closed, ResolvedPublic8 Estimated Story Points

Description

Steps to reproduce:

  1. Activate VE in Beta on Commons, but leave NWE deactivated
  2. Open some image file
  3. Hit Edit tab
  4. Switch to source editor
  5. Switch to VE back

Expected behavior:
The page in VE is loaded exactly the same after step 3 and 5.

Current behavior:
After step 3 page is loaded in VE with additional uneditable parts (image file preview, history, usage...). After step 5 only the editable part is loaded.

Notes:

  • Maybe this is intentional, but it looks broken when the edit page content changes without any reason.
  • For both VE and NWE enabled in Beta this issue disappears, the uneditable parts are in step 5 loaded and previewed correctly.

Event Timeline

Jdforrester-WMF set the point value for this task to 8.
Jdforrester-WMF moved this task from To Triage to TR1: Releases on the VisualEditor board.
Jdforrester-WMF subscribed.

Sounds like we're not running the same "read page plus uneditables" stuff on edit switch as we do on edit load; may be tricky to fix.

matmarex claimed this task.
matmarex subscribed.

I think I accidentally resolved this a few years back with rEVED7ade9938d090: Remove special handling for category and file pages.