Tabs always open on the right?



  • @appyface said in Tabs always open on the right?:

    does anyone know why I’m not receiving emails when you post

    Because that feature of the forum is not enabled, despite it being listed in the options.



  • @PeterJones said in Tabs always open on the right?:

    While waiting for @Terry-R to be able to run more experiments:

    Well I’ve have completed my experiments. Whilst not exhaustive in themselves, I’m exhausted in creating 26 tabs each with different and unsaved changes and using the backup plan so unsaved files in themselves. I confirmed that the account I was running had the Admin Mode “ON”. That was further backed up by the titlebar showing [Administrator].
    When I right click on either a single file or several (of type txt and xml) and use the “Edit with Notepad++” option they always appear to the right of any existing tabs. And this is regardless of which tab was the currently viewed one in Notepad++.

    At this point I can safely say that my tests (and results) emulate those of @PeterJones even though I had Admin Mode on “automatically”, not thru having to say “run as…” or changing the shortcut to the compatibility settings with “run this program as administrator” ticked.

    So whatever is causing the new files on loading to appear elsewhere in the “tabbed” list is possibly rather unique or a possible malfunction in the operating system or Notepad++.

    Another possible test to be carried out by the OP is to use “Ctrl+Numpad 1” which is the default hotkey for the first tab in Notepad++ after they do the test as stated in the first post. The issue raised there was that one of the multiple files opens to the "right, the remainder open on the left. So once these multiple files are loaded, and then the hotkey used, does it actually go to one of the new files?

    I’m sort of wondering if the view of the tabs is somewhat skewed, rather than the actual order as Notepad++ sees them. Thus Ctrl+Numpad 1 would STILL go to the original 1st tab (often called New 1).

    As a side note, I had a need to install a fresh Windows 10 system, no AD influence or any changes made. The account I created was “Terry” which is a privileged account (administrator group). I then activated the actual administrator account with a password. My “Terry” account ran Notepad++ NOT in Admin Mode (so it shows OFF), yet when logged in as the actual administrator account I performed the same run and this time Notepad++ had admin Mode as ON!. So just logged in as an administrator level account is (on a fresh system) not enough to run Notepad++ in Admin Mode (ON), again that backs another finding by @PeterJones.

    Sorry I couldn’t find anything that helps, all this did was show that it (appears to) NOT happen. Tabs should always open to the right!

    Terry



  • @Terry-R and @PeterJones

    Both of you have gone well above and beyond in trying to sort this. I can’t thank you enough for all your efforts.

    This afternoon I logon and open Notepad++ and the titlebar does NOT say administrator. I open some files using <enter> on explorer and they all go to the extreme right (I have only unsaved tabs open) as I wish. The titlebar still does not say administrator. These are the same files I was working with in above screenshots, as well as others in the same directory.

    So were it not for your last post Terry-R, I would have claimed it is some difference in having administrator mode on… but now it is proved that is not the whole story…

    There is nothing I’ve (intentionally) done to stop administrator mode. Administrator mode has been on for awhile, I can’t say how long though… weeks… months… and I don’t know what I did to get it turned on.

    Thanks for the info about the emails not actually happening! Thought I had missed something in settings.



  • All morning I’m using Notepad++ and no administrator in title.

    Just now I open it and it says administrator… same XML files, same directory.

    No idea what is driving this…

    I see new version is out I’m going to retire this portable install and start from scratch with the new one, and see what happens.



  • I just unzipped the portable version of new 7.9 x64 into a brand-new empty directory. I did not copy over any previous files, this is vanilla.

    My first launch is by running the executable directly, and guess what. ‘Administrator’ is in the title.

    I copied in the debug info into the tab and here’s the screenshot:

    252a10c3-40f9-48cc-b36e-ee981dc3748e-image.png

    Still no idea what is cluing administrator on/off.



  • @appyface said in Tabs always open on the right?:

    Still no idea what is cluing administrator on/off.

    I had no idea either, see this POSTING and the containing thread.

    As I said in that posting, being stuck in “administrator” mode just sort of “went away” after a certain N++ release, and luckily for me, it hasn’t returned. :-)



  • Admin mode is coming and going…

    And stranger… I closed the new 7.9 and navigated to the directory with 7.8.9 and opened it, and to my surprise, none of my “unsaved” tabs are loaded into the old executable.

    This makes no sense. The old executable is still pointing to its own directory /backup folder and the backups are there and intact, I can open them with regular Notepad (or Notepad++) directly and they’re fine. The old 7.8.9 no longer opens them automatically when I launch the executable.

    I also confirmed, 7.9 is pointing to its own directory /backup folder and of course it has no files since it is vanilla, so it opens with one empty new tab.

    I’ve no clue why my 7.8.9 executable is not loading the 36 tabs I had before… nothing is lost, it just is not automatically opening it. I have done nothing to its configuration. I exited it, then unzipped the new one, launched and got the screenshot to post here, and that’s it.

    Gremlins…



  • @appyface said in Tabs always open on the right?:

    Still no idea what is cluing administrator on/off

    Are you logging onto Windows as the actual “administrator” account or another account which has administrator level access?

    In my tests I had both, both it was the actual administrator account that seemed to run with admin mode turned on ALL the time. My other account “terry” was in the local administrator group and could run in that mode if I set it so, but by default it did NOT.

    The next question is whether your current admin mode (ON) has recreated the original problem of tabs not all opening on the right. If that problem has not reoccured then perhaps you might just need to accept it.

    About the only other solution would be to completely wipe your computer and start with a fresh install of Windows. That would be a last resort as from my point of view the issue of tabs not opening to the right is more a nuisance rather than a real (cannot overcome) issue.

    Sorry I can’t be more helpful.

    Terry



  • I log in via another account which has administrator level access, minus some privs via GPO.

    When admin mode is off, all files open to the extreme right of the unsaved tabs as I’d expect. When admin mode is on, one file opens to the extreme right of the unsaved tabs and the rest open before the first tab on the extreme left. So far this is consistent for me.

    (I do not have any control of this laptop (it belongs to my employer) so cannot do many of the suggestions, I can only experiment within my own user account. But it is strange to have my old 7.8.9 notepad change behavior after I put 7.9 on. Like they are sharing some config but they should not be, I never installed any portable using %appdata%, always I say to put the settings and other files in the same directory with the portable executable.



  • @appyface said in Tabs always open on the right?:

    I closed the new 7.9 and navigated to the directory with 7.8.9 and opened it, and to my surprise, none of my “unsaved” tabs are loaded into the old executable.

    That may not be strange. I read somewhere that when in admin mode it uses a different set of configuration files compared to when an “account” runs it normally when the “account” profile folder stores those configuration files. Perhaps the new installation has saved its configuration files over the old installation since that had been running in admin mode as well. Hopefully others can confirm (or deny) my assumptions as being (somewhat) correct.

    Terry



  • Ah, you may be on to something. Thankfully, nothing is lost, it just didn’t open them. I’ll see what I can hunt up.


Log in to reply