Closed
Bug 1115307
Opened 10 years ago
Closed 9 years ago
Search bar alignment fixes and cleanup
Categories
(Firefox :: Search, defect)
Firefox
Search
Tracking
()
People
(Reporter: dao, Assigned: dao)
References
Details
(Keywords: polish, rtl)
Attachments
(1 file, 1 obsolete file)
8.60 KB,
patch
|
florian
:
review+
Sylvestre
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
followup from bug 1101996
Comment 1•10 years ago
|
||
Looks like a nice cleanup! :-) I'm probably not going to fully review/test this before January. Am I correct in assuming that you are only targeting 37?
Assignee | ||
Comment 2•9 years ago
|
||
I'd like to uplift to 36 at least, and 35 if time allows. Do we already use this code with rtl locales? It's kind of broken there, right? This patch should help with that.
Comment 3•9 years ago
|
||
Comment on attachment 8541152 [details] [diff] [review] patch The code looks good. I haven't fully understood (yet) the platform specific padding/margin changes. On Mac retina, the panel appears a few pixels to the left of the textfield: http://i.imgur.com/cmbidiY.png On the non-retina external screen, it looks good (when zooming it seems to be one pixel to the right; but that's not noticeable without zooming and I won't claim the alignment was perfect before either). I don't see anything obviously causing this difference I haven't been able to test on Windows yet, as the patch doesn't apply cleanly above my current checkout, and I need to update Visual Studio before I can build newer code.
Attachment #8541152 -
Flags: feedback+
Comment 4•9 years ago
|
||
(In reply to Florian Quèze [:florian] [:flo] from comment #3) > On Mac retina, the panel appears a few pixels to the left of the textfield: > http://i.imgur.com/cmbidiY.png > On the non-retina external screen, it looks good (when zooming it seems to > be one pixel to the right; but that's not noticeable without zooming and I > won't claim the alignment was perfect before either). > > I don't see anything obviously causing this difference What happens is that the search glass icon shrinks when moving the window to the retina screen.
Assignee | ||
Comment 5•9 years ago
|
||
(In reply to Florian Quèze [:florian] [:flo] from comment #4) > What happens is that the search glass icon shrinks when moving the window to > the retina screen. This doesn't have anything to do with my patch, does it?
Comment 6•9 years ago
|
||
(In reply to Dão Gottwald [:dao] from comment #5) > (In reply to Florian Quèze [:florian] [:flo] from comment #4) > > What happens is that the search glass icon shrinks when moving the window to > > the retina screen. > > This doesn't have anything to do with my patch, does it? This doesn't happen without applying your patch.
Assignee | ||
Comment 7•9 years ago
|
||
Ok, it looks like the width being set on .searchbar-search-button for high-DPI is off because of the padding I added.
Assignee | ||
Comment 8•9 years ago
|
||
This should fix that
Attachment #8541152 -
Attachment is obsolete: true
Attachment #8541152 -
Flags: review?(florian)
Attachment #8546689 -
Flags: review?(florian)
Comment 9•9 years ago
|
||
Comment on attachment 8546689 [details] [diff] [review] patch v2 Review of attachment 8546689 [details] [diff] [review]: ----------------------------------------------------------------- Now looks as good or better than before the patch on all the platforms I tested (OS X 10.10 both retina and non-retina, Windows 7, Ubuntu), thanks!
Attachment #8546689 -
Flags: review?(florian) → review+
Assignee | ||
Comment 10•9 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/05511d05f1e0
Comment 11•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/05511d05f1e0
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 37
Assignee | ||
Comment 12•9 years ago
|
||
Comment on attachment 8546689 [details] [diff] [review] patch v2 Approval Request Comment [Feature/regressing bug #]: bug 1088660 [User impact if declined]: some minor misalignment, likely worse glitches in right-to-left locales [Describe test coverage new/current, TBPL]: no test coverage for this kind of stuff [Risks and why]: somewhere between low and medium. not a very complicated patch, but not the simplest either. however, any fallout (not that I anticipate it) would likely be minor [String/UUID change made/needed]: none
Attachment #8546689 -
Flags: approval-mozilla-aurora?
Comment 13•9 years ago
|
||
(In reply to Dão Gottwald [:dao] from comment #12) I think you meant to request beta approval for 36 rather than aurora.
Assignee | ||
Updated•9 years ago
|
Attachment #8546689 -
Flags: approval-mozilla-aurora? → approval-mozilla-beta?
Updated•9 years ago
|
Attachment #8546689 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
You need to log in
before you can comment on or make changes to this bug.
Description
•