Why? Simply turn off Background Processing (it's turned off by factory default anyway).TheQwerty wrote: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..admin wrote:1) not easy or even impossible
2) yep, will do
Delete (or Recycle) dialog not modeless
Forum rules
READ THIS AND DO IT!!!
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%).
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.
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
READ THIS AND DO IT!!!
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%).
-
admin
- Site Admin
- Posts: 65472
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Delete (or Recycle) dialog not modeless
FAQ | XY News RSS | XY X
-
admin
- Site Admin
- Posts: 65472
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Delete (or Recycle) dialog not modeless
I personally would not have a big problem with excluding Delete by default and adding a checkbox to Configuration named "Background delete operations as well". Or even make it a tweak. I think only a few users would actually use it. There is very little point in backgrounding delete operations.nas8e9 wrote: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?TheQwerty wrote: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..admin wrote:1) not easy or even impossible
2) yep, will do
FAQ | XY News RSS | XY X
Re: Delete (or Recycle) dialog not modeless
You indicated earlier that you were considering a tweak allowing fine-grained control of which operations will be backgrounded. I personally think backgrounding all would be a sensible default, with the tweak allowing excluding specific types. Combined with the Settings command being able to include/exclude on the fly from a script and the address bar, I'd call it fully configurable. Apart from UI bloat, the frequency with which users will change these settings indeed seems too low to include it in Configuration.admin wrote:I personally would not have a big problem with excluding Delete by default and adding a checkbox to Configuration named "Background delete operations as well". Or even make it a tweak. I think only a few users would actually use it. There is very little point in backgrounding delete operations.
Re: Delete (or Recycle) dialog not modeless
That's what I've done.admin wrote:Why? Simply turn off Background Processing (it's turned off by factory default anyway).
The issue isn't just delete tasks... All scripts which relied on the blocking nature of any file op in previous versions are broken with background processing enabled.
Don't worry about it, I've disabled background processing and now have to find the time to update my scripts. Sorry for over-reacting!
But I think we still need a Setting(BackgroundFileOps, 0) command.
-
admin
- Site Admin
- Posts: 65472
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Delete (or Recycle) dialog not modeless
Yes, such a tweak will do nicely.nas8e9 wrote:You indicated earlier that you were considering a tweak allowing fine-grained control of which operations will be backgrounded. I personally think backgrounding all would be a sensible default, with the tweak allowing excluding specific types. Combined with the Settings command being able to include/exclude on the fly from a script and the address bar, I'd call it fully configurable. Apart from UI bloat, the frequency with which users will change these settings indeed seems too low to include it in Configuration.admin wrote:I personally would not have a big problem with excluding Delete by default and adding a checkbox to Configuration named "Background delete operations as well". Or even make it a tweak. I think only a few users would actually use it. There is very little point in backgrounding delete operations.
I'm just not sure about the best factory default. I don't really think many people would expect (or want) Delete to be backgrounded.
FAQ | XY News RSS | XY X
Re: Delete (or Recycle) dialog not modeless
In terms of backgrounding and queuing giving consistency problems (also known as users *trying* to do too many things at onceadmin wrote:I'm just not sure about the best factory default. I don't really think many people would expect (or want) Delete to be backgrounded.
-
admin
- Site Admin
- Posts: 65472
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Delete (or Recycle) dialog not modeless
So this will be a binary flag tweak, an OR-ing of the following values:nas8e9 wrote:In terms of backgrounding and queuing giving consistency problems (also known as users *trying* to do too many things at onceadmin wrote:I'm just not sure about the best factory default. I don't really think many people would expect (or want) Delete to be backgrounded.), out-of-order deletes have the highest likelihood to cause problems. Safety-wise, perhaps excluding deletes by default (with the possibility via a tweak to enable it) may be the best way forward.
1 [x] Backup (has yet to be coded, of course)
2 [x] Copy
4 [x] Cross-volume move
8 [x] Intra-volume move (always parallel!)
16 [ ] Delete (always parallel!)
The default will be (1+2+4+8):
Code: Select all
BackgroundOps=15FAQ | XY News RSS | XY X
Re: Delete (or Recycle) dialog not modeless
Sounds good!admin wrote:So this will be a binary flag tweak, an OR-ing of the following values:
1 [x] Backup (has yet to be coded, of course)
2 [x] Copy
4 [x] Cross-volume move
8 [x] Intra-volume move (always parallel!)
16 [ ] Delete (always parallel!)
The default will be (1+2+4+8):Code: Select all
BackgroundOps=15
Not my best thinking: this is about backgrounding. Regardless of that, deletes will always be handled immediately, out-of-order.nas8e9 wrote:In terms of backgrounding and queuing giving consistency problems (also known as users *trying* to do too many things at once), out-of-order deletes have the highest likelihood to cause problems. Safety-wise, perhaps excluding deletes by default (with the possibility via a tweak to enable it) may be the best way forward.
XYplorer Beta Club