• Login
Community
  • Login

Bug Fix: Windows 10 Virtual Desktops

Scheduled Pinned Locked Moved General Discussion
10 Posts 8 Posters 12.3k 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.
  • S
    Seán McCabe
    last edited by Sep 29, 2015, 9:01 PM

    I use Windows 10 and quite often have various virtual desktops open for different development environments. Unfortunately though Notepad++ has a tendency of always opening a file in the latest instance.

    For example if I open file by double-clicking on Virtual Desktop 2, but Notepad++ is already open on Virtual Desktop 1 , then the file opens on Virtual Desktop 2, rather than launching a new instance on Virtual Desktop 2.

    Be awesome if this could be fixed. :)

    1 Reply Last reply Reply Quote 1
    • T
      Tim Pray
      last edited by Nov 5, 2015, 9:18 PM

      I’m not sure this is a bug I think it is a function of how Notepad++ handles opening additional files. With that said, it is really annoying when working within windows 10 virtual desktops. It slows down my work flow enough that I find myself using another editor instead of moving Notepad++ to the current virtual desktop.

      As a work around I think I would be happy with the ability to open a new instance of Notepad++ by shift + right click like I do with most other applications.

      1 Reply Last reply Reply Quote 0
      • A
        Adam Bednarski
        last edited by Apr 6, 2016, 3:19 PM

        Hi, same here, I really like notepad++ but this is really annoying :(

        C 1 Reply Last reply Apr 6, 2016, 6:34 PM Reply Quote 0
        • C
          Claudia Frank @Adam Bednarski
          last edited by Apr 6, 2016, 6:34 PM

          Hello @Adam-Bednarski,

          I don’t have multiple monitors therefore I started
          windows 10 in a virtualbox environment. (2 monitors configured)
          When having virtual desktop mode extended and npp setting
          always in multi instance mode the documents get opened
          where npp initially was started.

          E.g. You start npp on monitor1 and move it to monitor2.
          New documents start always on monitor1.
          But if you start on monitor1, move it to monitor2 and close it
          on monitor2. Restart on monitor2 any new document is displayed on monitor2 as well.

          Could you test if a real 2 monitor setup behaves the same?

          Cheers
          Claudia

          1 Reply Last reply Reply Quote 0
          • D
            decoderman
            last edited by Apr 8, 2016, 3:52 PM

            Settings > Preferences > Multi-Instance > Default (mono-instance)
            This is what I have and files always open in the currently open instance on the Desktop Notepad++ is on.

            1 Reply Last reply Reply Quote 0
            • C
              Claudia Frank
              last edited by Apr 8, 2016, 11:32 PM

              Yes, if you only want to have one instance running but the problem here is, as far as I understood,
              that they use multi instances of npp.

              Cheers
              Claudia

              1 Reply Last reply Reply Quote 0
              • D
                DaveyD
                last edited by Apr 10, 2016, 1:20 AM

                I’ve had this same issue. Although I usually have one project I am working on and want files to be opened in that instance of npp, sometimes I want to open a file in a separate window and on a separate desktop.

                What I did was as follows, I mad a shortcut to npp on my desktop (or taskbar) and ritgh-click > properties, in the target field, I added the following:
                C:\Programs\Notepad++\notepad++.exe -multiInst -nosession

                Now, when I want to open a file in a new instance wherever I want, I just drag the file onto that icon - works great!

                1 Reply Last reply Reply Quote 1
                • C
                  Claudia Frank
                  last edited by Apr 10, 2016, 5:16 PM

                  @DaveyD, nice trick, indeed.

                  Cheers
                  Claudia

                  1 Reply Last reply Reply Quote 0
                  • S
                    Simon Liddington
                    last edited by May 29, 2016, 5:43 AM

                    I have a written a program which enhances Windows 10 desktops and works around this issue for word/excel for you by detecting the switch to a new desktop to open the existing document and then open of a new document - it then moves it back where it belongs.

                    I suspect it will also work with Notepad++. You will need to edit the settings file to add Notepad++ as one of the executables it does this for - see the User Guide. Let me know it it works!

                    https://sourceforge.net/projects/virtual-desktop-grid-switcher

                    Full set of features are:

                    Windows 10 Desktop Switcher using a grid layout
                    Switch desktops using arrow keys with configurable modifier keys
                    Move active window to another desktop using keyboard
                    Make windows Always on Top or Sticky using keyboard
                    Activate last active window when switch from empty desktop (Windows 10 bug)
                    Chrome/Firefox activation to make web links open on same desktop if window exists
                    Word/Excel new window detected and moved back to current desktop if auto-switched

                    Enjoy!
                    Simon

                    1 Reply Last reply Reply Quote 0
                    • K
                      Kirby Rs
                      last edited by Apr 17, 2019, 1:28 PM

                      Thx to Simon Liddington, NPP might not annoying you.
                      But it’s not fixed yet? NPP is the only app which appears on all Virtual Desktops in Windows 10.
                      It does whatever mode (multi- or mono-) you set.

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