MainUI on Vue 3: Beta testing bug reporting #3381
Replies: 26 comments 170 replies
This comment has been hidden.
This comment has been hidden.
|
This has nothing to do with the Vue3 upgrade, but since you're all deep in this anyway now, maybe you could give it a bit of thought: https://community.openhab.org/t/mainui-how-to-handle-http-status-204/166100 The problem is simple, the REST API responds with HTTP status 204 in situations where the answer is "empty" (ask for a list of something where there are no elements etc.). This isn't received well by MainUI since it expects a JSON payload to parse, which fails, since there's no content with a 204. I guess the "smoothest" solution would be if whatever receive the replies ( |
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
|
I just checked out the latest I don't know to which degree these are relevant or not, but it didn't use to be that many warnings and errors AFAICR: [Vue warn]: Property "forceEditMode" was accessed during render but is not defined on instance.
at <F7Tab id="design" class="layout-editor-design-tab" tab-active=true >
at <F7Tabs class="layout-editor-tabs" >
at <F7PageContent ptr=false ptrDistance=undefined ptrPreloader=true ... >
at <F7Page onPage:afterin=fn<bound onPageAfterIn> onPage:beforeout=fn<bound onPageBeforeOut> class="layout-editor" >
at <LayoutEdit key="1761933696974_6" uid="overview" f7router= Router ... >
at <F7View url="/" main=true class="safe-areas" ... >
at <F7App key=0 id="org.openhab.ui" name="openHAB" ... >
at <App>
[ECharts] Can't get DOM width or height. Please check dom.clientWidth and dom.clientHeight. They should not be 0.For example, you may need to call this in the callback of window.onload.
:8081/rest/persistence/items/CurrentPower?starttime=2025-10-30T18%3A05%3A36.079Z&endtime=2025-10-31T18%3A05%3A36.078Z&boundary=true&itemState=true:1 Failed to load resource: the server responded with a status of 400 (Bad Request)
[Vue warn]: Unhandled error during execution of watcher getter
at <OhChartComponent ref="chart" context= Object class="oh-chart-page-chart with-toolbar analyzer-chart" ... >
at <AsyncComponentWrapper ref="chart" context= Object class="oh-chart-page-chart with-toolbar analyzer-chart" ... >
at <OhChart ref="chart" class="oh-chart-page-chart with-toolbar analyzer-chart" style= Object ... >
at <OhChartPage class="analyzer-chart" key="4adf0f62ae" context= Object >
at <AsyncComponentWrapper class="analyzer-chart" key="4adf0f62ae" context= Object >
at <F7PageContent ptr=false ptrDistance=undefined ptrPreloader=true ... >
at <F7Page class="analyzer-content" >
at <Analyzer ref="analyzer" f7router= Router f7route= Object >
at <AsyncComponentWrapper ref="analyzer" f7router= Router f7route= Object >
at <F7Popup tablet-fullscreen="" backdrop=false class="analyzer-popup" ... >
at <AnalyzerPopup key="1761933935257_9" f7router= Router f7route= Object >
at <F7RoutableModals>
at <F7App key=0 id="org.openhab.ui" name="openHAB" ... >
at <App>
warn$1 @ runtime-core.esm-bundler.js:51
:8081/analyzer/?item…tem=&aggregation=:1 Uncaught (in promise) Bad Request
Error evaluating async computed property: undefined
echart localisation loading failed: NOMost of these are repeated several times. The persistence error is probably because I don't have any persistence installed - still it could be handled more gracefully? |
|
There also seems to be some router error here still. When I click "Back" from In fact I'm "trapped" inside the settings when I make the window narrow enough that the left menu disappears... |
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
|
I've found a new problem, that might or might not be router-related: If I work on a widget (e.g. The browser console doesn't reveal anything of interest, it merely states: ...which I assume says something about how far the loading comes before it hangs. Eventually, the browser will inform me that "the page isn't responding", but that's after quite a long timeout. This makes it quite hard to work with widgets. Changing the address in the address bar to something "further up" than the widget address, will let the page reload, but you then have to navigate back to the widget itself. |
This comment has been hidden.
This comment has been hidden.
|
The android app has been slow (up to 10 seconds) on many page first loads (and opening the left panel) since vue3. But now, having just updated to Build #4912 Main UI Commit e2fc3c3, the andriod app cannot open any of the administration pages. User pages will open (again with a lag), but Setting, Add-on Store, Developer Tools, and Help & About all fail to open. |
|
I don't know if this is related to the Vue 3 change or not, but I'm having some issues with the "image view". I haven't managed to figure out which component/vue file handles this, since the Vue dev tools acts like it doesn't exist (so many this is pure JS or something?), but: When I'm on So, whether this is related to Vue 3 or not, it's somewhat broken. I haven't used it much in the past, so I don't really know how it used to behave. |
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
|
@florian-h05 on Safari on Mac or our Native IOS app, back functionality is broken when on the "Help & About" Section |
|
In any of the editor panes (widgets, rules, configs) ctrl + f now brings up a search and replace panel at the bottom of the screen (which is cool). However, clicking anywhere on that panel closes it again instead of interacting with the elements on the panel. For example, you cannot select the regex option by clicking on it. The panel works for all of its functions if you navigate by tabbing, but not clicking. (Build #4991) Also related (though I don't know if this is a bug or not), ctrl + f is completely captured by this function. In many websites with custom search boxes like this a second ctrl + f will close the custom box and bring up the browser search function. That is not true with this search box. |
|
@ALL Can you please report bugs from now on using issues (as usual), I think with two milestones including based on Vue 3 we have left the beta phase. Issues allow for easier tracking than GitHub discussions. |







Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Please report bugs & issues with the Main UI Vue 3 Beta version here.
All reactions