Community
    • Login

    Windows content is blank on remote notepad++ sessions

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    16 Posts 9 Posters 3.4k Views
    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.
    • R
      Remote Utilities @Sweet Man
      last edited by

      @Sweet-Man,

      Hello Tony,
      Thank you for your post. Remote Utilities tech support here.

      Could you please let us know what OS is running on the machine where the issue occurs? We will try to reproduce issue in our environment.

      In addition, please try the following solutions:

      1. Try enabling the Capture alpha-blending windows feature in the Connection Properties window -> Additional properties tab.
      2. Try enabling the Use legacy capture mode feature in the Host Settings -> Other tab. After enabling the feature, please make sure to restart Host in order for the changes to be applied. If you enable the legacy option using the Remote Settings feature, Host will be restarted automatically when you submit the changes.

      Hope that helps.

      1 Reply Last reply Reply Quote 1
      • Jagadesh RachakondaJ
        Jagadesh Rachakonda
        last edited by

        I am using remote desktop using chrome browser… it displays blank content on Notepad++ only, when there is no monitor associated to the remote machine. I am using Windows 11.

        The moment, I enable display by opening my laptop lid, the content displays again.

        xomxX 1 Reply Last reply Reply Quote 0
        • xomxX
          xomx @Jagadesh Rachakonda
          last edited by

          @Jagadesh-Rachakonda

          Could you please create new Notepad++ GitHub issue and put there your description with details, steps to reproduce and info from the N++ menu > ? > Debug Info... ? How to do it FAQ.

          If you cannot, put please the requested Debug Info here and try to elaborate more on the details of your RD connection to I be able to reproduce it.

          1 Reply Last reply Reply Quote 0
          • O
            OdedMarathon @Sweet Man
            last edited by

            @Sweet-Man
            I have the exact same issue,
            while using Notead++ remotely using AnyDesk.

            1 Reply Last reply Reply Quote 0
            • W
              wazerstar
              last edited by

              I believe I have found the culprit and I hope notepad++ devs can figure this out.

              Using a Lenovo device whatever its a Think mini desk or a laptop.

              If you are logged in via remote, it does not matter if its anydesk, rdp, vnc or whatever.

              The issue is when the LID is closed on or no monitor added notepad++ will just show a white page.

              I hope something can be done.

              PeterJonesP Alan KilbornA 2 Replies Last reply Reply Quote 0
              • PeterJonesP
                PeterJones @wazerstar
                last edited by

                @wazerstar ,

                Since @Jagadesh-Rachakonda didn’t ever put in the GitHub request (as far as I can tell from searching the existing Issues), then could you please follow @xomx’s advice and put in the official bug report at GitHub, including all the information that @xomx mentioned in his post.

                1 Reply Last reply Reply Quote 2
                • Alan KilbornA
                  Alan Kilborn @wazerstar
                  last edited by

                  @wazerstar said in Windows content is blank on remote notepad++ sessions:

                  The issue is when the LID is closed on or no monitor added notepad++ will just show a white page.

                  I understand “when the lid is closed on” (I think), but I’m not sure at all what “no monitor added” means. If you are going to create an issue, make sure you are clear so that people that might help actually can.

                  W 1 Reply Last reply Reply Quote 1
                  • W
                    wazerstar @Alan Kilborn
                    last edited by

                    @Alan-Kilborn Hi it means when there’s no monitor hooked up with HDMI/DVI/VGA/DP etc.

                    I believe this is kinda a bug either in the the way notepad++ renders on screen, but strangely enough a normal notepad from windows works fine.

                    I also tested AutoIT Scite script writer and same thing applied like notepad++ blank screen.

                    So perhaps autoit scite uses a same technique as notepad++ or its just a bug in general on windows.

                    xomxX 1 Reply Last reply Reply Quote 0
                    • xomxX
                      xomx @wazerstar
                      last edited by

                      @wazerstar said in Windows content is blank on remote notepad++ sessions:

                      I also tested AutoIT Scite script writer and same thing applied like notepad++ blank screen.

                      So maybe it is a Scintilla library editing component issue.

                      I see that the mentioned AutoIt SciTE has also the DirectWrite rendering technology default preset, could you re-test N++ using its Settings > Preferences > MISC. > “Use DirectWrite” checkbox unchecked and let us know the result?

                      W 1 Reply Last reply Reply Quote 2
                      • W
                        wazerstar @xomx
                        last edited by wazerstar

                        @xomx This worked ! woooooooh

                        edit:

                        I managed to fix autoit as well editing this file

                        %localappdata%\AutoIt v3\SciTE\SciTEUser.properties
                        
                        

                        and adding

                        technology=3
                        

                        I tried with values 0,1,2 nothing worked, 3 worked.

                        So what is the conclusion, is this a windows bug? more importantly how and what do we do from here?

                        xomxX 1 Reply Last reply Reply Quote 2
                        • xomxX
                          xomx @wazerstar
                          last edited by xomx

                          @wazerstar said in Windows content is blank on remote notepad++ sessions:

                          This worked ! woooooooh

                          Very good, thanks for the test.

                          and adding

                          technology=3

                          I tried with values 0,1,2 nothing worked, 3 worked.

                          That “3” means the Scintilla SC_TECHNOLOGY_DIRECTWRITEDC mode. I am a little bit surprised that the “0” (good old GDI mode on Windows) isn’t working for your older SciTe too but ok.

                          So what is the conclusion, is this a windows bug?

                          Probably not but rather a Scintilla library standard rendering modes incompatibility with some remote SW (remember that @PeterJones mentioned that the Windows built-in Remote Desktop or VNC works ok for him).

                          more importantly how and what do we do from here?

                          If you don’t need the Scintilla DirectWrite rendering mode, just stick to that disabled DirectWrite.

                          If you need it, just wait for the next N++ version (probably v8.7.8) and then use the “DirectWrite (draw to GDI DC)” rendering mode there (it is an equivalent for your “3”). Luckily for you, I submitted a N++ PR #16145 few days ago that addresses exactly this.

                          W 1 Reply Last reply Reply Quote 3
                          • W
                            wazerstar @xomx
                            last edited by wazerstar

                            @xomx said in Windows content is blank on remote notepad++ sessions:

                            @wazerstar said in Windows content is blank on remote notepad++ sessions:

                            This worked ! woooooooh

                            Very good, thanks for the test.

                            and adding

                            technology=3

                            I tried with values 0,1,2 nothing worked, 3 worked.

                            That “3” means the Scintilla SC_TECHNOLOGY_DIRECTWRITEDC mode. I am a little bit surprised that the “0” (good old GDI mode on Windows) isn’t working for your older SciTe too but ok.

                            So what is the conclusion, is this a windows bug?

                            Probably not but rather a Scintilla library standard rendering modes incompatibility with some remote SW (remember that @PeterJones mentioned that the Windows built-in Remote Desktop or VNC works ok for him).

                            more importantly how and what do we do from here?

                            If you don’t need the Scintilla DirectWrite rendering mode, just stick to that disabled DirectWrite.

                            If you need it, just wait for the next N++ version (probably v8.7.8) and then use the “DirectWrite (draw to GDI DC)” rendering mode there (it is an equivalent for your “3”). Luckily for you, I submitted a N++ PR #16145 few days ago that addresses exactly this.

                            I just did a retest with 0 it seems to be working with 0 as well, maybe It did not save properly at first glance, thanks for letting me know, so 0 & 3 works.

                            Also thanks for doing the submit.

                            Ok I did another test on another machine also being remote with lid closed.

                            the TECHNOLOGY=0 did not work until it actually had been applied as TECHNOLOGY=3 first, then I could swap back to 0, I could not let it go because I was sure that I saved it at first.

                            Oh well maybe thats another bug for SCITE, anyways thats not for notepad++ but if anybody finds this thread then the answer is in here.

                            1 Reply Last reply Reply Quote 2
                            • A
                              AyyAyRon
                              last edited by

                              I made an account just to mention this might be an issue with the display driver for windows 11. While the solution of changing the rendering technology works, I have had issues with other programs not rendering correctly due to Windows 11 not knowing what to do when the lid of the laptop is closed with remoting in.

                              The solution I am using for my job on remote machines is to add a virtual display adapter. Method 3 uses a display driver which once installed renders windows previously having issues. This is the method I have been using with much success. Here is the link to the explanations and files:

                              https://itproexpert.com/windows-server-vm-screen-resolution-fix/

                              1 Reply Last reply Reply Quote 2
                              • First post
                                Last post
                              The Community of users of the Notepad++ text editor.
                              Powered by NodeBB | Contributors