Page 1 of 1
SC sync "preview"
Posted: 20 Feb 2023 10:53
by Daniel0312
Hi
SC sync doesn't keep preview dialog on screen, either when switch is set to "p" or when pressing "Preview" in sync dialog when switch is set to "c".
Also, the "cp" switch doesn't pre-focus the Preview button.
Sync Folders is working fine from the Panes menu though.
Regards
Re: SC sync "preview"
Posted: 21 Feb 2023 11:36
by admin
You're right about the pre-focus. Surprisingly this NEVER worked. It was never implemented. Fix comes.
To keep the progress open pass "k" additionally:
cpk
Re: SC sync "preview"
Posted: 21 Feb 2023 17:19
by Daniel0312
Thanks for the "k" part that was right there in the help file
And the pre-focus is great in v24.10.0005 - 2023-02-21 12:26
Now the preview window stays on screen, but I have another issue
On my fully configured XY version the Reports button doesn't show the menu, nothing happens.
It works well in a fresh instance though so there must be something wrong in my settings.
Any idea what the problem could be (I can't imagine setting everything back from scratch).
Re: SC sync "preview"
Posted: 23 Feb 2023 07:39
by Daniel0312
I've been looking around XY settings, but I can't find any option that would explain this behavior.
Any hint wouild be welcome.
Re: SC sync "preview"
Posted: 23 Feb 2023 08:22
by admin

Can't explain that either.
Re: SC sync "preview"
Posted: 23 Feb 2023 09:49
by Daniel0312
I did some more testing... Source folder
When called from the Panes menu, Sync Folders works as expected : pressing the Reports button on the Preview dialog shows option for report.
I believe the following code should give the same result (?)
Code: Select all
sync "R:\TEMP\Source", "E:\TOOLS\TEMP\Dest", 1, 1, 0, "cpk";
It doesn't, nothing happens when I click the Reports button
Re: SC sync "preview"
Posted: 23 Feb 2023 09:54
by admin
No problems here.
Re: SC sync "preview"
Posted: 23 Feb 2023 10:48
by Daniel0312
great
Re: SC sync "preview"
Posted: 23 Feb 2023 12:43
by Daniel0312
Some more testing... and I think I got it !
Using SC sync, the Reports button on the Preview dialog only works when the script is launched from the main Menu bar or the address bar.
It doesn't work when using Toolbar Menu.
You solved some similar problem before
viewtopic.php?p=196860#p196860
I hope you can do something about it.
Re: SC sync "preview"
Posted: 23 Feb 2023 16:02
by admin
Yeah, you surely got it!
Can you show me the toolbar bar button definition, so I can reproduce it?
Re: SC sync "preview"
Posted: 23 Feb 2023 16:22
by Daniel0312
I use the standard Toolbar with the menu buttons
2023-02-23_160946.png
An other test :
I select a test script file containing the sync line.
Code: Select all
sync "R:\TEMP\Source", "E:\TOOLS\TEMP\Dest", 1, 1, 0, "pk";
XY menu bar / Help / List All Commands + dbl click #751 » the Reports button works fine
Toolar Menu / Help / List All Commands + dbl click #751 » the Reports button doesn't work
Re: SC sync "preview"
Posted: 23 Feb 2023 16:29
by admin
Thanks, got it. Guess I'm gonna fix it...

Re: SC sync "preview"
Posted: 23 Feb 2023 16:50
by Daniel0312
that would be good

Re: SC sync "preview"
Posted: 23 Feb 2023 21:44
by Daniel0312
fixed in 24.10.0009
thanks Don
