Closed
Bug 1365910
Opened 7 years ago
Closed 7 years ago
Clear icon of textbox[type="search"] should match the spec
Categories
(Firefox :: Settings UI, defect, P1)
Tracking
()
RESOLVED
WONTFIX
Firefox 55
Tracking | Status | |
---|---|---|
firefox53 | --- | unaffected |
firefox54 | --- | unaffected |
firefox55 | --- | affected |
People
(Reporter: hyacoub, Assigned: rickychien)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
[Affected versions]: Nightly 55.0a1 [Affected platforms]: Platforms: Ubuntu 16.10 [Steps to reproduce]: 1. Launch Firefox, go to about:config and search for "browser.preferences.search" and set it value to true. 2. Go to "about:preferences". 3. Type in the preferences search field. [Expected result]: "X" button in the preferences search field is correctly displayed. [Actual result]: "X" button in the preferences search field isn't correctly displayed.
Reporter | ||
Updated•7 years ago
|
Blocks: 1357306
status-firefox53:
--- → unaffected
status-firefox54:
--- → unaffected
status-firefox55:
--- → affected
Reporter | ||
Updated•7 years ago
|
Assignee | ||
Comment 1•7 years ago
|
||
Hani, could you help to check this issue also happen on Linux and macOS? Thanks
Flags: needinfo?(hani.yacoub)
Reporter | ||
Comment 2•7 years ago
|
||
I could only reproduce it on Ubuntu 16.04 x64.
Flags: needinfo?(hani.yacoub)
Updated•7 years ago
|
Whiteboard: [photon-preference]
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → rchien
Status: NEW → ASSIGNED
Comment hidden (mozreview-request) |
Updated•7 years ago
|
Attachment #8869903 -
Flags: review?(jaws) → review?(dao+bmo)
Comment 4•7 years ago
|
||
mozreview-review |
Comment on attachment 8869903 [details] Bug 1365910 - Clear icon of textbox[type="search"] should match the spec https://reviewboard.mozilla.org/r/141450/#review145222 ::: toolkit/content/textbox.css:24 (Diff revision 1) > box-sizing: border-box; > -moz-box-flex: 1; > } > > +.textbox-search-clear { > + list-style-image: url(chrome://global/skin/icons/searchfield-cancel.svg); This belongs in themes rather than content. Having said that, the clear icon isn't broken on Linux. It's just different as it's a stock icon provided by the OS.
Attachment #8869903 -
Flags: review?(dao+bmo) → review-
Updated•7 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → INVALID
Assignee | ||
Comment 5•7 years ago
|
||
Sorry I wasn't clear on my comment. This feature belongs to Photon preferences which applies new look and feel of new clear icon in search field, so it still makes sense to replace the searchfield-cancel.svg to all platforms. The design spec of search field: https://mozilla.invisionapp.com/share/ZDAGPK3AF#/screens/218928188
Assignee | ||
Updated•7 years ago
|
Status: RESOLVED → REOPENED
Resolution: INVALID → ---
Assignee | ||
Comment 6•7 years ago
|
||
Tina, could you confirm this clear icon in search field should take the same look and feel cross platforms?
Flags: needinfo?(thsieh)
Summary: "X" button in the preferences search field isn't correctly displayed → Clear icon of textbox[type="search"] should match the spec
Comment 7•7 years ago
|
||
Per our discussion, we will use the clear icon for Mac OS as default and reuse it on different OS for now. Let me know if any questions. Thanks!
Assignee | ||
Updated•7 years ago
|
Flags: needinfo?(thsieh)
Comment hidden (mozreview-request) |
Assignee | ||
Comment 9•7 years ago
|
||
Dao, as visual confirmation on comment 7, we're going to apply the current macOS cancel icon across all platforms. So I think it's reasonable to move searchfield-cancel.svg from osx folder to shared. Could you help review the patch? thanks!
Comment 10•7 years ago
|
||
(In reply to Helen Huang [:HHuang] from comment #7) > Per our discussion, we will use the clear icon for Mac OS as default and > reuse it on different OS for now. > Let me know if any questions. Thanks! First question would be: Why? What problem are you trying to solve? The backspace icon seems to be used consistently in search fields on Linux.
Flags: needinfo?(rchien)
Comment 11•7 years ago
|
||
mozreview-review |
Comment on attachment 8869903 [details] Bug 1365910 - Clear icon of textbox[type="search"] should match the spec https://reviewboard.mozilla.org/r/141450/#review145434 ::: toolkit/content/textbox.css:24 (Diff revision 2) > box-sizing: border-box; > -moz-box-flex: 1; > } > > +.textbox-search-clear { > + list-style-image: url(chrome://global/skin/icons/searchfield-cancel.svg); As mentioned earlier, this doesn't belong in toolkit/content/. searchfield-cancel.svg also was made to fit Mac's round search fields. On Windows and Linux these fields are sqare, so this doesn't really make sense.
Attachment #8869903 -
Flags: review?(dao+bmo) → review-
Updated•7 years ago
|
Status: REOPENED → ASSIGNED
Target Milestone: --- → Firefox 55
Updated•7 years ago
|
Priority: -- → P1
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment 16•7 years ago
|
||
mozreview-review |
Comment on attachment 8869903 [details] Bug 1365910 - Clear icon of textbox[type="search"] should match the spec https://reviewboard.mozilla.org/r/141450/#review146834 ::: toolkit/themes/shared/in-content/common.inc.css:481 (Diff revision 6) > xul|textbox[type="search"] > .textbox-input-box > .textbox-search-icons > .textbox-search-icon { > visibility: hidden; > } > > +xul|textbox[type="search"] > .textbox-input-box > .textbox-search-icons > .textbox-search-clear { > + list-style-image: url(chrome://global/skin/icons/searchfield-cancel.svg); This is still an issue: "searchfield-cancel.svg was made to fit Mac's round search fields. On Windows and Linux these fields are sqare, so this doesn't really make sense." Also, still no word on why we should do this (comment 10). As best I can tell, we should just resolve this as wontfix and move on. The amount of time we have already spent on this seems unwarranted.
Attachment #8869903 -
Flags: review?(dao+bmo) → review-
Assignee | ||
Comment 17•7 years ago
|
||
As comment 5 mentioned, this is a feature and bug title has changed according to spec. As visual confirmation on comment 7 we've decided to reuse "searchfield-cancel.svg" for all platforms. This change will affect to in-content scope but not all toolkit widget. As a result, search field's "x" button (textbox[type="search"] in about:preferences will have the same styling on all platforms.
Flags: needinfo?(rchien)
Comment 18•7 years ago
|
||
I'm not interested in a mere decision but in reasons why that's the right decision. You still haven't provided that.
Comment 19•7 years ago
|
||
(In reply to Dão Gottwald [::dao] from comment #10) > (In reply to Helen Huang [:HHuang] from comment #7) > > Per our discussion, we will use the clear icon for Mac OS as default and > > reuse it on different OS for now. > > Let me know if any questions. Thanks! > > First question would be: Why? What problem are you trying to solve? The > backspace icon seems to be used consistently in search fields on Linux. (In reply to Dão Gottwald [::dao] from comment #11) > searchfield-cancel.svg also was made to fit Mac's round search fields. On > Windows and Linux these fields are sqare, so this doesn't really make sense. Hi Helen, could you please answer the above questions? I'm inclined to close this bug as wontfix so we can move on to more important things, unless there are compelling reasons why we should use the Mac icon across platforms. Thanks.
Updated•7 years ago
|
Flags: needinfo?(hhuang)
Comment hidden (mozreview-request) |
Comment 21•7 years ago
|
||
mozreview-review |
Comment on attachment 8869903 [details] Bug 1365910 - Clear icon of textbox[type="search"] should match the spec https://reviewboard.mozilla.org/r/141450/#review148254 See my previous comments.
Attachment #8869903 -
Flags: review?(dao+bmo) → review-
Comment hidden (mozreview-request) |
Assignee | ||
Comment 23•7 years ago
|
||
Ah, sorry I just rebase to fix conflict but doesn't mean I'd like to ask review. Review has been canceled.
Comment 24•7 years ago
|
||
To answer the question from Comment 19, using "searchfield-cancel.svg" is a temporary solution for now. Currently we are still building up the design system for Photon, so there is no a specific rule for when we should use different icon and when to use a unified icon for platforms. Therefore, I agree with close this bug for now, till we decide whether or not to use different icons for each platform.
Flags: needinfo?(hhuang)
Updated•7 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 7 years ago → 7 years ago
Resolution: --- → WONTFIX
Comment 25•7 years ago
|
||
mozreview-review |
Comment on attachment 8869903 [details] Bug 1365910 - Clear icon of textbox[type="search"] should match the spec https://reviewboard.mozilla.org/r/141450/#review148274
Attachment #8869903 -
Flags: review?(dao+bmo) → review-
Assignee | ||
Updated•7 years ago
|
Whiteboard: [photon-preference]
You need to log in
before you can comment on or make changes to this bug.
Description
•