| Summary: | White background on first start sometimes | ||
|---|---|---|---|
| Product: | [Applications] Elisa | Reporter: | Saihaj Johal <personal> |
| Component: | general | Assignee: | Matthieu Gallien <matthieu_gallien> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | newton |
| Priority: | NOR | ||
| Version First Reported In: | 25.04.3 | ||
| Target Milestone: | --- | ||
| Platform: | Fedora RPMs | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/multimedia/elisa/-/commit/6b673bbf2d6c388f311f9249e85174caeb9a8007 | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
| Attachments: | Screenshot of white screen problem | ||
A possibly relevant merge request was started @ https://invent.kde.org/multimedia/elisa/-/merge_requests/730 Git commit fa944186bc3f4e625d4e75350071c69828587e45 by Christoph Wolk. Committed on 06/01/2026 at 16:55. Pushed by cwo into branch 'master'. qml/HeaderBar: only replace image if it's loaded Elisa sometimes fails to load the HeaderBar background on intial load, instead yielding a simple dark or light background according to the color scheme default. On dark themes, this is visually unpleasant, on light themes it is unpleasant and can lead to essentially unreadable light-on-light text. Playing another song with a different image will fix it. The problem is that Elisa considers the image file loaded as soon as its status changes (or more precisely, the status change signal is sent). In particular during initial startup, it often seems to happen that the status is still Loading when the signal is sent, and trying to replace it onto the stackview will just silently fail. Instead, we test if the image is actually loaded, and only process it further if it is. If the image fails to load, it'll be replaced by the fallback image, which is still better than the empty one. (And should that fail too it's a broken installation so some glitches are to be expected, and the incubator object will be taken care of when the next image is loaded) M +1 -1 src/qml/HeaderBar.qml https://invent.kde.org/multimedia/elisa/-/commit/fa944186bc3f4e625d4e75350071c69828587e45 Git commit 6b673bbf2d6c388f311f9249e85174caeb9a8007 by Christoph Wolk. Committed on 06/01/2026 at 18:11. Pushed by cwo into branch 'release/25.12'. qml/HeaderBar: only replace image if it's loaded Elisa sometimes fails to load the HeaderBar background on intial load, instead yielding a simple dark or light background according to the color scheme default. On dark themes, this is visually unpleasant, on light themes it is unpleasant and can lead to essentially unreadable light-on-light text. Playing another song with a different image will fix it. The problem is that Elisa considers the image file loaded as soon as its status changes (or more precisely, the status change signal is sent). In particular during initial startup, it often seems to happen that the status is still Loading when the signal is sent, and trying to replace it onto the stackview will just silently fail. Instead, we test if the image is actually loaded, and only process it further if it is. If the image fails to load, it'll be replaced by the fallback image, which is still better than the empty one. (And should that fail too it's a broken installation so some glitches are to be expected, and the incubator object will be taken care of when the next image is loaded) (cherry picked from commit fa944186bc3f4e625d4e75350071c69828587e45) Co-authored-by: Christoph Wolk <cwo.kde@posteo.net> M +1 -1 src/qml/HeaderBar.qml https://invent.kde.org/multimedia/elisa/-/commit/6b673bbf2d6c388f311f9249e85174caeb9a8007 *** Bug 511575 has been marked as a duplicate of this bug. *** |
Created attachment 183188 [details] Screenshot of white screen problem SUMMARY Instead of showing the default greenish background when nothing is playing at first startup (or the generated background from if something was playing before close), Elisa sometimes shows a white background (see attached screenshot) instead. This clears after playing anything. However, this does not always occur, and is a somewhat temperamental bug that only seems to start happening after using Elisa for a while. STEPS TO REPRODUCE 1. Use Elisa for a while (maybe after playing a lot of music this bug starts to get triggered?). 2. Close Elisa. 3. Open Elisa. OBSERVED RESULT White background. EXPECTED RESULT Greenish default background, or background from currently playing track SOFTWARE/OS VERSIONS Operating System: Fedora Linux 42 KDE Plasma Version: 6.4.2 KDE Frameworks Version: 6.15.0 Qt Version: 6.9.1