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

Identical icons shown differently #3747

Open
dilyanpalauzov opened this issue Jul 13, 2024 · 3 comments
Open

Identical icons shown differently #3747

dilyanpalauzov opened this issue Jul 13, 2024 · 3 comments
Labels
bug Indicates an unexpected problem or unintended behavior

Comments

@dilyanpalauzov
Copy link
Contributor

With 3.14.3 I see:

Screenshot_20240713_175944

Both items have the same icon, but OH-Android show them in different size. If I pull down to refresh, the big icon gets smaller and then both icons have the same size.

@dilyanpalauzov dilyanpalauzov added the bug Indicates an unexpected problem or unintended behavior label Jul 13, 2024
@mueller-ma
Copy link
Member

Can you open app settings and select "Clear cache"?

@dilyanpalauzov
Copy link
Contributor Author

Clearing the cache does not make difference long term.

These are the items I have:

Number:Temperature termo1 "Хол температура [%.1f °C]" ["Temperature", "Measurement"] {channel="mqtt:topic:termo1:termo", expire="10m,NULL"}
Number:Temperature termo2 "Горе температура [%.1f °C]" ["Temperature", "Measurement"] {channel="mqtt:topic:termo2:termo", expire="10m,NULL"}

in Sitemap:
Text item=termo1 visibility=[dht221_online==OPEN]
Text item=termo2 visibility=[dht222_online==OPEN]

Sometimes both icons are shown large, sometimes both icons are shown small and sometimes one icon is large, and the other small.

tempair is a dynamic icon:

pi@raspberrypi:/etc/openhab $ ls $(find|grep tempair) -l
lrwxrwxrwx 1 openhab openhab 20 8 юни 2023 ./icons/classic/tempair-0.png -> temperature_cold.png
lrwxrwxrwx 1 openhab openhab 15 8 юни 2023 ./icons/classic/tempair-19.png -> temperature.png
lrwxrwxrwx 1 openhab openhab 19 8 юни 2023 ./icons/classic/tempair-27.png -> temperature_hot.png
lrwxrwxrwx 1 openhab openhab 15 8 юни 2023 ./icons/classic/tempair.png -> temperature.png

In all cases tempair-19 is utilized, as it is between 19 and 27 °C, so the same fil temperature.png is used.

@dilyanpalauzov
Copy link
Contributor Author

Screenshot_20240718_113914.jpg

Screenshot_20240718_113939.jpg

Screenshot_20240718_115838.jpg

Screenshot_20240718_113445.jpg

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

2 participants