home-assistant / iOS

:iphone: Home Assistant for Apple platforms
https://companion.home-assistant.io
Other
1.55k stars 301 forks source link

Widget action-buttons, text alignment ’off screen’ #3065

Open kittyscastle opened 21 hours ago

kittyscastle commented 21 hours ago

Model Name: 14 pro Software Version: iOS 18.0 (22A3354) App version: 2024.9.2 (2024.881)

Home Assistant Core Version

Core 2024.9.3 Supervisor 2024.09.1 Operating System 13.1 Frontend 20240909.1

Describe the bug 1) empty widgets after update 2) filled widget, with 7 actions but empty list when ‘editing’ selected 3a) certain combinations of (# max possible buttons vs # selected buttons) lead to button text being off screen -button extending below ‘widget screen box’- 3b) ‘max widget screen height’ + ‘equal distribution of height per filled-selected action-button’ 3c) don’t know how they are called in iOS but both in ‘most left (old) dedicated widget screen’ and in normal ‘free layout iOS 18’ page ‘widget on screen’

(Unsure if connected to having multiple ’servers’ and switching between them aka leaving app from another server than the widget setup is connected to? Ignore this random thought that popped into my mind when writing the above text) To Reproduce ? Delete and create widgets with actions Expected behavior All selected actions should be displayed, proportional size and readable text (align top/middle?) Screenshots IMG_3727 IMG_3728 IMG_3729 IMG_3730 IMG_3731 IMG_3732 IMG_3733 IMG_3734

Additional context https://community.home-assistant.io/t/ios-18-ha-widget-s-buttons-vs-actions-text-out-of-view/775501/2

I think it’s a case of improving the layout for the widgets and reviewing the way it handles ‘less than maximum selected actions. I didn’t test scripts and other input types since I didn’t have those in the original ’before’ situation.

robchandhok commented 6 hours ago

100% same for me with pages widget. Was going crazy! I left 2 blank entries out of 8 and the result was individual buttons all styled too tall.

To reproduce: add 8 item Open Page widget. Configure 6. Leave 2 unconfigured. Used to work.

iOS 17.7 , companion app 2024.9.1