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

CTRL+W doesn't work directly #82

Open
2 of 6 tasks
Ceynou opened this issue Apr 30, 2021 · 0 comments
Open
2 of 6 tasks

CTRL+W doesn't work directly #82

Ceynou opened this issue Apr 30, 2021 · 0 comments

Comments

@Ceynou
Copy link

Ceynou commented Apr 30, 2021

Type:

  • bug
  • feature
  • enhancement
  • question

Environment:

  • OS: Windows 10

I'm going to open a PR to resolve the issue:

  • yes
  • no

Description:

Reproduced on a fresh install of Anki 2.1.35 and the addons on a fresh install of windows 10:
You need to open the dictionary windows with either CTRL+S or CTRL+W or manually by clicking on "Open Dictionary" from the tab before being able to use CTRL+C+SPACE.

Demo video

Error
An error occurred. Please start Anki while holding down the shift key, which will temporarily disable the add-ons you have installed.
If the issue only occurs when add-ons are enabled, please use the Tools > Add-ons menu item to disable some add-ons and restart Anki, repeating until you discover the add-on that is causing the problem.
When you've discovered the add-on that is causing the problem, please report the issue on the add-on support site.
Debug info:
Anki 2.1.35 (84dcaa86) Python 3.8.0 Qt 5.14.2 PyQt 5.14.2
Platform: Windows 10
Flags: frz=True ao=True sv=1
Add-ons, last update check: 2021-04-30 19:00:21

Caught exception:
Traceback (most recent call last):
File "C:\Users\user\AppData\Roaming\Anki2\addons21\1655992655\main.py", line 222, in trySearch
showAfterGlobalSearch()
File "C:\Users\user\AppData\Roaming\Anki2\addons21\1655992655\main.py", line 230, in showAfterGlobalSearch
mw.migakuDictionary.setWindowFlags(mw.migakuDictionary.windowFlags() | Qt.WindowStaysOnTopHint)
AttributeError: 'bool' object has no attribute 'setWindowFlags'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant