不同分辨率下候选词展示卡顿 #1559
-
我现在使用的是0.16.0版本,这个问题在0.15以及相关的Nightly版本中都有出现。 在主屏幕我是1080p的分辨率,输入法候选词栏流畅反应快速;但是在副2K屏上候选词和预览都有延迟。 下面是我的自定义配置: "style/color_scheme": clean_white
"style/comment_font_point": 10
"style/display_tray_icon": false
"style/font_face": "Advocate Ancient Sans:normal"
"style/font_point": 13
"style/horizontal": true
"style/inline_preedit": true
"style/label_font_face": "Advocate Ancient Sans:normal"
"style/label_font_point": 13
"style/layout/border_width": 1
"style/layout/candidate_spacing": 12
"style/layout/corner_radius": 6
"style/layout/enhanced_position": true
"style/layout/hilited_corner_radius": 6
"style/layout/margin_x": 7
"style/layout/margin_y": 7
"style/layout/min_width": 50
"style/layout/shadow_offset_x": 0
"style/layout/shadow_offset_y": 2
"style/layout/shadow_radius": 7
"style/preedit_type": composition
”show_notifications": false
“show_notifications_when”: never |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 21 replies
-
把 shadow_radius 设置为 0 再试 |
Beta Was this translation helpful? Give feedback.
-
这个有一点难到了,手提或者台式机都是fhd的屏幕,没有更高的分辨率的屏 |
Beta Was this translation helpful? Give feedback.
-
我 4k 屏正常,但不清楚 所谓候选词和预览都有延迟。 是多大的延迟,我这里感觉没什么区别 |
Beta Was this translation helpful? Give feedback.
-
有可能有问题,但是我没有高分屏没有办法试 可以fork出去,将下面这行中最后的dpiX != dpi的条件去掉,让ci生成包自行试试有没有变化。这个修改是去掉了dpi重建d2d对象的操作,如果是就再想办法 |
Beta Was this translation helpful? Give feedback.
-
@fxliang 我刚刚成功打包了文件并在Windows10下进行安装测试,问题得到了局部解决。目前输入法确实不再卡顿,但是DPI缩放功能失效了。也许就是这个的相关原因,不知道之后版本会不会解决? |
Beta Was this translation helpful? Give feedback.
-
看看 rime/weasel#1257 看是不是解决了? |
Beta Was this translation helpful? Give feedback.
你试试将OnCreate里的
GetWindowRect(&m_inputPos);
注释掉看看