PDA

View Full Version : Drag and drop



MMcM
May 13th, 2005, 02:01 PM
I just noticed that drag and drop does not work on my system from the Actions pane into a group (A17 in Expert mode). I don't know when it did work, since I have only been editing existing test scripts. This system is Win2K, which might be a factor. (It's also just possible that I forgot how the new UI is supposed to work.)

Ron
May 13th, 2005, 02:17 PM
Darn, on XP it works. I'll see if I still have that copy of 2k.

Ron
May 13th, 2005, 02:17 PM
Before I do that, did you drop it on the name of an action?

Does a double click in the action pane work (make sure you have an action or a group selected)?

MMcM
May 13th, 2005, 03:49 PM
So I don't waste your time with a possible misunderstanding, here is what I am trying.


File > New
New group is selected below new1.gml
Double click Scripting. Nothing happens. No selection feedback from single click half.
Right click on Scripting does nothing. (Should it?)
Click and drag on Scripting. No dragging feedback. (Should be, right?)
Release on New. Nothing happens.

Ron
May 13th, 2005, 03:52 PM
That is weird, so even double clicking on the action list doesn't do anything? Did this work for you before?

Dragging and drop should give some feedback yes. Rigth click doesn't do anything at the moment in the action pane.

MMcM
May 13th, 2005, 04:14 PM
Right. Double click does nothing.

I am 90% sure that this worked before, in some earlier alpha. It's hard to say which, though, since once I started working on the plug-ins, I just used the G3 scripts to test the specific editors.

Ron
May 13th, 2005, 04:24 PM
Can you run the this Girder with a debug viewer active (Sysnternals has a good one).
http://www.promixis.com/girderplugins/Girder4a17b.zip

Then try the double clicking and see what feedback you get.

Also please try to:

* delete varstate.bin
* delete logstate.bin
* delete in the registry: HKEY_CURRENT_USER\Software\Promixis\Girder\4\ui
* Remove all plugins from the plugin dir.

MMcM
May 13th, 2005, 04:39 PM
Starting up, I get these four debug messages.


%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s %s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s
%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s %s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s
%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s %s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s
%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s %s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s


I deleted everything you said. I got rid of everything in the Plugins directory. That fails to start up because of a missing import from AudioMixer.dll. So that is all that is in the directory now.



gir_open failed: C:\Program Files\Girder4\plugins\AudioMixer.dll


I guess that's because it imports something else.

Now double clicking on Scripting.



DBLCLK 1
DBLCLK 2


But still nothing happens in the selected New group.

Ron
May 13th, 2005, 04:42 PM
Please try this:

Add a file
Click on the group 'New' with your mouse to make sure this is selected ( please click even if it seems the thing is selected )
then double click again.

MMcM
May 13th, 2005, 05:13 PM
No difference.

Ron
May 13th, 2005, 05:18 PM
Amazing.

Try this one:

http://www.promixis.com/girderplugins/GirderA17c.zip

Let me know what debug output you are getting.

MMcM
May 13th, 2005, 05:26 PM
DBLCLK 1
DBLCLK 2
SNode = nil

Ron
May 13th, 2005, 06:20 PM
Lovely. Of course my windows 2k version is dutch and an upgrade, for which I have no matching Windows 9x here in the US. It's in the attic of my parents back in Holland.

Ron
May 13th, 2005, 06:21 PM
When you double click in the main tree, does that bring up a window?

Ron
May 13th, 2005, 07:19 PM
Mike, hopefully the last one. I updated the Treeview control a little while ago. Maybe that is the problem, I have backed out of that update and recompiled Girder. Please test if this one works for you.

http://www.promixis.com/girderplugins/Girdera17e.zip

MMcM
May 13th, 2005, 09:13 PM
Double click on an existing action in the main window has never been a problem.

With A17e, double click in the Action pane works again, creating a new node in the selected group and opening its editor. Drag and drop still does not seem to work, though.

Ron
May 13th, 2005, 10:57 PM
Well that is something at least. Thank god for revision control.

Please try the girder below and copy and paste the debug output.

1. Try to do the double click again. (Just to make sure)
2. Try dragging an action from the action list to the new group.

Is the drag initiated at all?

http://www.promixis.com/girderplugins/Girder4a17f.zip

MMcM
May 13th, 2005, 11:38 PM
Double click (which still works):


ActionTreeDragAllowed 1
ActionTreeDragAllowed 2
ActionTreeDragAllowed 3
New node has been focused
DBLCLK 1
DBLCLK 2
DBLCLK 3
DND 1
DBLCLK 4
DBLCLK 5
DBLCLK 6
DBLCLK 7
new1.gml:\New\Scripting
DBLCLK 8
DBLCLK 9
DBLCLK 10


The mouse down that would initiate the drag starts the same, viz.


ActionTreeDragAllowed 1
ActionTreeDragAllowed 2
ActionTreeDragAllowed 3

there is still no drag feedback and nothing happens on release.

Ron
May 15th, 2005, 09:44 AM
Mike,

I finally gotten around to installing Win2K, and I tried Girder 4 a 17 without any of the fixes above and the thing works just fine. Is there anything special about your version of 2k?

MMcM
May 15th, 2005, 01:27 PM
Okay, now I see what is going on.

It does not work to initiate a drag from the icon. The mouse down has to be on the name. (This is the opposite of many Microsoft programs, where only the icon works.)

Double click on the name also always works.

If the node is already selected in the action page tree, then double click on the icon also works. However, since the initial click of the double click does not select the node, double clicking is not reliable there.

With the older tree control that you had me try, clicking the icon selected the node, which made double click on the icon work reliably.

I do not know whether any of this is Win2K specific.

Ron
May 15th, 2005, 01:30 PM
Ah. no that is not win2k specific, winXP does the same.

Ron
May 18th, 2005, 03:49 PM
Fixed in release 18.