Skip to main content

Overlay bug in find and replace

Completed

Comments

6 comments

  • Fletcher Penney

    It has to do with whether the pre-filled text matches contents of the file. The text view doesn’t change size when the find bar does for some reason.

    I’ll dig around.

    Thanks!

    0
  • Fletcher Penney

    Hmmm...  This does not seem to occur when I run on 10.13, but does on 10.14.  I have not tested on 10.15 yet.

     

    0
  • Brett

    If I'm doing it right, it doesn't seem to happen on 10.15.

    0
  • Fletcher Penney

    To reproduce:

     

    1. Create new document with several paragraphs consisting of the single word "foo".  First paragraph should be at very top of document.  May or may not need to set top margin to 40 px in appearance prefs.

     

    2. In the new document, Cmd-F to activate find panel.  Type foo.  The background of the editor view should get darker.

     

    3. Hit the "replace" checkbox and the find bar should double in height.  The darker background should now overlap the bottom half of the  find bar.

     

    0
  • Fletcher Penney

    It does occur in 10.15.  Still working on identifying the cause.

    0
  • Fletcher Penney

    I spent more time on this last night, and still could not solve the issue.  

     

    Apparently I never tried reproducing this in TextEdit, but following these instructions *does* replicate the program in that application.  At this point, I believe this is an inherent problem in macOS (NSScrollView/NSTextFinder/NSTextview interactions), and not something I can fix.

     

    I will note that when it occurs if you scroll the editor, the issue resolves.  So there is a way to make the unusual appearance go away if it is bothering you.

     

    Thanks for reporting this, and I'm sorry I could not fix it.

    0

Please sign in to leave a comment.

Powered by Zendesk