# Buttons and windows are not correctly being displayed in the latest releases

**URL:** <https://forums.ankiweb.net/t/buttons-and-windows-are-not-correctly-being-displayed-in-the-latest-releases/369>\
**Category:** Help\
**Created:** [June 21, 2020, 12:33am UTC](https://forums.ankiweb.net/t/buttons-and-windows-are-not-correctly-being-displayed-in-the-latest-releases/369 "2020-06-21T00:33:03Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![regularuser123](https://avatars.discourse-cdn.com/v4/letter/r/3ab097/32.png) [@regularuser123](https://forums.ankiweb.net/u/regularuser123)\
**Post date:** [June 21, 2020, 12:33am UTC](https://forums.ankiweb.net/t/buttons-and-windows-are-not-correctly-being-displayed-in-the-latest-releases/369/1 "2020-06-21T00:33:03Z")

</div>

# System information

- **Operating system** : Arch Linux

```auto
$ uname -sr
Linux 5.7.2-arch1-1

```

- **Windows manager** : dwm
- **Anki version** : `2.1.26`

```auto
$ anki -h | grep '^Anki'
Anki 2.1.26

```

# What I’ve tried (relevant links)

- [Create a post in the Unix Stack Exchange forum](https://unix.stackexchange.com/questions/592910/windows-of-the-anki-program-are-not-correctly-being-displayed)
- [Create a post in the Arch Linux forum](https://bbs.archlinux.org/viewtopic.php?pid=1910828)

Please, first read the post in the created Unix Stack Exchange forum, then the post created in the Arch Linux forum to have a better comprehension of the issue.

# What steps you are taking when the problem happens.

1. Remove cache files of `anki` to avoid conflicts (in case previous versions have created files that are being used again)

```auto
cd "$HOME/.local/share" && \
	rm -rf Anki Anki2
cd "$HOME/.local/share/tmp" && \
	rm -rf Anki Anki2

```

1. Run `anki`

# What problems/errors you are getting when things go wrong.

- Buttons are not displaying icons.
- Windows are not correctly being rendered (since some of these windows have huge black gaps).

These problems are only present in the versions that are greater than the “2.1.15” release (this is explained in the post created in the Arch Linux forum)

---

<div class="post-metadata">

**Author:** ![addons\_zz](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/addons_zz/32/43_2.png) [@addons\_zz](https://forums.ankiweb.net/u/addons_zz)\
**Post date:** [June 21, 2020, 12:42am UTC](https://forums.ankiweb.net/t/buttons-and-windows-are-not-correctly-being-displayed-in-the-latest-releases/369/2 "2020-06-21T00:42:17Z")

</div>

Can try running Anki from the command line to see if any warning or errors are output to the console?

Can you look into [https://changes.ankiweb.net/#/known-issues](https://changes.ankiweb.net/#/known-issues) and try changing a few things like: (one at a time)

1. `ANKI_NOHIGHDPI=1`
2. `ANKI_WEBSCALE=1.1`
3. `ANKI_WEBSCALE=1`
4. `ANKI_WEBSCALE=0.9`
5. `echo auto > %APPDATA%\Anki2\gldriver`
6. `echo angle > %APPDATA%\Anki2\gldriver`
7. `echo software > %APPDATA%\Anki2\gldriver`

Related to:

1. [Anki window appearance is broken on certain linux window managers](https://anki.tenderapp.com/discussions/ankidesktop/41366-anki-window-appearance-is-broken-on-certain-linux-window-managers)
2. [Blurry font on Windows after v2.1.15](https://anki.tenderapp.com/discussions/ankidesktop/42089-blurry-font-on-windows-after-v2115)

---

<div class="post-metadata">

**Author:** ![regularuser123](https://avatars.discourse-cdn.com/v4/letter/r/3ab097/32.png) [@regularuser123](https://forums.ankiweb.net/u/regularuser123)\
**Post date:** [June 21, 2020, 12:57am UTC](https://forums.ankiweb.net/t/buttons-and-windows-are-not-correctly-being-displayed-in-the-latest-releases/369/3 "2020-06-21T00:57:12Z")

</div>

Thanks for the help! The issue has already been solved. I tried every solution you recommended and these were the results.

Each item of the following ordered list shows the command that was executed and whether the issue was solved or not.

1. `$ ANKI_NOHIGHDPI=1 anki` (issue was solved)
2. `$ ANKI_WEBSCALE=1.1 anki` (issue was not solved)
3. `$ ANKI_WEBSCALE=1 anki` (issue was not solved)
4. `$ ANKI_WEBSCALE=0.9 anki` (issue was not solved)
5. `$ echo auto > ~/.local/share/Anki2/gldriver` (issue was not solved)
6. `$ echo angle > ~/.local/share/Anki2/gldriver` (issue was not solved)
7. `$ echo software > ~/.local/share/Anki2/gldriver` (issue was not solved)

---

<div class="post-metadata">

**Author:** ![addons\_zz](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/addons_zz/32/43_2.png) [@addons\_zz](https://forums.ankiweb.net/u/addons_zz)\
**Post date:** [June 21, 2020, 1:01am UTC](https://forums.ankiweb.net/t/buttons-and-windows-are-not-correctly-being-displayed-in-the-latest-releases/369/4 "2020-06-21T01:01:24Z")

</div>

You are not the first user with the same problem. You could bug/irritate QT developers about their bugged tool on: [https://bugreports.qt.io/browse/QTBUG-84235](https://bugreports.qt.io/browse/QTBUG-84235)

---

<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:** [May 1, 2023, 5:42am UTC](https://forums.ankiweb.net/t/buttons-and-windows-are-not-correctly-being-displayed-in-the-latest-releases/369/5 "2023-05-01T05:42:39Z")

</div>

Closed on May 1, 2023, 5:42am UTC


