Page MenuHomePhabricator

Firefox prefers-reduced-motion: After VisualEditor edit, sometimes you are not redirected to the latest revision of the page
Open, Needs TriagePublicBUG REPORT

Description

What is the problem?

I have been testing temporary accounts on https://test.wikipedia.org. When publishing with VisualEditor, it sometimes redirects me to the article page for the previous edit (i.e. my edit is not shown). Moreover, it does not reflect the fact that a temporary user has been created.

If I switched from source editor to VisualEditor and publish, it will instead redirect me back to the source editor.

Steps to reproduce problem
  1. https://test.wikipedia.org/wiki/Polygala_paniculata
  2. Check you are logged out
  3. Publish an edit with the VisualEditor

Expected behaviour: You are returned to reading the article. The edit you published in step 3 is shown. You see a banner saying "You are using a temporary account".
Observed behaviour: You are returned to reading the article but your edit is not shown. You appear to still be logged out. If you switch to mobile at this point, you might find you are logged out of the newly created temporary account.

Environment

Wiki(s): https://test.wikipedia.org MediaWiki 1.43.0-wmf.15 (b30ac00) 22:23, 22 July 2024. VisualEditor – (81580e9) 07:26, 22 July 2024.

Screenshots

Event Timeline

I can't reproduce this. I did observe that the "Your edit was published" toast message displayed for ~2 seconds before the page refresh.

I can't reproduce this. I did observe that the "Your edit was published" toast message displayed for ~2 seconds before the page refresh.

I think it might only happen on browsers with prefers-reduced-motion, at least on Firefox.

I can't reproduce this. I did observe that the "Your edit was published" toast message displayed for ~2 seconds before the page refresh.

I think it might only happen on browsers with prefers-reduced-motion, at least on Firefox.

@dom_walden should we close this task, or can you reproduce the issue in the description?

I can't reproduce this. I did observe that the "Your edit was published" toast message displayed for ~2 seconds before the page refresh.

I think it might only happen on browsers with prefers-reduced-motion, at least on Firefox.

@dom_walden should we close this task, or can you reproduce the issue in the description?

I can reproduce.

I can't reproduce this. I did observe that the "Your edit was published" toast message displayed for ~2 seconds before the page refresh.

I think it might only happen on browsers with prefers-reduced-motion, at least on Firefox.

@dom_walden should we close this task, or can you reproduce the issue in the description?

I can reproduce.

To clarify, only with prefers-reduced-motion in Firefox, or without prefers-reduced-motion and in other browsers?

To clarify, only with prefers-reduced-motion in Firefox, or without prefers-reduced-motion and in other browsers?

I can reproduce with prefers-reduced-motion in Firefox (versions 115 and 130).

I tried to reproduce on Chrome with reduced motion, and I could not. However, I am unsure if I set reduced motion on Chrome correctly. I went devtools > open three dot menu > run command > emulate CSS prefers-reduced-motion. But, I did not notice any differences after doing this.

I also haven't tested Safari.

To clarify, only with prefers-reduced-motion in Firefox, or without prefers-reduced-motion and in other browsers?

I can reproduce with prefers-reduced-motion in Firefox (versions 115 and 130).

I tried to reproduce on Chrome with reduced motion, and I could not. However, I am unsure if I set reduced motion on Chrome correctly. I went devtools > open three dot menu > run command > emulate CSS prefers-reduced-motion. But, I did not notice any differences after doing this.

I also haven't tested Safari.

@dom_walden does this occur on Chrome without prefers-reduced-motion?

If it is just prefers-reduced-motion + Firefox, then we don't need to work on this urgently for pilot wikis. If it's Chrome without prefers-reduced-motion, then that's a much more important to address issue.

@dom_walden does this occur on Chrome without prefers-reduced-motion?

No.

kostajh renamed this task from After VisualEditor edit, sometimes you are not redirected to the latest revision of the page to Firefox prefers-reduced-motion: After VisualEditor edit, sometimes you are not redirected to the latest revision of the page.Sep 13 2024, 4:13 PM
kostajh added a project: Accessibility.
ppelberg moved this task from Untriaged to Upcoming on the Editing-team board.
ppelberg removed a project: Editing-team.
ppelberg subscribed.

Per T370989#10144289 and discussion in Slack, removing this from the Editing Team's planning board for now.