Last modified: 2014-11-20 16:59:48 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T51514, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 49514 - VisualEditor: z-index for .ve-ui-surface-overlay is too high (and we shouldn't use them anyway)
VisualEditor: z-index for .ve-ui-surface-overlay is too high (and we shouldn'...
Status: RESOLVED FIXED
Product: VisualEditor
Classification: Unclassified
Technical Debt (Other open bugs)
unspecified
All All
: Normal enhancement
: VE-deploy-2013-06-27
Assigned To: Krinkle
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-06-13 07:06 UTC by Ryan Kaldari
Modified: 2014-11-20 16:59 UTC (History)
6 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
Blue overlay (69.85 KB, image/png)
2013-06-15 11:14 UTC, Raimond Spekking
Details

Description Ryan Kaldari 2013-06-13 07:06:20 UTC
Right now the z-index for .ve-ui-surface-overlay is set to 1000, which is way higher than pretty much anything else in MediaWiki. This makes it float above lots of things it shouldn't float above, like the header drop-down menu in the visual editor, the Echo notifications dropdown, etc. The z-index for the Echo notifications dropdown is 100 (so that it is higher than the close buttons in SiteNotices which are 99).
Comment 1 Ryan Kaldari 2013-06-13 17:45:48 UTC
The VisualEditor's save dialog has a z-index of 3, so perhaps you'll want to use something like 2 for ve-ui-surface-overlay rather than 1000.
Comment 2 Raimond Spekking 2013-06-15 11:14:45 UTC
Created attachment 12545 [details]
Blue overlay

Is this screenshot related to this bug or another effect/issue?
Comment 3 James Forrester 2013-06-16 22:44:35 UTC
(In reply to comment #0)
> Right now the z-index for .ve-ui-surface-overlay is set to 1000, which is way
> higher than pretty much anything else in MediaWiki. This makes it float above
> lots of things it shouldn't float above, like the header drop-down menu in
> the
> visual editor, the Echo notifications dropdown, etc. The z-index for the Echo
> notifications dropdown is 100 (so that it is higher than the close buttons in
> SiteNotices which are 99).

Yes, this was deliberate; you may recall the arms race with Echo where you kept breaking VE with your z-index changes for three weeks, hence this setting whilst we waited for Echo to stop changing. :-)

(In reply to comment #2)
> Created attachment 12545 [details]
> Blue overlay
> 
> Is this screenshot related to this bug or another effect/issue?

That's specifically bug 49275, but yes, that is related to this. The "proper" solution to this is putting the entire save dialog in its own iframe (like all the dialogs we've created since the new dialog system was built), but it's too close to deployment to do major changes like that.
Comment 4 Krinkle 2013-06-20 00:34:49 UTC
The z-index isn't too high, the reason the overlays are on top of the save dialog is because they are in a further relative subtree of the DOM. Whether it is z-index -999, 0 or 100000 won't matter.

The actual issue described here is bug 49275.

The overlay using z-index is a separate issue that is otherwise harmless. I'd recommend we:
* Mark as invalid (z-index isn't a problem).
* or; Turn this into a technical debt "clean up" reminder to get rid of the z-index (they're no longer needed afaik, because we moved overlays to be a proper relative subtree overlay instead of siblings with higher z-index).
* or; Mark as duplicate of bug 49275.
Comment 5 James Forrester 2013-06-20 00:41:18 UTC
Marking as tech-debt and pulling from beta per discussion.
Comment 6 Alex Monk 2014-11-20 16:12:21 UTC
Wasn't this fixed by Gerrit change #70572?
Comment 7 James Forrester 2014-11-20 16:59:48 UTC
(In reply to Alex Monk from comment #6)
> Wasn't this fixed by Gerrit change #70572?

Yes.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links