asciidocfx / AsciidocFX

Asciidoc Editor and Toolchain written with JavaFX 21 (Build PDF, Epub, Mobi and HTML books, documents and slides)
http://www.asciidocfx.com/
Apache License 2.0
1.86k stars 297 forks source link

search: wrong set of focus in edit window. #642

Closed newbie-02 closed 1 day ago

newbie-02 commented 1 month ago

I frequently experience two misbehaviors which I assume related:

  1. opening the search box by crtl-F the focus does not! switch to that box, and subsequent typing of the item to search goes somewhere else or 'nirvana'.

  2. having the search box open, some text in it and wanting to change, cursor behind the search text and tipping backspace: the edit window jumps to a new finding of the shortened search, the focus switches to the edit window at that position marking the search, and subsequent backspaces delete first that part, and then text left of that. Esp. annoying when you press and hold backspace in intention to clear the search box in total by auto-repeat.

Both not! clearly reproducible, mostly observed in a lengthy ( >300k ) document with some complexity ( includes, tables, images ... ) and the preview window open on a quite powerful machine but which is between 30 and 90 percent load by continuous re-rendering ( fans on! ). Another special point is a key-repeat of 100 per second, but the problem also occurs a short tippings which don't trigger repeat.

Both mostly not happening in a fresh started AsciidocFX, but after some time and a 'switchpoint' nearly reproducible.

Observed in ver. 1.8.8 and 1.8.9, but in earlier times my documents where quite simplier.

Pls. be tolerant if 'me bad', e.g. not found an existing feature, that's always an option but not intentional.

newbie-02 commented 1 day ago

seems vanished with ver. 1.8.10, closing for the moment, thanks to whoever changed whatever ... :-) :-) :-)