I see the same issues on my linux installation - including the weird 
keyboard behavior.  I didn't see error messages about fonts, though.

On Sunday, May 9, 2021 at 10:41:48 AM UTC-4 [email protected] wrote:

> From scanning the web, it seems that the unsupported font problem may  be 
> related to Qt using DirectWrite.  With QT on its own, there may be a way to 
> disable it.  With pyqt6, it is likely to be something that has been 
> compiled in (though I'm not sure).  
>
> Since my standard Consolas font doesn't work with the current PyQt6, the 
> fallback is used, which may be Courier New - I'm not sure but I don't like 
> it much, whatever it is.
>
> On Sunday, May 9, 2021 at 10:00:03 AM UTC-4 [email protected] wrote:
>
>> As to the bad characters being injected, I wrote a tiny pyqt6 app with 
>> only a text edit widget, not even a main window.  It did not have the 
>> anomalous behavior, and the key codes it returned were as expected.  That 
>> makes it seem that Leo is doing something, not the Qt widgets.
>>
>> On Sunday, May 9, 2021 at 7:30:51 AM UTC-4 Edward K. Ream wrote:
>>
>>> On Sat, May 8, 2021 at 11:07 PM [email protected] <[email protected]> 
>>> wrote:
>>>
>>>> I just installed PyQt6.02 on Windows.  Leo opens and runs, but remember 
>>>> that weird behavior, where pressing the CNTL key deleted the selection and 
>>>> inserted strange characters?  I'm still getting variations of that in all 
>>>> panes, he exact details depend on which keys are pressed with CNTL.
>>>>
>>>> Leo 6.4-devel, ekr-qt branch, build aba21c2a12
>>>>
>>>> I got a series of font error messages:
>>>>
>>>
>>> Thanks for this report. Clearly, not all is well with the Qt6 code. 
>>> Otoh, the workaround will be to install Qt5, so I still plan to merge the 
>>> ekr-qt branch into devel tomorrow.
>>>
>>> Edward
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/a13059dc-84f7-41ce-ba3f-2acd7f5cd8d8n%40googlegroups.com.

Reply via email to