PC Drive Cleaner at SirSoft.io (SirCleaner)

Discussion in 'other software & services' started by stapp, May 12, 2025.

  1. Hadron

    Hadron Registered Member

    Joined:
    Apr 1, 2014
    Posts:
    2,398
    Change this attached .txt file extension to .mp4.
     

    Attached Files:

  2. SirShane

    SirShane Developer

    Joined:
    Jan 2, 2011
    Posts:
    105
    Location:
    Oregon
    I see! So when clicking on it, instead of the drop down menu it scans again instead and then the menu shows up.

    That is an odd one. Now I need to see if I can get it to happen. Odd thing is the drop down arrow calls a different event than the button itself.

    Let me see what I can figure out. Does it do it every time? From the video size im guessing your screen is 1920 x 1080 and icons look normal size so DPI is set to 100%?
     
  3. Hadron

    Hadron Registered Member

    Joined:
    Apr 1, 2014
    Posts:
    2,398
    Yes, it happens every time, and you're right about my screen resolution.
     
  4. SirShane

    SirShane Developer

    Joined:
    Jan 2, 2011
    Posts:
    105
    Location:
    Oregon
    I am trying everything to replicate the problem, I cant get it to behave the way it is for you.
    That button is a pushbutton from the codejock controls I use. I have a feeling its a bug in the pushbutton control.

    From the looks of the video it seems like the control is calling the click event and then the dropdown event. The reason why is because the drop down menu is destroyed when you click it or click away from it. So the fact that it is showing AFTER the button goes invisible and then visible and then the menu shows tells me the dropdown event is being called after.

    But why is it happening to you is the question. Why is the control calling both events instead of the just the correct one.
    If I can figure that out then I should be able to replicate it, and if I can replicate a problem that means I can fix it.

    Do me a favor and re-download SirCleaner, portable version. Extract it to its own folder and try it.
    Can you also post a screen shot of the SirCleaner folder contents you are using now as well? I want to see if the v19 codejock control is in there with the v20. I have my updater remove it when someone auto updates.
    But if the SirCleaner you re-download works fine, but your current doesn't then that could be a lead to follow...

    This is the code for the button, as you can see very very simple. But you will see the click event and the dropdown event. It should only be calling one of them, not both like it looks like.

    ( Little side note, you will notice the clean button is named b2CommandClean, this is how my program knows to set the import buttons colors from the color settings :) )

    Private Sub CommandScanAgain_Click()

    On Error Resume Next

    b2CommandClean.Visible = False
    CommandScanAgain.Visible = False
    DoEvents

    Call ScanCleaner

    End Sub

    Private Sub CommandScanAgain_DropDown()

    On Error Resume Next

    ScanAgainPopupButtonMenu CommandScanAgain
    Unload FrmMenu
    Set FrmMenu = Nothing
    DoEvents

    End Sub
     
  5. Hadron

    Hadron Registered Member

    Joined:
    Apr 1, 2014
    Posts:
    2,398
    I'm gonna try a reboot before anything else.
    Nothing else is performing odd, but it's been a few days since I rebooted. I only reboot when necessary.
     
  6. SirShane

    SirShane Developer

    Joined:
    Jan 2, 2011
    Posts:
    105
    Location:
    Oregon
    Worth a try. From the video its been 3 days since your last reboot lol

    I always loved adding the time of last system restart to the program. When I run it on a customers computer it lets me know right away how long its been, and with Windows, reboots are needed because of unknown memory leaks and when things start to misbehave. Lots of times it is drivers that causes the issues when being on for a long time, that's why Windows server is very very picky about drivers.
     
  7. Hadron

    Hadron Registered Member

    Joined:
    Apr 1, 2014
    Posts:
    2,398
    Well, I rebooted and the problem is gone.
    Sorry for the false alarm. But I had no other noticeable issues.

    Yes, I like seeing "Time Since Last System Restart" too.
     
  8. SirShane

    SirShane Developer

    Joined:
    Jan 2, 2011
    Posts:
    105
    Location:
    Oregon
    Reboot saves the day again lol.

    No worries, at least now I can stop freaking out that something is broken lol
     
  9. Hadron

    Hadron Registered Member

    Joined:
    Apr 1, 2014
    Posts:
    2,398
    That's Windows for you. :argh:
     
  10. SirShane

    SirShane Developer

    Joined:
    Jan 2, 2011
    Posts:
    105
    Location:
    Oregon
    Well if it matters at all...lol

    When customers ask me (When i fix their system or build them a new tower) should they just leave the computer on.

    My answer is no, and if they do leave it on reboot at least once a day if possible because I know how Windows gets the longer it is on.

    Then they say, well I heard it was better to leave it on.
    I tell them, yes it used to be, in the late 90's and early 2000's.
    Back then every time you turned your system on, that initial jolt of electricity would wear out the components a little quicker. So instead of a system lasting 5 to 7 years it might last 3 to 5 years. And with computers back then costing insane amount of money for the time, it was better to leave them on all the time and pay the electric bill on it then it was to have the components wear out.
    But as technology got better so did the components And now they don't get worn out like they used to when you turn them on and electricity is drastically more expensive.
    Systems will actually last longer now if you don't have them on all the time.
    But if a system needs to be on all the time try to reboot at least once a day.

    Anyways thats just my opinion on it and from things I researched like YEARS ago. My information could be wrong now, who knows. I just know the systems I build my customers last over 10 years thanks to it.
     
  11. Hadron

    Hadron Registered Member

    Joined:
    Apr 1, 2014
    Posts:
    2,398
    My three desktop computers stay on all the time, unless there is a need for a reboot such as an update or a problem. I just put them to sleep.
    My laptop doesn't stay on, because there are battery life issues to think about.
     
  12. SirShane

    SirShane Developer

    Joined:
    Jan 2, 2011
    Posts:
    105
    Location:
    Oregon
    Well at least you know if something isnt right, even if its one thing, reboot first and then see lol

    Only reason I don't do sleep mode, actually hibernation mode, is because drivers, half the time the system won't come put of hibernation. Sleep mode is better but even then I don't use sleep mode. Always have odd random problems when coming back from sleep or hibernation.

    But sleep and hibernation help offset the electric cost just like shutting down. So that's a plus.

    The only difference with shutting down is keeping Windows from slowly freaking out lol.

    If anything thats probably my main reason for telling my customers if they dont need it on, shut down. Because I know Windows!

    And since I can't keep an eye on the systems and they don't know to reboot if something is wrong, its just better to have them shutdown.

    But I leave my system on for days at a time because of work. So I understand.

    Anyways, sorry for the subject change, you made the tech in me come out haha.

    Hope you like the new version of the program. I'm glad we got the problem figured out.
     
  13. Hadron

    Hadron Registered Member

    Joined:
    Apr 1, 2014
    Posts:
    2,398
    I don't pay for electricity. They pay me. My roof has numerous solar panels. In fact, I've forgotten how many. It's been that long.
     
  14. SirShane

    SirShane Developer

    Joined:
    Jan 2, 2011
    Posts:
    105
    Location:
    Oregon
  15. Tarnak

    Tarnak Registered Member

    Joined:
    Feb 5, 2007
    Posts:
    5,557
    Reading your Help - Getting Started, there is something about - "best choice is to click on presets and click Default"

    I am confused because I don't see that option as per my screenshot:

    SirCleaner_Settings_presets choosing_01.JPG
     
  16. SirShane

    SirShane Developer

    Joined:
    Jan 2, 2011
    Posts:
    105
    Location:
    Oregon
    It's in the zip file and the installer and when you use the updater. If
    It's under the preset folders. I added more color presets as well and things like that So if anyone manually updated just the EXE but didn't copy over all the other stuff it might be missing.
     
  17. SRT

    SRT Registered Member

    Joined:
    Feb 28, 2021
    Posts:
    163
    Location:
    USA
    Thanks, I thought settings were preserved when installing a new version :oops:.
     
  18. SirShane

    SirShane Developer

    Joined:
    Jan 2, 2011
    Posts:
    105
    Location:
    Oregon
    Settings are stored in the settings.ini file in the program folder, when the program updates or you use the installer it won't overwrite the settings file, but if it does get overwritten, such as by copying and pasting it can get overwritten. :)
     
  19. Tarnak

    Tarnak Registered Member

    Joined:
    Feb 5, 2007
    Posts:
    5,557
    I didn't run the test version on my other laptop, so when I updated, it had no problem with preset folders. No problem accessing/finding default.

    So, I shouldn't have any future problem with what to do in copy/pasting the relevant files in addition to "just the EXE".

    SirCleaner_other laptop_with default preset_01.JPG

    SirCleaner_other laptop_with default preset_02.JPG

    SirCleaner_other laptop_with default preset_03.JPG
     
  20. SirShane

    SirShane Developer

    Joined:
    Jan 2, 2011
    Posts:
    105
    Location:
    Oregon
    25 sec to scan but 3 min to delete? That doesn't seem right. Although deleting does normally take longer as its actually writing to the drive, but still for that few of files that feels long.

    Are you on ssd?

    On my test systems, one with ssd and the other nvme deleting 500k files on ssd took 7 min and on nvme 500k files took 4 min.

    So 3 min to delete 12k seems off.
     
  21. Tarnak

    Tarnak Registered Member

    Joined:
    Feb 5, 2007
    Posts:
    5,557
    This is a small capacity drive, but it is SSD as detailed by PowerShell:

    SirCleaner_other laptop_with default preset_04.JPG
     
  22. SirShane

    SirShane Developer

    Joined:
    Jan 2, 2011
    Posts:
    105
    Location:
    Oregon
    Looks like and older one with it being only 120gb. That might explain the slow down on the deleting.
     
  23. Adric

    Adric Registered Member

    Joined:
    Feb 1, 2006
    Posts:
    1,803
    Splash screen still appears even when Don't Show Splash Screen selected in settings on my system
     
  24. SirShane

    SirShane Developer

    Joined:
    Jan 2, 2011
    Posts:
    105
    Location:
    Oregon
    You are right!
    That is because when I redid a lot of the code I have the show splash screen above loading the setting to the check box. Easy fix. I will have it fixed in the next update!
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.