Preventing Move/Focus to New Item

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Enternal
Posts: 1175
Joined: 10 Jan 2012 18:26

Preventing Move/Focus to New Item

Post by Enternal »

I remember there was a tweak or setting somewhere but I just can't find it. I have 2 folders open and I'm sorting the files on the left into subfolders on the right as well as the root folder itself. The problem is, whenever I dropped item from the left to the right, the list will move and focus on that item. However, what I'm doing is sorting many files so it would be best if the list is locked at a location so that I can easily drop files into subfolders and into the root folder without having to drag the list all the way backup to the subfolders every time I drop a file that goes into the root folder.

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

Re: Preventing Move/Focus to New Item

Post by admin »

Cannot repro or did not understand. You are talking about dragging between panes?

aliteralmind
Posts: 261
Joined: 02 Dec 2014 16:49

Re: Preventing Move/Focus to New Item

Post by aliteralmind »

I think he's asking, when moving a file from one pane to another, how can the display (scrolling) in the destination pane *not* change, even if that means the just-dropped item is not viewable.
Last edited by aliteralmind on 20 Dec 2014 23:18, edited 1 time in total.
Windows 8.1, 64-bit

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

Re: Preventing Move/Focus to New Item

Post by admin »

Ah, now I understand. Hmm, not sure how to handle it best. A tweak for copying into a list? Or just for cross-pane copying? Or just for drag and drop? A setting for panes in config?

aliteralmind
Posts: 261
Joined: 02 Dec 2014 16:49

Re: Preventing Move/Focus to New Item

Post by aliteralmind »

How about scroll-lock for each tab? For preventing auto-scrolling, but not manual scrolling.
Windows 8.1, 64-bit

aliteralmind
Posts: 261
Joined: 02 Dec 2014 16:49

Re: Preventing Move/Focus to New Item

Post by aliteralmind »

I mean to say, a right-click or key-command option, which must be manually turned on or off for each tab.
Windows 8.1, 64-bit

Enternal
Posts: 1175
Joined: 10 Jan 2012 18:26

Re: Preventing Move/Focus to New Item

Post by Enternal »

Thanks aliteralmind! That's exactly what I mean. I think it's best if it's a option in Customize List through the Tools menu. Although aliteralmind's idea seems very nice too since it allows it per tab rather than a global setting.

aliteralmind
Posts: 261
Joined: 02 Dec 2014 16:49

Re: Preventing Move/Focus to New Item

Post by aliteralmind »

No problem! Just thrilled to be on the team!!!
Windows 8.1, 64-bit

aliteralmind
Posts: 261
Joined: 02 Dec 2014 16:49

Re: Preventing Move/Focus to New Item

Post by aliteralmind »

aliteralmind wrote:I mean to say, a right-click or key-command option, which must be manually turned on or off for each tab.
Enternal wrote:I think it's best if it's a option in Customize List through the Tools menu.
If the "Tools > Customize List" sub-menu was a sub-menu when you right-click on the whitespace in a list, then both ideas would almost be one-and-the-same.

:whistle:
Windows 8.1, 64-bit

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

Re: Preventing Move/Focus to New Item

Post by admin »

So you want to make "Select on paste" optional, correct?

There are many toolbar buttons with that context menu (Tools > Customize List), no need tp squeeze it into yet another menu.

Enternal
Posts: 1175
Joined: 10 Jan 2012 18:26

Re: Preventing Move/Focus to New Item

Post by Enternal »

Yes pretty much. That includes Drag and Drop I'm assuming?

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

Re: Preventing Move/Focus to New Item

Post by admin »

Yes, all operations where files or folders are added to a visible list.

On second thoughts it would be enough to skip the scroll-into-view part of select-on-paste. This could be handled by a tweak.

Enternal
Posts: 1175
Joined: 10 Jan 2012 18:26

Re: Preventing Move/Focus to New Item

Post by Enternal »

admin wrote:Yes, all operations where files or folders are added to a visible list.

On second thoughts it would be enough to skip the scroll-into-view part of select-on-paste. This could be handled by a tweak.
Awesome! Umm... could I ask one more thing? Since it's simply preventing it from scroll-into-view, could this be someone integrated into a GUI option? The need to switch between the 2 frequently would make it less of a hassle than to Save, open up ini and find ListNoAutoScrollOnPaste, save, and restart XYplorer. And vice-versa when I'm back from working.

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

Re: Preventing Move/Focus to New Item

Post by admin »

Yep, next version has something usable... (will be part of 14.80).

Code: Select all

    + Added tweak ListNoAutoScrollOnPaste to the tweak() function:
        tweak("ListNoAutoScrollOnPaste", ""); //toggle
        tweak("ListNoAutoScrollOnPaste", 1); //set
        tweak("ListNoAutoScrollOnPaste", 0); //unset
        echo tweak("ListNoAutoScrollOnPaste"); //get

Enternal
Posts: 1175
Joined: 10 Jan 2012 18:26

Re: Preventing Move/Focus to New Item

Post by Enternal »

Oh!! There's a tweak SC?! Anyway, awesome! Thanks! Now easy on and easy off without need to restart. :biggrin:

Post Reply