Intro Download and install Frequently Asked Questions Tips and tricks

Homepage







© J.C. Kessels 2009
MyDefrag Forum
May 21, 2013, 10:04:57 am *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Some Minor BUGS (Version 4.1.2)  (Read 665 times)
Sylver
JkDefrag Supporter
***
Posts: 18


View Profile WWW
« on: August 08, 2009, 07:25:02 pm »

I tried this new version lately and noticed a couple of minor bugs:

1. The !RunTime! function displays the minutes in the seconds field and always :00: in the minutes field.
i.e. Elapsed time= 1h27m48sec shows as 1:00:27

This has showed up in a script line like this one: Title('Elapsed Time:!RunTime!')


2. The SetFileColor() doesn't repaint the files correctly after some files in the zone has been Processed even by a SortBy() action.
The problem seems that the screen needs to be refreshed after each file is processed in a zone, because if you force a refresh by making a zooming action, the file colors are reset correctly.

Tested with line like this one at the beginning of a script (VolumeActions):
SetFileColor(ALL,(Selected AND not(Processed)),160,160,255)      # Light Blue

and in the context of File action like this one:
  FileSelect
   (DirectoryName("Documents*"))
  FileActions
    SortByName(Ascending)
  FileEnd

Logged
jeroen
Administrator
JkDefrag Hero
*****
Posts: 7155



View Profile WWW
« Reply #1 on: August 08, 2009, 09:49:26 pm »

1. The !RunTime! function displays the minutes in the seconds field and always :00: in the minutes field.
Thanks for the report, I appreciate it. This has been reported before but I could not find the bug. I have taken another look and this time I saw the problem. Will be fixed in the next version.

Quote
2. The SetFileColor() doesn't repaint the files correctly after some files in the zone has been Processed even by a SortBy() action.
The files are painted correctly, but not always immediately. I have now added a repaint in 2 places in the program and I am sure this will fix your problem.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.5 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!