Last modified: 2014-02-28 23:51:55 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 T58617, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 56617 - VisualEditor: Hover effect inconsistent for Help icon
VisualEditor: Hover effect inconsistent for Help icon
Status: ASSIGNED
Product: VisualEditor
Classification: Unclassified
MediaWiki integration (Other open bugs)
unspecified
All All
: Low trivial
: ---
Assigned To: Editing team bugs – take if you're interested!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-11-05 12:59 UTC by Guillaume Paumier
Modified: 2014-02-28 23:51 UTC (History)
6 users (show)

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


Attachments

Description Guillaume Paumier 2013-11-05 12:59:11 UTC
Noticed on mediawiki.org, currently at 1.23wmf2 (88c7b3f)

On hover, the Help icon in the VisualEditor toolbar gets both the light gray border with all corners rounded, and the darker gray border that, if I look at the Menu icon for reference, should probably only appear when the button is pressed, not just hovered.

Furthermore, the dark gray border only has the left corners rounded.
Comment 1 Ed Sanders 2013-11-05 16:45:04 UTC
The behaviour is correct because the help icon is actually in a group with the notification icon, however the notification icon is hidden when there are no notifications. This is also the cause of the rounded corners problem, as the CSS renderer doesn't match the last-child rule if the next child is hidden.

Solutions:
* Group help and notifications with the hamburger menu. This avoids the rounded corners problem, and the issue of the colours looking wrong because it is a set of one, but is hacky.
* Destroy the notifications icon when not in use. This would involve a bit of a rewrite as in theory it's possible to push notifications after load and the button should appear when this happens.
* Ungroup help and notifications. This avoids all the problems here.

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


Navigation
Links