Home Row doesn't hide when Max Items is Zero

App version

Beta

Issue description

When a Home row is set to “Max Items” == “0” and the “Hide when empty” toggle is ON, the row stays visible instead of hiding.

(Row is linked to a Smart Playlist with zero tracks. Setting “Max Items” to any other value allows the Home row to hide.)

Device type

Phone

Media provider

Local device

Steps to reproduce

Edit any Home page row, set Display Mode to anything but Grid (which does not have a “Max item” setting).

Set “Max Items” to zero and enable the toggle for “Hide when empty”.

Go to Home page. The row is still visible.

Now set “Max Items” to one. Go to Home page. Row will be correctly hidden (if the target had no content).

Additional information

It’s much more obvious if you enable “Show as card” or “Visible header” for the row. Without either of these enabled, the row takes up no space when set to zero items.

Pic 1: everything below the 3 big square buttons shouldn’t be visible.

The first little strip is a zero-item row with no header, but set to “Show as outlined card”. (You’re seeing the outline.)

The following “New tracks” header is a zero-item row set to have a Visible Header.

Screenshots

I searched existing issues first

on

I understand that logs are mandatory

on

Log upload name / description

Celorien_HideWhenZero

That’s on purpose to allow people to put random texts without content.

If people want to show random texts without content, wouldn’t they disable the “Hide when empty” option?

In my case, I’m trying to make dynamic buttons. It works perfectly fine if I show at least one track under the header. But it doesn’t work when it’s just the header.

If you don’t want to change it, cool. But I think changing it would allow both of these uses to be possible.

You set max 0 the row will always be empty, the only usage if the header, no idea what you want to achieve.

You’re right, that does make sense. I was thinking it checked if the target playlist is empty. So I wanted it to hide if the playlist is empty, rather than the row being empty.

I’ll make do with how it is. Thanks for the clarification!