yad icon indicating copy to clipboard operation
yad copied to clipboard

Focus field problems in notebook or paned

Open marlemion opened this issue 3 years ago • 2 comments

One can make a notebook or paned view using form fields, e.g.

yad --plug=1 --tabnum=1 --form --focus-field=1 --field="TESTFIELD 1" "MAMA" &
yad --plug=1 --tabnum=2 --form --field="TESTFIELD 2" "MAMA" &
yad --paned --key=1 --width=700 --height=700 --active-tab=0

The problem is that while the field is selected (i.e. the text is marked) I still cannot start typing in the field. I have to either use the mouse to click into the field or to use the arrow keys (i.e. up and down) to activate the field for typing.

It should be noted that this works with a simple form field flawlessly (i.e. fire up the program, start typing and the field is accessed and filled). The idea is to provide a mask to login to some service without the need of clicking into the form to activate the field. However, I need to reorganize due to too many options (therefore a paned, notebook or even a combined view (what does not seem to be possible) is necessary).

Is this behaviour a bug? It at least looks to me.

yad --version
7.3 (GTK+ 3.24.23

marlemion avatar Dec 09 '20 10:12 marlemion

please check aac308b

v1cont avatar Mar 10 '21 10:03 v1cont

Hi, sorry for the late answer. I have tested this with current git, same behaviour. If you execute the example above, you will not be able to directly start typing right away.

marlemion avatar Sep 23 '21 14:09 marlemion