Page 2 of 2

Posted: 11 Aug 2006 12:55
by admin
surrender wrote:And Thanks for the "calculate selected folder sizes" option. Saves a lot of time. Cute toolbar icon too. :D
The feature/button is ultra-cool. However, I find the "selected" part sometimes irritating; it's weird to have to first unselect all folders, in order to "calculate all folder sizes"... hm :?

Posted: 11 Aug 2006 16:36
by jacky
admin wrote:The feature/button is ultra-cool. However, I find the "selected" part sometimes irritating; it's weird to have to first unselect all folders, in order to "calculate all folder sizes"... hm :?
Hell yeah, nice button, faster feature, works on selection, it's all awesome!! :D Thanks Don!

About the "having to unselect", doesnt bother me much; and it's just like when you wanna do a quick search (with Ctrl+G for example), gotta make sure no folders are selected first! ;) (actually, that goes for a "full search" too)

hmm.. Little "bug" somehow: I go to my R:\ and press Shift+F5 --> works fine. I go there and use the new TB button, it calculates all the folder sizes, and then XY disappear without saying a word!! :shock:

I got no idea where this come from. For a while, I started XY: Shift+F5 (on R:\) would work all the time, while the button would make XY dispappear all the time.
I tried by selecting all the folders, same.

Did some other things, didn't keep track of it all but it included browsing a bit on drive R and running a search on R:\ including subfolders; and now both Shift+F5 and the button works fine!!

But, went on another drive, press the button, XY disappeared again! Start it up again, wentback there, press the button again, this time it worked! :shock:
I gotta say on this last one I'm not sure all the sizes had been calculated, but on the R: I think so as the total size (statusbar) stated so.

I am clueless on this one :?

Posted: 11 Aug 2006 19:39
by admin
jacky wrote:hmm.. Little "bug" somehow: I go to my R:\ and press Shift+F5 --> works fine. I go there and use the new TB button, it calculates all the folder sizes, and then XY disappear without saying a word!! :shock: ...
Hmmm -- clueless as well. Did you try different sort orders? Calculation always start on top of the list and works down. If it always disappears after all calculations then the problem must be somewhere, well, after all calculations ...

Posted: 11 Aug 2006 20:11
by jacky
admin wrote:Hmmm -- clueless as well. Did you try different sort orders? Calculation always start on top of the list and works down. If it always disappears after all calculations then the problem must be somewhere, well, after all calculations ...
Well, problem is it doesn't happen all the time, which doesnt help for testing.
ie right now it works fine from R:\ all the time it seems!

I tried on another drive and I saw every sizes being added to the list but the last one, and XY disappeared before filling it in.
Restart it & tried again, but it went fine this time...

Tried on another drive again, and used modified as sort order (also scroll all the way down to see when it happend, if it did) and it did, but somewhere near the end (ie not the last one as before, there was proly something like 8 folders maybe yet to have their sizes calculated).

What I think I can say for sure though, is that it NEVER happens if I do Shift+F5, only using the TB button.

Posted: 11 Aug 2006 20:33
by admin
jacky wrote:What I think I can say for sure though, is that it NEVER happens if I do Shift+F5, only using the TB button.
So it might be the toolbar :? ... I can't find it, but maybe you can watch the mouse very carefully and see a connection between mousedown/up/move and the crash? But it's very improbably, so give up early :wink:

Posted: 11 Aug 2006 21:49
by jacky
admin wrote:So it might be the toolbar :? ... I can't find it, but maybe you can watch the mouse very carefully and see a connection between mousedown/up/move and the crash? But it's very improbably, so give up early :wink:
Ok, I have something... right now I do this:
- start XY
- click on the TB button and "draw circles" with the mouse while sizes are being calculated (Im over the tree when I do this)
- XY disappear at or near the end (depending on the folder(s) it seems)

But:
- start XY
- take good care of not moving the mouse after I clicked
- works!!

Note that the "draw circle" is for testing purpose, I didn't draw any circles when it first happens, but I dont know "how much" needs to be done so I went with that as a "reproducible" way to go

Still, its linked to the TB because:
- start XY
- go put the mouse over the TB button, but I dont click it I press Shift+F5 instead, and then and "draw circles" with the mouse while sizes are being calculated as previously
- it works just fine!!

So it seems to be linked to the mouse somehow, but only happens when the "Calculate" is triggered through the toolbar...

Posted: 12 Aug 2006 09:05
by admin
Got it!! It's the separators... :D

Code: Select all

    ! Toolbar: if you trigger a task (click a button) and the mouse is 
      over a toolbar separator in the moment when the task is finished, 
      the app crashes. It also crashes (again in the moment when the 
      task is finished) when the mouse has left the toolbar area last 
      moving over a separator (while the task is running). Fixed.
Great find, jacky! This bug is as old as the toolbar has separators.

Posted: 12 Aug 2006 16:45
by jacky
hmm well, I did try it a little, seems it's all gone yeah!! :D Nice work as always 8)

(allthough i have to say, my toolbar doesnt actually have any separators....)

Posted: 12 Aug 2006 17:17
by admin
jacky wrote:(allthough i have to say, my toolbar doesnt actually have any separators....)
Haha! Then I conclude: your mouse left the toolbar via those 2 pixels right of the right-most button! :)

a VERY important issue!! :P

Posted: 12 Aug 2006 18:24
by jacky
admin wrote:
jacky wrote:(allthough i have to say, my toolbar doesnt actually have any separators....)
Haha! Then I conclude: your mouse left the toolbar via those 2 pixels right of the right-most button! :)
hmmmm... I kinda doubt it cause I have 2 buttons on the right of "Calculate..." ; maybe it works also with the pixels on the bottom of the buttons?? :roll:

Re: a VERY important issue!! :P

Posted: 12 Aug 2006 18:38
by admin
jacky wrote:
admin wrote:
jacky wrote:(allthough i have to say, my toolbar doesnt actually have any separators....)
Haha! Then I conclude: your mouse left the toolbar via those 2 pixels right of the right-most button! :)
hmmmm... I kinda doubt it cause I have 2 buttons on the right of "Calculate..." ; maybe it works also with the pixels on the bottom of the buttons?? :roll:
Hehe. Okay, let's play Sherlock Holmes: if your toolbar is arranged to the right of the address bar (or the tabs) then there are also 2 pixels at the left end of it. But to the bottom: no.

Re: a VERY important issue!! :P

Posted: 12 Aug 2006 19:12
by jacky
admin wrote:Hehe. Okay, let's play Sherlock Holmes: if your toolbar is arranged to the right of the address bar (or the tabs) then there are also 2 pixels at the left end of it. But to the bottom: no.
Well, no luck Sherlock ;) I sure am glad its fixed, but that's still not it :P

Image

And I used to click the button, and basically leave the TB by moving the mouse down and then "circle" on the treeview right under... No right (or left) of the TB, and no separators. 8)

Re: a VERY important issue!! :P

Posted: 12 Aug 2006 19:50
by admin
jacky wrote:
admin wrote:Hehe. Okay, let's play Sherlock Holmes: if your toolbar is arranged to the right of the address bar (or the tabs) then there are also 2 pixels at the left end of it. But to the bottom: no.
Well, no luck Sherlock ;) I sure am glad its fixed, but that's still not it :P
:? Ok, I give up. Confess: you lie! :wink:

Re: a VERY important issue!! :P

Posted: 12 Aug 2006 20:05
by jacky
admin wrote: :? Ok, I give up. Confess: you lie! :wink:
Nope. You just also fixed a bug that is still unidentified to this day... ;)
Anyways, it's gone so it's all good! :D