Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

White temporary placeholders used in dark mode #3768

Open
dilyanpalauzov opened this issue Jul 18, 2024 · 1 comment
Open

White temporary placeholders used in dark mode #3768

dilyanpalauzov opened this issue Jul 18, 2024 · 1 comment
Labels
bug Indicates an unexpected problem or unintended behavior

Comments

@dilyanpalauzov
Copy link
Contributor

I have OpenHAB-Android 3.14.7 in Dark mode. Some items in the sitemap have no icons. When I pull down to make explicit refresh, OH-Android shows white squares for those icons, probably until it fetches from the server information, that there are no icons. Eventually black (transparent) icons are put. The period, when there are white squares as placeholders is short (1s or so).

To be precise, this happens consistently for:

Text item=ri_power label="Помпа Петя" visibility=[ri_online==OPEN] valuecolor=[ri_color=="green"="green", ri_color=="lime"="lime", ri_color=="red"="red", ri_color=="maroon"="maroon"] {
bound to
Number:Power ri_power "Помпа Петя Мощност" (gReletaWatts, gPompaI) ["Power", "Measurement"] {channel="mqtt:topic:ri:ri_power", unit="VA"}

and others, but not for

Text item=CPU_Load5
bound to
Number:Dimensionless CPU_Load5 "Натоварване" {channel="systeminfo:computer:rp3:cpu#load5"}

Aha, when the icon is explicitly <none> then this effect does not happen, but when there is implicitly no icon, then the effect happens.

When I load a chart, until the chart is loaded, white background is shown. Later the chart itself has black background. When waiting for the chart to load, the background from the allocated space should be black, not white.

@dilyanpalauzov dilyanpalauzov added the bug Indicates an unexpected problem or unintended behavior label Jul 18, 2024
@dilyanpalauzov
Copy link
Contributor Author

Screenshot_20240720_092520

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Indicates an unexpected problem or unintended behavior
Projects
None yet
Development

No branches or pull requests

1 participant