Page MenuHomePhabricator

Flow: copying from a Flow board pulls in lots of unwanted/invisible text
Open, MediumPublic

Description

If you select text on a Flow board then copy and paste it, the selection includes a lot of unwanted and invisible text: the titles of the trio of collapse icons, text from hidden action menus, the additional rollover text for timestamps and usernames, etc. These appear as
Edit header

Small view
Collapsed view
Full view

Show changes
Actions
5 hours ago Fri, 07 Mar 2014 18:31:15 GMT
194.38.144.200 (talk | block)

A solution is to add "user-select: none" and the vendor-prefixed variants to these bits of HTML. (resources/mediawiki.less/mediawiki.mixins.less should have a .user-select(none) function that generates the full set of -webkit-user-select / -moz-user-select / -ms-user-select: none properties.)

Bug 62413 (Flow: show less chrome for Printable version of a Flow board) is related but applies to a different subset of Flow board elements. Users might be surprised that visible pieces of text aren't part of the selection, although e.g. skins/common/shared.css does this for the TOC "[hide/show]" and section "[edit | edit source]".


Version: master
Severity: normal

Details

Reference
bz62419