Skip to content
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

터치 디바이스에서 CPU 점유율 100% & 버벅임 현상 #29

Closed
sokcuri opened this issue Sep 17, 2016 · 1 comment
Closed

터치 디바이스에서 CPU 점유율 100% & 버벅임 현상 #29

sokcuri opened this issue Sep 17, 2016 · 1 comment
Labels

Comments

@sokcuri
Copy link
Owner

sokcuri commented Sep 17, 2016

해당 문제는 Electron에서 accessibility 모드가 켜져 있을 때 일어나는 문제입니다.

@sokcuri sokcuri added the bug label Sep 17, 2016
@sokcuri
Copy link
Owner Author

sokcuri commented Sep 18, 2016

8672bab 에서 해결

  • Accessibility 페이지에 접근해서 Accessibility Mode를 해제해주는 방식으로 해결
  • index.js의 특정 메소드에서 App.isAccessibilitySupportEnabled 함수를 호출해 Accessibility Mode인지 확인
  • Accessibility Mode면 BrowserWindow를 생성하고 여기서 chrome://accessbility에 접근해 toggle_global에 클릭 이벤트를 던진다
  • 주기적으로 확인하는 이유는 원인 불명으로 Accessibility Mode가 재설정되는 경우가 있기 때문
  • setTimeout의 주기는 1000ms

@sokcuri sokcuri closed this as completed Sep 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant