wintin Forum Index wintin
Wintin Discussion Forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

2.06 [Script Explorer] -- exception on navigating tree

 
Post new topic   Reply to topic    wintin Forum Index -> Bug Reports
View previous topic :: View next topic  
Author Message
zephyr
Juggernaut


Joined: 08 Jan 2007
Posts: 145

PostPosted: Wed Jan 17, 2007 3:24 pm    Post subject: 2.06 [Script Explorer] -- exception on navigating tree Reply with quote

Code:
System.InvalidCastException: Specified cast is not valid.
   at ScriptEngine.VisualScripts.tv_DoubleClick(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnDoubleClick(EventArgs e)
   at System.Windows.Forms.TreeView.WndProc(Message& m)
   at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Directions to trigger the above exception:
    Probably not necessary, but just so we start with the same clean slate, delete defaultscripts.ws and defaultwindow.ws, then start wintin so that it recreates the files.

    Enter: #alias foo test

    In the Script Explorer, click the + to expand the outermost parent group on the tree, Untitled.

    Click the + to expand (ungrouped)

    Click the + next to Alias multiple times, expanding and collapsing the branch, until you generate the exception.
Back to top
View user's profile Send private message
zephyr
Juggernaut


Joined: 08 Jan 2007
Posts: 145

PostPosted: Sat Jan 20, 2007 7:26 am    Post subject: Reply with quote

Actually, looking at the exception (the DoubleClick bit in there) and then retesting this clicking very slowly, it seems single clicks don't trigger the exception. It's clicking fast enough on the + next to Alias so that it's interpreted as a double click (and it seems every double click causes the exception to be thrown).
Back to top
View user's profile Send private message
zephyr
Juggernaut


Joined: 08 Jan 2007
Posts: 145

PostPosted: Mon Jan 22, 2007 9:02 pm    Post subject: Reply with quote

After updating to 2.07, I tested double-clicking through all my groups, expanding and collapsing everything in my script explorer tree. Everything is working great so this is resolved for me.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    wintin Forum Index -> Bug Reports All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group