Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Move to Other View moves the wrong file

    General Discussion
    3
    5
    3164
    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.
    • Tim Jarrett
      Tim Jarrett last edited by

      With 2 files open selecting ‘Move to other view’ on the name tab of one of them moves the other file to the other view instead!

      Claudia Frank 1 Reply Last reply Reply Quote 0
      • Claudia Frank
        Claudia Frank @Tim Jarrett last edited by

        Hello Tim-Jarrett,

        tried with different scenarios but wasn’t unable to reproduce it.
        Does this always happen?
        Have you installed some plugins? If so, can you give it a try to start npp with -noPlugin switch to check behaviour?

        Cheers
        Claudia

        1 Reply Last reply Reply Quote 0
        • Tim Jarrett
          Tim Jarrett last edited by

          Hi Claudia
          Tried -noPlugin option, but it still occurs.

          Here’s how I could reproduce it -
          1: Start Notepad++
          2: Close all files so you just have New:1 open
          3: Type text “File 1” in New:1
          4: Create a new file New:2
          5: Type text “File 2” in New:2
          6: Select New:1 tab
          7: Right-click New:1 tab and select “Move to Other View”
          8: New:1 stays where it was and New:2 moves instead.

          I noticed it doesn’t happen every time, but more often than not.

          Regards
          Tim

          Claudia Frank 1 Reply Last reply Reply Quote 0
          • Claudia Frank
            Claudia Frank @Tim Jarrett last edited by

            Hello Tim,

            that is strange, indeed. I tried it 1000 times and it didn’t occur.
            A shot in the dark, as you installed npp, did you choose local or appdata config?
            If it was appdata, do you mind renaming notepad++ in %APPDATA% directory and trying again?
            If this solves the issue, can you zip the renamed notepad++ directory and upload it?

            Cheers
            Claudia

            1 Reply Last reply Reply Quote 0
            • cipher-1024
              cipher-1024 last edited by

              Tim, here’s what is probably going on:
              NPP has two ‘view ports’. For my setup, it’s a top view and a bottom view.
              If I open/create two files as you outlined, both files are in the top view port. If I move file1 to the bottom view and then move file2 to the bottom view, there’s nothing left in the top view, and it collapses and disappears. At this point the bottom view takes up the whole window and NPP looks just like it did when I started, but in actuality, both files are now in the bottom view and the top view is hidden. Now, if I move file1 to ‘other view’ what I’m really asking it to do is move file1 from the bottom view to the top view. What you THINK you’re doing is moving file1 to the bottom view, but it’s already in the bottom view. It just looks like file2 is getting moved but in reality it’s staying in the bottom view and the top view is uncollapsing and getting filled with file1.

              If you move both files to top view (or maybe in your case the left view) the move behavior you’re expecting should be back.

              TLDR: NPP has two views that stay put. If you move everything out of a view it will collapse, but it keeps the same place relative to the other view.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Copyright © 2014 NodeBB Forums | Contributors