Community
    • Login

    Notepad++ strange behavior if I change the style

    Scheduled Pinned Locked Moved General Discussion
    3 Posts 2 Posters 930 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Mauricio CagnassoM Offline
      Mauricio Cagnasso
      last edited by

      As soon as I open a file or click on any of the Notepad++ tabs it works perfectly. Like this:
      e1cbce0f-6192-4df7-8523-4deed3150401-image.png

      But if I leave Notepad++ open, the image starts to degrade, generating strange effects. Like this example:
      f54c39f2-8bb5-4c5e-bab8-d8c78b2e9a8c-image.png

      This strange behavior only happens if the default style (with white background) is not used.

      Notepad version:
      cdd657ca-78fa-4ed7-a617-5e77e8abbda9-image.png

      Thanks
      Mauricio

      1 Reply Last reply Reply Quote 1
      • xomxX Offline
        xomx
        last edited by

        This sounds familiar to me, there should be already some reports about it on GitHub. This might be caused by an incompatible graphics card driver or some specific circumstances (scaling, remote desktop in use, etc).

        IIRC disabling (or selecting the Draw-To-GDI-DC flavor) of the DirectWrite rendering for the editor-area helps:

        npp-sln-for-weird-Scintilla-editor-ctrl-artefacts.png

        Edit: Yes, GitHub issues: #16008 , #16111

        Mauricio CagnassoM 1 Reply Last reply Reply Quote 4
        • Mauricio CagnassoM Offline
          Mauricio Cagnasso @xomx
          last edited by

          @xomx Thanks!!!

          This WORKS!!! πŸ‘Œ

          a269e947-c335-4c76-a071-455ded5c8931-image.png

          1 Reply Last reply Reply Quote 2

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better πŸ’—

          Register Login
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors