[Fixed] Keeping a selected file in view when changing views

Things you’d like to miss in the future...
Post Reply
klownboy
Posts: 4141
Joined: 28 Feb 2012 19:27

[Fixed] Keeping a selected file in view when changing views

Post by klownboy »

Is there an option either in Configuration or as a tweak that will keep a selected file in view when changing views, for example," List" to "Details" or visa versa? I looked through Configuration and the XYplorer.ini file, but I didn't notice anything, but I could have missed it. Thanks

Edit: As noted below, the selected file does stay in view when changing from detail to list view.
Last edited by klownboy on 17 Dec 2020 14:28, edited 2 times in total.
Windows 11, 23H2 Build 22631.3447 at 100% 2560x1440

davidhelp
Posts: 99
Joined: 03 Sep 2012 02:28

Re: Keeping a selected file in view when changing views

Post by davidhelp »

I had a similar question recently. Is this the answer for you?
My fix from 'highend' was: Define this Folder View as Default

Re: Have the Name column first then the Path column
Post by highend » 04 Nov 2020 22:05
Arrange them as necessary and use Menu - View - Folder View Settings - Define this Folder View as Default?

klownboy
Posts: 4141
Joined: 28 Feb 2012 19:27

Re: Keeping a selected file in view when changing views

Post by klownboy »

Thanks davidhelp, but this issue is not really about folders views themselves (FVSs). It's about keeping a highlighted file in view in the list panel when changing a view. For example, when I change an age filter, the file does stay in view (as long as the file is within that age filter). Whereas, changing the view type, the file does not stay in view. For example, if I'm currently in "list" view and have a file highlighted in the middle of a long listing of files - like file that begins with "k", when I change to "details" view, the listing goes to the start of the file list - files beginning with "a" instead of keeping that highlighted file beginning with "k" in view. It may be just a setting I have that needs to be changed. I do have a saved FVS for one of the folders that I see this issue (I see it on all folders), and I changed some of the "applied settings" like saving sort etc. in the FSV, but it made no difference on this issue. Thanks.
Windows 11, 23H2 Build 22631.3447 at 100% 2560x1440

nas8e9
Posts: 2232
Joined: 21 Jun 2008 14:50

Re: Keeping a selected file in view when changing views

Post by nas8e9 »

For me, enabling Tools > Configuration > Sort and Rename > Keep current item in view after resorting, does the trick?

klownboy
Posts: 4141
Joined: 28 Feb 2012 19:27

Re: Keeping a selected file in view when changing views

Post by klownboy »

nas8e9 wrote: 15 Nov 2020 22:40 For me, enabling Tools > Configuration > Sort and Rename > Keep current item in view after resorting, does the trick?
You would think that might help but for me it doesn't. I had it checked already. So as I mentioned in my example above, when I go into detail view from a list view, the file I had selected in list view is not on screen. Funny though, it seems to be alright the other way around. Whatever I have selected in detail view is in view when I switch to list view (i.e., it doesn't go to the top of the folder as it does in detail view). Thanks.
Windows 11, 23H2 Build 22631.3447 at 100% 2560x1440

nas8e9
Posts: 2232
Joined: 21 Jun 2008 14:50

Re: Keeping a selected file in view when changing views

Post by nas8e9 »

klownboy wrote: 15 Nov 2020 23:49 You would think that might help but for me it doesn't. I had it checked already. So as I mentioned in my example above, when I go into detail view from a list view, the file I had selected in list view is not on screen. Funny though, it seems to be alright the other way around. Whatever I have selected in detail view is in view when I switch to list view (i.e., it doesn't go to the top of the folder as it does in detail view). Thanks.
Going from List to Details (I tried the other way) indeed doesn't work for me.

klownboy
Posts: 4141
Joined: 28 Feb 2012 19:27

Re: Keeping a selected file in view when changing views

Post by klownboy »

Thanks nas8e9. Always good to know it's not a "just me" issue.
Windows 11, 23H2 Build 22631.3447 at 100% 2560x1440

klownboy
Posts: 4141
Joined: 28 Feb 2012 19:27

Re: Keeping a selected file in view when changing views

Post by klownboy »

Hi Don, I asked the question here, but it looks like this could be a bug and should be over in the other section. If I have a file selected in a long list of files in List view mode, and I then change to a Details view, the file is no longer in view. The view jumps to the start of the folder. The other direction is fine - the file selected in a details view will still be in view when changing to a the list view mode. I use List view quite a bit in large folders. So when jumping to Details view to get more information on a file, it can be annoying not having the file in view. The file is still selected but not in view. I never see the file stay in view on the first time of time changing the view from list to details but "sometimes" on subsequent changes it does stay in view. Is that a bug or could there be a setting in play which would cause XY to jump to the start of a folder but only in details view? Thanks.
Windows 11, 23H2 Build 22631.3447 at 100% 2560x1440

klownboy
Posts: 4141
Joined: 28 Feb 2012 19:27

Re: Keeping a selected file in view when changing views

Post by klownboy »

Bumpity Bump. Hi Don could you take a look at this one. It probably should have been under bugs.
Windows 11, 23H2 Build 22631.3447 at 100% 2560x1440

yusef88
Posts: 1126
Joined: 28 Jan 2013 03:50
Location: Windows 8.1 32-bit

Re: Keeping a selected file in view when changing views

Post by yusef88 »

Maybe this will help you to bring selected item into view
Miscellaneous | Focus Functions | Move Focused Item Into View
(Shift+Alt+F6)

yusef88
Posts: 1126
Joined: 28 Jan 2013 03:50
Location: Windows 8.1 32-bit

Re: Keeping a selected file in view when changing views

Post by yusef88 »

Refresh button in windows explorer bring selected file into view again
Can refresh button in XY do the same thing?

klownboy
Posts: 4141
Joined: 28 Feb 2012 19:27

Re: Keeping a selected file in view when changing views

Post by klownboy »

yusef88 wrote: 16 Dec 2020 13:49 Miscellaneous | Focus Functions | Move Focused Item Into View
(Shift+Alt+F6)
Thanks that is true, but I don't believe we should have to do anything to keep the file in view when changing views. I'm not sure why anyone wouldn't want that.
Windows 11, 23H2 Build 22631.3447 at 100% 2560x1440

admin
Site Admin
Posts: 60595
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Keeping a selected file in view when changing views

Post by admin »

Should be better in next version. :tup:

klownboy
Posts: 4141
Joined: 28 Feb 2012 19:27

Re: Keeping a selected file in view when changing views

Post by klownboy »

Looking good Don. Thanks. :tup:
Windows 11, 23H2 Build 22631.3447 at 100% 2560x1440

Post Reply