PyQt6 Not toggling "bold" text.

Charles peacech at gmail.com
Fri Jan 26 13:00:32 GMT 2024


> For your code, I hit "crtl-b" twice and it goes bold and stays bold. I
wonder if maybe there's a bug on the MacOS version? What version of PyQt6
do you have?

Yes, like a normal rich text editor. Windows 10, python 3.12.1 x64, PyQt
6.6.1.

On Fri, Jan 26, 2024 at 7:55 PM Ovid <curtis.poe at gmail.com> wrote:

> On Fri, Jan 26, 2024 at 1:44 PM Charles <peacech at gmail.com> wrote:
>
>> It works for me though:
>>
>> <code snipped>
>
> Weird! So you can select text, hit "ctrl-b" twice and see the text go bold
> and then revert to normal?
>
> For your code, I hit "crtl-b" twice and it goes bold and stays bold. I
> wonder if maybe there's a bug on the MacOS version? What version of PyQt6
> do you have?
>
> (venv) 01:53:30 {main} ~/projects/python/novelist $ pip show PyQt6
> Name: PyQt6
> Version: 6.6.1
> Summary: Python bindings for the Qt cross platform application toolkit
> Home-page: https://www.riverbankcomputing.com/software/pyqt/
> Author: Riverbank Computing Limited
> Author-email: info at riverbankcomputing.com
> License: GPL v3
> Location:
> /Users/ovid/projects/python/novelist/venv/lib/python3.11/site-packages
> Requires: PyQt6-Qt6, PyQt6-sip
> Required-by:
>
> Best,
> Ovid
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20240126/96d403e8/attachment-0001.htm>


More information about the PyQt mailing list