CudaText
CudaText copied to clipboard
macOS: no caret visible until focus is changed, Options Editor Lite
by @veksha - In 'Options Editor Lite' Filter field has no caret until you change focus to another control and back.
@veksha I suspect that my control don't get the OnEnter event on showing of the dialog. let's test simple demo on Mac. FYI: in the Project options, you can find the button "Create appliation bundle" in MacOS settings. do it.
it shows Form1, press the button - it will show Form2. Give the screenshot of Form2 after show - I want to see 'OnEnter' text in the first input.
gtk2 works ok:


FYI: in the Project options, you can find the button "Create appliation bundle" in MacOS settings. do it.
what does it do? I don't know what is application bundle.
'application bundle' is a folder with extentsion .app - macOS treats it as exe-file. OK, app-bundle is not needed if you already run it.
modified demo - now witth ATSynEdit! tst-OnEnter2.zip
- first input shows 'OnEnter'?
- caret is blinking in it?
- first input shows 'OnEnter'?
- caret is blinking in it?
yes / yes
PS: I don't know if it is a bug or what. in CudaText(in macos) I don't remember such glitch. it happens on clicking:
OK, app-bundle is not needed if you already run it.
running through Lazarus, (installed fpc lldb debugger package)
Now I am puzzled why demo works good, and OptionsEditor has no blinking.
maybe because it is combo box?
tested with atcomboedit, no issue.
last months, i made some fixing for OnEnter for Mac. seems it helped here too. i cannot replicate this bug on 1.183 on macOS 10.11. solved.
@veksha you posted videos with bad black BkGnd of edit controls. pls check it again and make a new issue.