Ensemble icon indicating copy to clipboard operation
Ensemble copied to clipboard

[Bug] Black Screen Theme

Open rightsaidfred99 opened this issue 11 months ago • 7 comments

I turned on Material You theme, and I got this result on the main screen. It did detect Material You in the settings though, it just looked like below on the main screen and I couldn't get back into Settings.

Image

Android 16 MusicAssistant 2.7.3

rightsaidfred99 avatar Jan 04 '26 05:01 rightsaidfred99

Was this a one off? I can't recreate and obviously you can't share any logs. Not sure if I can do anything at this stage.

CollotsSpot avatar Jan 04 '26 17:01 CollotsSpot

The whole black screen has happened a few times. The only thing that is 100% repeatable for me is the bottom navigation is always black for me when material theme is turned on.

Logs aren't really showing anything of use

═══════════════════════════════════════ ENSEMBLE BUG REPORT Generated: 2026-01-05T08:01:04.788838 ═══════════════════════════════════════

APP INFO: Version: 2.8.0-beta (37) Package: com.musicassistant.music_assistant

DEVICE INFO: Model: Google Pixel 9 Android: 16 (SDK 36) Device: tokay

LOG SUMMARY: Total entries: 314 Errors: 0 Warnings: 0

═══════════════════════════════════════ LOGS (newest first): ═══════════════════════════════════════

[08:01:01.518] INFO ⚠️ Queue is empty or all items failed to parse [08:01:01.518] INFO Received message: (message_id, result, partial) [08:01:01.511] INFO 🔀 Queue metadata: shuffle_enabled=false, repeat_mode=off [08:01:01.510] INFO Received message: (message_id, result, partial) [08:01:01.503] INFO ⚠️ Player x's Phone has null elapsedTime [08:01:01.503] INFO Received message: (message_id, result, partial) [08:01:01.322] INFO Sendspin: Sending message: client/state [08:00:56.520] INFO ⚠️ Queue is empty or all items failed to parse [08:00:56.520] INFO Received message: (message_id, result, partial) [08:00:56.512] INFO 🔀 Queue metadata: shuffle_enabled=false, repeat_mode=off [08:00:56.512] INFO Received message: (message_id, result, partial) [08:00:56.505] INFO ⚠️ Player x's Phone has null elapsedTime [08:00:56.505] INFO Received message: (message_id, result, partial) [08:00:56.324] INFO Sendspin: Sending message: client/state [08:00:52.345] INFO ⚠️ Queue is empty or all items failed to parse [08:00:52.345] INFO Received message: (message_id, result, partial) [08:00:52.339] INFO 🔀 Queue metadata: shuffle_enabled=false, repeat_mode=off [08:00:52.339] INFO Received message: (message_id, result, partial) [08:00:52.327] INFO ✅ Cache is fresh, skipping sync [08:00:52.325] INFO ⚠️ Player x's Phone has null elapsedTime [08:00:52.325] INFO Received message: (message_id, result, partial) [08:00:52.315] INFO 📥 Fetched 5000 tracks from MA [08:00:52.308] INFO Received message: (message_id, result, partial) [08:00:51.539] INFO Received message: (message_id, result, partial) [08:00:51.435] INFO 💾 Persisted recent_albums to database [08:00:51.409] INFO ✅ Cached 9 recent albums [08:00:51.409] INFO 📚 Fetched 9 recent albums with full details [08:00:51.356] INFO Received message: (message_id, result, partial) [08:00:51.356] INFO Received message: (message_id, result, partial) [08:00:51.355] INFO Received message: (message_id, result, partial) [08:00:51.354] INFO Received message: (message_id, result, partial) [08:00:51.323] INFO Sendspin: Sending message: client/state [08:00:46.567] INFO 💾 Persisted 11 queue items to database [08:00:46.555] INFO 💾 Persisted 10 queue items to database [08:00:46.552] INFO ⚠️ Queue is empty or all items failed to parse etc..

rightsaidfred99 avatar Jan 04 '26 21:01 rightsaidfred99

I’ve noticed this bug too, though I can't reliably reproduce it either. It’s been happening to me since the earliest versions. It sometimes happened after I navigate to Settings, specifically after checking the debugging screen or logs. The footer menu stays visible, but the rest of the screen goes black.

The only way to get it working again is to force stop the app, so unfortunatly i cannot provide any logs

ghost avatar Jan 05 '26 15:01 ghost

Thanks for the detailed reports everyone! This has been fixed in v2.8.3-beta.

Root Cause

When Material You was enabled, the app was using whatever background colors the system/dynamic_color plugin generated. These could be unpredictable - sometimes very dark or black - causing the black screen and black navigation bar issues.

The Fix

The app now takes Material You's accent colors (the colorful parts from your wallpaper) but forces the background colors to the app's preferred values:

  • Dark mode: #1a1a1a background, #2a2a2a surface
  • Light mode: #FAFAFA background

This gives you the best of both worlds - dynamic accent colors while keeping consistent, predictable backgrounds.

Download

v2.8.3-beta

Please let me know if this resolves the issue for you!

CollotsSpot avatar Jan 05 '26 15:01 CollotsSpot

Yep! That solved it. But I notice a discrepancy between light material mode and dark material mode. With light material mode the icons on bottom row can still turn out dark

Image Image

But overall this fixes the original issue! Thank you

rightsaidfred99 avatar Jan 05 '26 21:01 rightsaidfred99

Should be fixed in latest release

CollotsSpot avatar Jan 07 '26 10:01 CollotsSpot

I ran into this bug a few times again, including today with the newest version. It happens after accessing Settings and opening the Bug Report (which I usually email to myself so I can copy relevant parts of the log). I tried to replicate it, but it seems random and I can't trigger it on purpose.

ghost avatar Jan 07 '26 16:01 ghost