Delete (or Recycle) dialog not modeless

Things you’d like to miss in the future...
Forum rules
:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:

:info: Please include the following information:
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".

:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:
lukescammell
Posts: 744
Joined: 28 Jul 2006 13:15
Location: Kent, UK
Contact:

Re: Delete (or Recycle) dialog not modeless

Post by lukescammell »

admin wrote:Another possibility would be to make it optional:

Background the following operations:
[ ] Copy
[ ] Cross-volume move
[ ] Intra-volume move
[ ] Delete
[ ] Backup
Thanks Don, that'd be great! I'm happy with that :) That gives me the flexibility and means you can keep your (sensible) defaults.
Used to update to the latest beta every day. Now I have children instead…
Windows 10 Pro x64 (everywhere except phone…)

zer0
Posts: 2676
Joined: 19 Jan 2009 20:11

Re: Delete (or Recycle) dialog not modeless

Post by zer0 »

admin wrote:Another possibility would be to make it optional:

Background the following operations:
[ ] Copy
[ ] Cross-volume move
[ ] Intra-volume move
[ ] Delete
[ ] Backup
Nope, I don't think that is good from a UI perspective -- doesn't XYplorer already have enough tickboxes? :roll: As Status Log becomes more powerful, on-the-fly changes to various operations should be possible through its interface. Status Log itself needs to be modeless though! :wink:
Reporting a bug? Have a wish? Got a question? Use search - View roadmap - FAQs: Forum + XY site
Windows 7/10
Always using the latest stable two-decimal build

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

Re: Delete (or Recycle) dialog not modeless

Post by nas8e9 »

zer0 wrote:Nope, I don't think that is good from a UI perspective -- doesn't XYplorer already have enough tickboxes? :roll:
Do you mean that you don't see the point of allowing backgrounding to be configurable or do you reject it purely on the grounds of UI simplification?
zer0 wrote:As Status Log becomes more powerful, on-the-fly changes to various operations should be possible through its interface. Status Log itself needs to be modeless though! :wink:
In case you haven't already seen it, could you check this thread.

zer0
Posts: 2676
Joined: 19 Jan 2009 20:11

Re: Delete (or Recycle) dialog not modeless

Post by zer0 »

nas8e9 wrote:Do you mean that you don't see the point of allowing backgrounding to be configurable or do you reject it purely on the grounds of UI simplification?
Neither. I see benefit in it being configurable, but I think of such configuration being of the "set and forget" type. Thus, said setting is better suited for a CSV tweak than GUI tickboxing.
nas8e9 wrote:In case you haven't already seen it, could you check this thread.
I have seen it and I am optimistic about Status Log being live 8)
Reporting a bug? Have a wish? Got a question? Use search - View roadmap - FAQs: Forum + XY site
Windows 7/10
Always using the latest stable two-decimal build

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

Re: Delete (or Recycle) dialog not modeless

Post by admin »

zer0 wrote:
admin wrote:Another possibility would be to make it optional:

Background the following operations:
[ ] Copy
[ ] Cross-volume move
[ ] Intra-volume move
[ ] Delete
[ ] Backup
Nope, I don't think that is good from a UI perspective -- doesn't XYplorer already have enough tickboxes? :roll: As Status Log becomes more powerful, on-the-fly changes to various operations should be possible through its interface. Status Log itself needs to be modeless though! :wink:
I agree that the UI is crowded enough. I would also think that most users would have it like this (here below), or at least would not mind, so I would make this the factory default...
[x] Copy
[x] Cross-volume move
[x] Intra-volume move (why not!?)
[x] Delete
[x] Backup (has yet to be coded, of course)
... and make this changeable via tweak.

Or are there objections?

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

Re: Delete (or Recycle) dialog not modeless

Post by admin »

zer0 wrote:
nas8e9 wrote:In case you haven't already seen it, could you check this thread.
I have seen it and I am optimistic about Status Log being live 8)
If it's live then it also will be modeless.

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

Re: Delete (or Recycle) dialog not modeless

Post by nas8e9 »

admin wrote: I agree that the UI is crowded enough. I would also think that most users would have it like this (here below), or at least would not mind, so I would make this the factory default...
[x] Copy
[x] Cross-volume move
[x] Intra-volume move (why not!?)
[x] Delete
[x] Backup (has yet to be coded, of course)
... and make this changeable via tweak.

Or are there objections?
If I understand it correctly, *all* file operations will be processed in the background which can be overridden via a tweak. Great!

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

Re: Delete (or Recycle) dialog not modeless

Post by admin »

nas8e9 wrote:
admin wrote: I agree that the UI is crowded enough. I would also think that most users would have it like this (here below), or at least would not mind, so I would make this the factory default...
[x] Copy
[x] Cross-volume move
[x] Intra-volume move (why not!?)
[x] Delete
[x] Backup (has yet to be coded, of course)
... and make this changeable via tweak.

Or are there objections?
If I understand it correctly, *all* file operations will be processed in the background which can be overridden via a tweak. Great!
Yes, that's the idea. I should add that 2 of them should rather ignore queueing and always run in parallel:
[x] Copy
[x] Cross-volume move
[x] Intra-volume move (always parallel!)
[x] Delete (always parallel!)
[x] Backup (has yet to be coded, of course)

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

Re: Delete (or Recycle) dialog not modeless

Post by nas8e9 »

admin wrote: Yes, that's the idea. I should add that 2 of them should rather ignore queueing and always run in parallel:
[x] Copy
[x] Cross-volume move
[x] Intra-volume move (always parallel!)
[x] Delete (always parallel!)
[x] Backup (has yet to be coded, of course)
Perhaps not to zer0's taste, but how about two rows of checkboxes, one to set backgrounding and one to set queueing? (Just kidding! :mrgreen:)

TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Re: Delete (or Recycle) dialog not modeless

Post by TheQwerty »

Erm.. this has scripting all screwed up, this example (and many of the scripts I have) relies on the sequential order and blocking nature that Delete had.

Code: Select all

::Delete(0,1,"<focitem>");Echo("Stuff after delete...");
It's great if you want to offer the ability to throw these into the background, but this just broke a number of my scripts and the only way for me to fix it is to add another annoying dialog or go through config/toolbar button to disable and re-enable background processing before/after running scripts.

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

Re: Delete (or Recycle) dialog not modeless

Post by nas8e9 »

TheQwerty wrote:Erm.. this has scripting all screwed up, this example (and many of the scripts I have) relies on the sequential order and blocking nature that Delete had.

Code: Select all

::Delete(0,1,"<focitem>");Echo("Stuff after delete...");
It's great if you want to offer the ability to throw these into the background, but this just broke a number of my scripts and the only way for me to fix it is to add another annoying dialog or go through config/toolbar button to disable and re-enable background processing before/after running scripts.
Would Don's planned tweak (globally excluding operation types from background processing) be enough (with the disadvantage that interactive file operations are also excluded) or would an additional parameter for the Delete scripting command to select the old (sequential, blocking, not backgrounded) behaviour be more useful?

TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Re: Delete (or Recycle) dialog not modeless

Post by TheQwerty »

nas8e9 wrote:Would Don's planned tweak (globally excluding operation types from background processing) be enough (with the disadvantage that interactive file operations are also excluded)
No, certainly not as proposed. This would mean having to restart XY to change the setting just to run a script.
nas8e9 wrote:or would an additional parameter for the Delete scripting command to select the old (sequential, blocking, not backgrounded) behaviour be more useful?
Well it's tough. This decision just broke any script that relied on the blocking nature of these commands and provides no decent means aside from those I previously mentioned to get the scripts working correctly again.

I'd handle it by..
1) Add a separate tweak or additional value for the proposed tweak that will make all file ops from scripts get handled in the foreground.
2) Add a new setting for Setting() that can Enable/Disable background processing.

This means everyone with existing scripts that rely on blocking will be able to continue working by setting the tweak for scripts to foreground, and update the scripts as they have the time and then when they are ready change the tweak so it follows the user setting.

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

Re: Delete (or Recycle) dialog not modeless

Post by admin »

TheQwerty wrote:
nas8e9 wrote:Would Don's planned tweak (globally excluding operation types from background processing) be enough (with the disadvantage that interactive file operations are also excluded)
No, certainly not as proposed. This would mean having to restart XY to change the setting just to run a script.
nas8e9 wrote:or would an additional parameter for the Delete scripting command to select the old (sequential, blocking, not backgrounded) behaviour be more useful?
Well it's tough. This decision just broke any script that relied on the blocking nature of these commands and provides no decent means aside from those I previously mentioned to get the scripts working correctly again.

I'd handle it by..
1) Add a separate tweak or additional value for the proposed tweak that will make all file ops from scripts get handled in the foreground.
2) Add a new setting for Setting() that can Enable/Disable background processing.

This means everyone with existing scripts that rely on blocking will be able to continue working by setting the tweak for scripts to foreground, and update the scripts as they have the time and then when they are ready change the tweak so it follows the user setting.
1) not easy or even impossible
2) yep, will do

TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Re: Delete (or Recycle) dialog not modeless

Post by TheQwerty »

admin wrote:1) not easy or even impossible
2) yep, will do
Without 1 this is still a huge pain in the butt that forces everyone to go back in and update all of their scripts ASAP.. :evil:

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

Re: Delete (or Recycle) dialog not modeless

Post by nas8e9 »

TheQwerty wrote:
admin wrote:1) not easy or even impossible
2) yep, will do
Without 1 this is still a huge pain in the butt that forces everyone to go back in and update all of their scripts ASAP.. :evil:
Pragmatically (and depending on how big/time consuming your *interactive* deletes are), could you manage for now by setting the tweak to exclude delete operations globally?

Post Reply