|
Post by tsh73 on Mar 27, 2021 14:25:25 GMT -5
(actually same problem in LB5-351 32bit)
Program has a button with [ clear ] branch and after drawing it stops at Input, then goes [ draw ] branch I just added print "do Draw" print "do Clear" just after labels, and print "got Enter" after input.
Problem: if I run a program, it stays on input. I press Enter on a mainwin Program draws on existing picture my prints shows "got Enter", "do draw"
But if I ever press Clear button - next Enter in a mainwin does not goes in this route (input/ got Enter / draw) but rather goes along button click (do Clear/ do Draw), clearing window every time.
Expected: if focus is in a mainwin, Enter should go to Input, not on button Clear highlighted in another window.
|
|
|
Post by Carl Gundel on Mar 27, 2021 14:54:28 GMT -5
(actually same problem in LB5-351 32bit) This program was written by a community member (Rod), and it's more of a fun demonstrator than anything else. If Rod doesn't mind, please consider yourself invited to create a more developed version of it and I'll include it in the next build.
|
|
|
Post by Chris Iverson on Mar 27, 2021 15:03:38 GMT -5
He's not reporting a bug in the demo program, it looks like he's reporting a bug in LB5.
Focus isn't being returned to the mainwin properly after interacting with a GUI element seems to be what he's saying.
I'll test myself when I get home.
|
|
|
Post by tsh73 on Mar 27, 2021 15:09:30 GMT -5
Yes, thanks Chris. I run example programs and spot the bugs. It is LB bugs I think.
|
|