Skip to content

[3.38] window: Fix album view selection by the stack switcher on launch

Jean Felder requested to merge wip/jfelder/3-38-stack-selection-launch into gnome-3-38

The first view added to the stack is the EmptyView which is not visible on launch. Then, AlbumsView is added and becomes the visible_child by default because it is visible. However, it is not selected by the the stack switcher because the "notify::visible-changed" signal is received before the child is added to the stack switcher.

This issue is fixed by adding a "visible-child" notification. This way, the stack switcher selected the AlbumView on launch.

Merge request reports