Crashes when you click on an album widget that hasn't fully loaded yet
Created by: dotreloaded
• Lollypop version: 0.9.230 • Gtk Version: 3.22.9 • Linux distribution: Arch Linux
Steps to reproduce:
- Go to "all artists" or "all albums" (because we need a lot of albums to beat lollypop's loading)
- Click on an album widget that doesn't have its cover art loaded yet by either scrolling down to where lollypop hasn't loaded albums yet or by doing ctrl+i to filter for one, lollypop will crash
This trackback is outputted:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/lollypop/view_albums.py", line 116, in __on_album_activated
album_widget.show_overlay(True)
File "/usr/local/lib/python3.6/site-packages/lollypop/widgets_album.py", line 106, in show_overlay
self._show_overlay_func(set)
File "/usr/local/lib/python3.6/site-packages/lollypop/widgets_album_simple.py", line 169, in _show_overlay_func
self.__overlay_grid.set_orientation(self._overlay_orientation)
AttributeError: 'AlbumSimpleWidget' object has no attribute '_AlbumSimpleWidget__overlay_grid'