andrewhayden / folderslice

Automatically exported from code.google.com/p/folderslice
0 stars 0 forks source link

Gadget crashes when restarting anaylsis #16

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Drag a folder into the gadget as normal
2. Open the Details view
3. Attempt to navigate up one level

What is the expected output? What do you see instead?
Gadget fails to perform analysis.  Machines running Visual Studio see an 
error on "Line 13".

Please use labels and text to provide additional information.
Turns out the 0.9.5 attempt to detect and notify the user about when the 
gadget has changed locations was somewhat naieve.  The "top" of the gadget 
is reset to whatever coordinate the bottom of your screen happens to be 
when it is shrunk.  This runs counter to intuition, but completely 
destroys the logic in 0.9.5 that was based on changes to the top pixel 
coordinate of the gadget to figure out that the gadget had moved.

I've taken this logic out completely and replaced it with a 
generic "gadget resized" message that can now be disabled semi-permanently 
(till the gadget is manually removed from the sidebar) via Options, which 
are now implemented.

Original issue reported on code.google.com by andrew.h...@gmail.com on 9 Apr 2008 at 10:58