# Main Window Got Into a Bad State

**URL:** <https://forums.ankiweb.net/t/main-window-got-into-a-bad-state/27896>\
**Category:** Help\
**Created:** [February 26, 2023, 1:42am UTC](https://forums.ankiweb.net/t/main-window-got-into-a-bad-state/27896 "2023-02-26T01:42:30Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![pwintz](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/pwintz/32/10112_2.png) [@pwintz](https://forums.ankiweb.net/u/pwintz)\
**Post date:** [February 26, 2023, 1:42am UTC](https://forums.ankiweb.net/t/main-window-got-into-a-bad-state/27896/1 "2023-02-26T01:42:30Z")

</div>

I’m not sure this happened since Anki was in this state when I came back to my computer, but on the main window, nothing was responsive and the layout didn’t update when I resized it. When I made the window very wide, however, I could see the “Study Now” button peeking out from behind the deck list, so it seems like the deck list wasn’t hidden when it was supposed to be. Clicking “Study Now” opened the study view, but the deck list was still shown.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/2X/d/d0129f76e11ee7262ba0c69723e23f5b07b78397.png)

Clicking “Decks” produces **two** deck lists, but the top one does not respond.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/2X/0/04e5215b58ccf55e5c9cb2db6a6f6416c519d6aa.png)

Version Info:  
Version ⁨2.1.57 (6b7d372c)⁩  
Python 3.9.15 Qt 6.4.2 PyQt 6.4.0  
No Add-ons installed.

---

<div class="post-metadata">

**Author:** ![NameLessGO](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/namelessgo/32/34298_2.png) [@NameLessGO](https://forums.ankiweb.net/u/NameLessGO)\
**Post date:** [February 26, 2023, 3:51pm UTC](https://forums.ankiweb.net/t/main-window-got-into-a-bad-state/27896/2 "2023-02-26T15:51:43Z")

</div>

Not related to the problem, but could you move to 2.1.58+

2.1.57 had a bug in it  
Latest version can be found: [Releases · ankitects/anki · GitHub](https://github.com/ankitects/anki/releases)

**if you could try to replicate in 2.1.60, it would be helpful or maybe it could solve the issue**

> This release fixes an issue in 2.1.57 that caused cards and deck presets  
> to be reset to the default ease, if you exported a .colpkg with compatibility  
> with older clients enabled, or used the downgrade and quit option, then opened  
> the collection again. For the former issue, this occurred to the collection you  
> were exporting from, and not just the .colpkg file. If you were affected by this,  
> running the following in the debug console after updating should restore your  
> cards to the ease they were at when you last reviewed them, if they were not  
> reviewed after the problem occurred. Please make a backup before proceeding.

---

<div class="post-metadata">

**Author:** ![dae](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/dae/32/65_2.png) [@dae](https://forums.ankiweb.net/u/dae)\
**Post date:** [February 27, 2023, 11:02am UTC](https://forums.ankiweb.net/t/main-window-got-into-a-bad-state/27896/3 "2023-02-27T11:02:20Z")

</div>

That issue looks like a rendering problem in the web toolkit/your graphics driver.

---

<div class="post-metadata">

**Author:** ![pwintz](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/pwintz/32/10112_2.png) [@pwintz](https://forums.ankiweb.net/u/pwintz)\
**Post date:** [March 13, 2023, 2:18am UTC](https://forums.ankiweb.net/t/main-window-got-into-a-bad-state/27896/4 "2023-03-13T02:18:39Z")

</div>

This just happened again, now on Version ⁨2.1.61 (5ad29c37)⁩.  
@dae, are you saying that this is not a problem with Anki, itself?

---

<div class="post-metadata">

**Author:** ![dae](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/dae/32/65_2.png) [@dae](https://forums.ankiweb.net/u/dae)\
**Post date:** [March 13, 2023, 11:14am UTC](https://forums.ankiweb.net/t/main-window-got-into-a-bad-state/27896/5 "2023-03-13T11:14:25Z")

</div>

Yes, it’s very unlikely to be caused by Anki’s code.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/1X/8f1279ababc5879d54e4838989f606cfe55af8c7.jpeg) [@system](https://forums.ankiweb.net/u/system)\
**Post date:** [April 12, 2023, 11:14am UTC](https://forums.ankiweb.net/t/main-window-got-into-a-bad-state/27896/6 "2023-04-12T11:14:45Z")

</div>

Closed on April 12, 2023, 11:14am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
