Project

General

Profile

Bug #88

登陆注销对话框,当光标在密码输入框的时候,快速点击CapsLock键,程序会崩溃.

Added by shixun yan over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
High
Assignee:
shixun yan
Target version:
Start date:
05/16/2019
Due date:
05/16/2019
% Done:

100%

Estimated time:
2.00 h
Defect version:

Description

1.全屏登陆对话框,当光标在密码输入框的时候,快速点击CapsLock键,程序界面刷新会出现异常.
2.注销对话框,当光标在密码输入框的时候,快速点击CapsLock键,程序会崩溃.
3.注销对话框,快速拖动对话框,程序会崩溃.

History

#1

Updated by shixun yan over 5 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

快速拖动对话框或者是CapsLock键锁定,会频繁的触发OnPaint()函数,CImage Load的动作比较耗时,这时会造成程序错误.所以我们的修改方式是
将CImage Load图片的地方从OnPaint改到OnInitDialog里面,只做一次加载动作.Draw动作还是放在OnPaint里面.

#2

Updated by xiangyang li over 5 years ago

  • Target version set to 2.2
#3

Updated by xiangyang li over 5 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF