<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Aug 13, 2013 at 5:53 AM, Gervase Markham <span dir="ltr"><<a href="mailto:gerv@mozilla.org" target="_blank">gerv@mozilla.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="im">On 13/08/13 00:15, Ehsan Akhgari wrote:<br>
> I find the new behavior of the find bar to shift down the whole content<br>
> when it opens up extremely jarring.<br>
<br>
</div>This doesn't happen for me in yesterday's nightly; has the behaviour<br>
changed recently?<br></blockquote><div><br></div><div>See bug 893446. I'm writing this email because I believe that fix to be insufficient. Also see the points I raised about it in my email.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
I agree that shifting content is irritating. However, a full-width<br>
overlay is also irritating - even if there is nothing important behind<br>
the bar, it affects my equanimity that I suddenly can't see part of the<br>
top of the page. There is also, on my 1920px wide monitor, an enormous<br>
useless expanse of greyness right across the middle of the bar, which<br>
seems wasteful.<br><div class="im"></div></blockquote><div><br></div><div>I agree, but isn't that an orthogonal problem of sorts?<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div class="im">
> Chrome has solved this problem by overlaying content as opposed to<br>
> shifting it down, and the way their implementation works their find bar<br>
> spans over part of the browser window width, and they shift it to the<br>
> left or right if it happens to overlay a found piece of text.<br>
<br>
</div>I think this would be the right solution. If we start in the top right,<br>
I suspect that the bar would rarely need to move.<br><div class="im"></div></blockquote><div><br></div><div>Yeah, that's what Chrome does (we should probably be smart and default to top left for RTL pages, but yeah).<br>
</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="im">
> I would like to advocate for the following solution:<br>
><br>
> * Overlay the content as opposed to shifting it down when opening the<br>
> find bar<br>
> * Don't adjust the scroll origin like the patch in bug 893446 does<br>
> * Shift down the content *if* the found text is at the very top of the page<br>
<br>
</div>I would add: "build a find bar which does not occupy the full width of<br>
the page".<br></blockquote><div><br></div><div>Yes, in case I was not clear, we can definitely copy the Chrome UX here as an alternative solution.<br></div><div> <br></div><div>Cheers,<br><br clear="all"><div>--<br>
Ehsan<br><<a href="http://ehsanakhgari.org/">http://ehsanakhgari.org/</a>></div>
</div></div></div></div>