Last modified: 2014-09-05 18:43:37 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 T57457, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 55457 - mediawiki.notification: div#mw-notification-area remains visible and steals events after dismissing notification
mediawiki.notification: div#mw-notification-area remains visible and steals e...
Status: RESOLVED DUPLICATE of bug 52659
Product: MediaWiki
Classification: Unclassified
JavaScript (Other open bugs)
unspecified
All All
: High normal (vote)
: ---
Assigned To: Krinkle
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-08 08:26 UTC by Roan Kattouw
Modified: 2014-09-05 18:43 UTC (History)
5 users (show)

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


Attachments

Description Roan Kattouw 2013-10-08 08:26:40 UTC
1. Trigger a notification
2. Click on the notification to dismiss it
3. The notification area (<div id="mw-notification-area">) is now empty, but still obscures a narrow strip in the top right corner:

> $('#mw-notification-area').outerHeight()
12
> $('#mw-notification-area').outerWidth()
269
> $('#mw-notification-area').position()
Object {top: 89.59375, left: 1251.203125}
> $('#mw-notification-area').css('z-index')
"10000"

This is a problem because the div steals events and mouse interaction from the UI elements below it. For instance, in VisualEditor:
1. Open a page in VE
2. Type '[['. The wikitext warning appears
3. Click the warning to dismiss it
4. Reveal #mw-notification-area in the inspector and observe how it's on top of part of the save button
5. Very carefully move the mouse over the save button, and you'll notice a small (12px tall) area where mouse pointer is a normal pointer instead of a hand. Clicking in this area does not press the save button.
Comment 1 Bartosz Dziewoński 2013-10-08 17:40:44 UTC
All you VE guys really should start looking through bugs that are already reported instead of adding more copies.

*** This bug has been marked as a duplicate of bug 52659 ***
Comment 2 Gerrit Notification Bot 2014-09-05 18:42:42 UTC
Change 158659 had a related patch set uploaded by Catrope:
Followup 6c5b246: also hide #mw-notification-area upon creation

https://gerrit.wikimedia.org/r/158659
Comment 3 Roan Kattouw 2014-09-05 18:43:37 UTC
Wrong bug, sorry

*** This bug has been marked as a duplicate of bug 52659 ***

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


Navigation
Links