FLTK logo

Re: [fltk.general] trouble with tree: vanishing cursor and focus problems

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.general  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: trouble with tree: vanishing cursor and focus problems Ian MacArthur May 21, 2021  
 
On 21 May 2021, at 17:24, lifeattickville wrote:
> 
> I'm attaching my stripped down program. To reproduce the issue, do the following:
> 1. run the program
> 2. Make sure the item "Outline" is selected. [shows in green]
> 3. Press enter. A new item is created: a Fl_Input appears, enter some text. Press enter.
> 4. The new item should be highlighted in green at this point. Repeat step 3 a couple of times. You should have three tree child items with text.
> 5. With the mouse, click on the 2d item to select it, then click again to RE-select it.
> 6. The Fl_input appears: start typing some text.
> 
> As soon as I start typing text at step 6, the mouse disappears. Pressing enter to finish editing doesn't restore the mouse; up and down arrow work to move the selection focus among the tree items but pressing space twice on a focused item doesn't RE-select it.

Though I note that if I click out of the edit box at step 6, the mouse re-appears and works normally.
I speculate that the code still thinks the Fl_Input widget has the focus in some way, and hence that the cursor is suppressed.
The mouse does not disappear until the edit box is dismissed, it is still visible whilst he edit is in progress.




-- 
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/534C306E-47ED-48E1-9A13-20B38212D44A%40gmail.com.
Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.