iup icon indicating copy to clipboard operation
iup copied to clipboard

Tree Example on Windows: branchopen-callback never called back

Open defunkydrummer opened this issue 6 years ago • 6 comments

FYI -

Tree example is not filling out the trees properly.

Clicking on a directory doesn't enter the branchopen-callback function.

See image:

image

Impl: CCL64 bits latest version on Win10

defunkydrummer avatar May 15 '19 16:05 defunkydrummer

Thanks for the bug report! Will look into it today

lispnik avatar May 15 '19 20:05 lispnik

Hello, the same on Linux SBCL 1.4.5 debian x64 for me.

vindarel avatar May 15 '19 22:05 vindarel

I'm struggling to reproduce this one. I am curious about what your exact action is: Clicking on a node (one left mouse click) will move the selection, but not open the node. Pressing RETURN key on a node should trigger a branchopen callback. Also, clicking + next to a node (when there is one) will trigger a branchopen callback.

lispnik avatar May 16 '19 16:05 lispnik

Cool I can reproduce it on Linux at least

lispnik avatar May 16 '19 16:05 lispnik

Pressing RETURN key on a node should trigger a branchopen callback.

I did not know that! (there's no manual...)

I'll try again and report.

Note that directories that contain lots of files are not displayed with a "+" or similar icon that would show that it can be opened.

defunkydrummer avatar May 16 '19 21:05 defunkydrummer

Err so problem on windows. I had the sound on this morning and it beeps at me every time I press enter in the tree. btw, the manual describes the behaviour of keys under the Navigation section: https://webserver2.tecgraf.puc-rio.br/iup/en/elem/iuptree.html I thought it was supposed to just follow the native controls behavior, but maybe not. Extra digging required.

There's another example, in issue/29 branch that is a more comprehensive example btw

lispnik avatar May 17 '19 14:05 lispnik