-
Notifications
You must be signed in to change notification settings - Fork 185
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
文本渲染滞后错位、文本样式与UI显示不一致 #654
Comments
|
554edc3 尝试修了一下 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
这两个bug一直存在于几个月前至最近的版本。
以下是我的环境:
PyQt5 5.15.9
pyqt5-plugins 5.15.9.2.3
PyQt5-Qt5 5.15.2
PyQt5_sip 12.15.0
pyqt5-tools 5.15.9.3.3
qt5-applications 5.15.2.2.3
qt5-tools 5.15.2.1.3
QtPy 2.4.1
Python 3.8.10 (tags/v3.8.10:3d8993a, May 3 2021, 11:48:03) [MSC v.1928 64 bit (AMD64)] on win32
version: 1.4.0
branch: dev
Commit hash: 5d1a1c855c483454ec504430137373c2259c276c (github 30acebe,我本地merge了一次)
[INFO ] launch:main:184 - QT_API: pyqt5, QT Version: 5.15.2
输入法:搜狗输入法智慧版
系统:Windows 10 x64 22h2
bug描述:1.偶发性的渲染文本与UI输入的文本不一致,只能通过剪切粘贴的办法来恢复正确显示,而不能通过删除重新打字(即使删光内容仍然会渲染出错误文字);2.必然性的在文本样式UI操作一个控件后,同时应用了其他控件的值(我认为这个程序每次只应用一个值);程序内部的值并没有正确反映到UI上,例如点击文字方向后,不仅改变了纵向排版,同时会使文字变粗体,但粗体控件却不显示为选中状态。
复现方法:
1.输入一些文字,然后修改一些属性,使用ctrl+z回退,此时文字没有回退。
2.暂无。
建议:
1.每次渲染文本框时重新读取UI文本。
2.在选中单个文本框时刷新文字样式UI。
The text was updated successfully, but these errors were encountered: