Page MenuHomePhabricator

MMV dialog hides notifications (mw.notify)
Closed, ResolvedPublic

Description

Notifications should appear in the top layer, above even modal dialogs, like they do with OOUI dialogs. However they appear below MMV dialogs. This was observed in T312770 where the "Copied/Not copied" notification is hidden.

  1. Open an image with MMV
  2. Trigger a notification by opening the share/reuse module and clicking the copy button
  3. Expected: You see a notification
  1. Observed: You don't see a notification

Event Timeline

T312783 is partially responsible as it sets the z-index of the notifications to lower than that of MMV, but also MMV hides everything that isn't it with the body.mw-mmv-lightbox-open > * selector.

Change 812885 had a related patch set uploaded (by Esanders; author: Esanders):

[mediawiki/extensions/MultimediaViewer@master] MMV lightbox: Allow notifications to appear on top of the lightbox

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

Change 812890 had a related patch set uploaded (by Esanders; author: Esanders):

[mediawiki/skins/Vector@master] Restore z-index of mw-notification-area

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

Change 812885 merged by jenkins-bot:

[mediawiki/extensions/MultimediaViewer@master] MMV lightbox: Allow notifications to appear on top of the lightbox

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

Aklapper triaged this task as Low priority.Jul 14 2022, 9:51 AM

Change 812890 merged by jenkins-bot:

[mediawiki/skins/Vector@master] Restore z-index of mw-notification-area

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