Last modified: 2013-05-25 09:13:18 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 T49038, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 47038 - [TUX] [IE10] X in filter field is duplicated when text is entered
[TUX] [IE10] X in filter field is duplicated when text is entered
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Translate (Other open bugs)
master
All All
: High normal (vote)
: ---
Assigned To: Amir E. Aharoni
https://translatewiki.net/w/i.php?tit...
: design
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-04-09 12:12 UTC by Siebrand Mazeland
Modified: 2013-05-25 09:13 UTC (History)
6 users (show)

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


Attachments
Duplicate X as showing when at least one character is in the search field (11.43 KB, image/png)
2013-04-09 12:12 UTC, Siebrand Mazeland
Details

Description Siebrand Mazeland 2013-04-09 12:12:14 UTC
Created attachment 12057 [details]
Duplicate X as showing when at least one character is in the search field

When text is entered in the search field, the one X to remove field contents become XX. See screenshot.

Steps to reproduce:
1. Go to URL (logged in not needed)
2. Select the search field marked "Filter list"
3. Enter any one character

Observed:
I. As the character is entered, an X appears at the end of the field (expected)
II. As the list is actually filtered, a short moment after (I), a second X appears. See screenshot (not expected).

Expected:
III. Not two X action clicky thingies, but only one.
Comment 1 Niklas Laxström 2013-04-28 18:35:24 UTC
I see two options:

1) Hide the native clear button of IE (and Chrome)
2) Remove our custom clear button (so only modern browsers like IE10 and Chrome would have it)

Which one to take? 2 would be simpler and future proof but would reduce a little bit of extra functionality for users using older browsers.
Comment 2 Siebrand Mazeland 2013-04-28 18:37:00 UTC
Adding design keyword. Given the options, I'd be okay with option 2: Remove our custom clear button.
Comment 3 Pau Giner 2013-04-29 08:47:14 UTC
It seems that IE adds a "clear" action to regular input fields. This is a browser-specific behaviour which I'm not sure that other browsers will adopt. 

As Niklas commented there are two options:

1) Hide the IE clear action by styling the element in CSS:
.tux-message-filter-box::-ms-clear {display: none;}

2) Change the input field to be of type "search" and remove the custom clear action. Search is a standard HTML5 type of field for which browsers can provide specific aids (such as clear action, or search history). It is worth noting that not all modern browsers provide such aids as it is the case of Firefox.

I'm fine with option 2 since the lack of this feature is not blocking for users with a browser without support for search input fields.
Comment 4 Siebrand Mazeland 2013-04-29 12:41:07 UTC
Increased priority as we'll most probably schedule this for the next sprint.
Comment 5 Gerrit Notification Bot 2013-05-15 14:44:29 UTC
Related URL: https://gerrit.wikimedia.org/r/63856 (Gerrit Change I468b428a2496a64b56a01fe782762d9805862120)

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


Navigation
Links