question

mariner62 avatar image
mariner62 asked

What happened to my Advanced Page Widget Lock?

Hi,

I own a couple of systems that are linked to VRM. I am the Admin.

Until recently, there was a lock control on VRM which allowed me to lock the advanced page to help prevent inadvertent changes. Great feature, except this control is no longer visible on VRM. I've tried using PC and IOS devices but it just doesn't show.

What happened to that control?

I'm currently needing to enable some new widgets to help with fault-finding, but the widgets are locked and I can find no way to unlock it. I cannot remove existing widgets and I cannot add new ones.

I've tried logging out and logging in again but that didn't fix the problem.

Help !

VRMwidget vrm
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

2 Answers
JohnC avatar image
JohnC answered ·

@Mariner62

Still there for me.. 1686576948793.png

Maybe look in Settings > Users to see you're still listed as having Full Control..


1686576948793.png (4.4 KiB)
6 comments
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

mariner62 avatar image mariner62 commented ·

@JohnC yes that's what I want to see, but I don't. This is what I see.

1686577841678.png

Thanks for the suggestion... I checked the Settings/Users. I am the only user, and I have "Full Control" selected.

0 Likes 0 ·
1686577841678.png (6.9 KiB)
Show more comments
Guy Stewart (Victron Community Manager) avatar image
Guy Stewart (Victron Community Manager) answered ·

Hi @Mariner62

The locks are indeed browser-specific, locking/unlocking the installation only affects one user and one browser. It is a front end UI control.

I think the reason the lock is not shown is if the window width is small, so if you had two browser windows next to each other that might have been the cause.

On mobile devices the lock is never shown because you can not change the widget order there :)


4 comments
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

mariner62 avatar image mariner62 commented ·

Hi Guy,

Thanks for your response.

I did look for any browser width issues, but that was not the problem. I had Chrome running full screen with no horizontal scroll bar. I closed Chrome and switched to Edge full screen and logged into VRM there. Edge showed the lock control immediately. I then opened a Chrome browser again and logged in and found the lock control was now present in Chrome. The switch of browsers appears to have cleared the fault.

Regarding the mobile devices. I am confused by your statement that the lock control is not available on mobile devices.

The lock control does appear for me on an iPad, and on there I can enable and disable widgets.

On my phone, the lock control does not appear (I can confirm it was there previously), and I am no longer able to enable or disable widgets. So all I have are the widgets that were enabled last time the lock control was available on my phone. I cannot disable the ones which are enabled and I cannot enable the ones which are disabled. I'm sure that is not the intended operation of VRM for clients using a phone.

Hope you can clarify this.

0 Likes 0 ·
Guy Stewart (Victron Community Manager) avatar image Guy Stewart (Victron Community Manager) ♦♦ mariner62 commented ·

Hi,


The lock main function is disabling resizing and moving the already enabled widgets around.


On a phone as there is no positive tap mode, it can happen accidentally that just tap scrolling could move a widget. Also the widgets are presented as a single size in a list.


So it has been removed from the mobile/narrow horizontal resolution UI all together.


I suppose iPad falls something in the middle with a large enough resolution width so that widgets are resizable and movable, so it's important that it is able to be controlled again.


As for why it was not in chrome, and then re-opening it appeared, I can only speculate that it was as described above without seeing a screenshot in the wide screen mode without the lock visible.


It should be possible to see the modes adjust responsively by widening and narrowing the browser window.

cleanshot-2023-06-14-at-112059.jpg


In the attachments here. You can see a narrow UI with the widget buttons at the very top and lock mode hidden, and then the wide UI with the widget buttons a few cm from the top and the lock toggle visible.


cleanshot-2023-06-14-at-112111.jpg


It is also possible to 'trick' the iPhone UI by decreasing the browser zoom in landscape mode to 50% - and then the resolution is is wide enough to reveal the lock toggle again (though the site is otherwise quite unusable at this resolution imo).

cleanshot-2023-06-14-at-113502.jpg

The setting is not shared between browsers, it is stored locally to your device in the browser, not on our server. you can see here I am in chrome and safari with different modes simultaneously. There it is possible to change the arrangement in unlocked chrome, and still have it change in the 'locked' safari.

cleanshot-2023-06-14-at-113706.jpg


This is not intended to be a security measure or anything, just a front end user interface convenience to prevent a mistaken re-arrangement. It was added to VRM at the same time as the ability to move the widgets around and resize them, which was not always possible.



0 Likes 0 ·
mariner62 avatar image mariner62 Guy Stewart (Victron Community Manager) ♦♦ commented ·
@Guy Stewart (Victron Community Manager)

Hi Guy, sorry my "Further to my last comment" was sent before I saw your detailed response.

Your explanation about how the lock control appears/disappears as a function of screen "pixel availability" makes it much clearer and I now understand what is happening here. I suspect my PC Chrome browser was having some scaling issues. I don't understand exactly why these were alleviated after I used the Edge browser, but lets face it we see some pretty strange things happen with browsers from time to time.

I tried your iPhone "trick" in Safari browser and the lock control showed up as you expected. I then toggled it, and immediately I was able to once more enable and disable widgets in Safari. I've gone back to normal zoom and won't go near that control again!

Thanks for jumping in on this, you have alleviated a lot of confusion.

Hopefully one day we'll be able to re-order the widgets on the iPhone display (other than just being able to send one to the top). That was a useful function.

Thanks again

1 Like 1 ·
mariner62 avatar image mariner62 mariner62 commented ·
@Guy Stewart (Victron Community Manager)

Hi Guy,

Further to my last comment, I have spent some more time looking at potential browser issues on my iPhone.

I have just found this:

I have always used Safari to access VRM. Currently this does not show the lock control and also does not allow me to enable/disable widgets.

Since the problem is browser-related, I downloaded Chrome to my iPhone and logged in to VRM with that (whilst also logged in on Safari).

With the Chrome browser I do not see the lock control (same as safari), BUT I am able to enable and disable widgets. This may be the operation that you were expecting, i.e. cannot see the lock control, but still have the ability to enable/disable widgets. What do you think?


Note that I have entirely different widget sets enabled/disabled when I log in using my PC browser compared to my iPhone browser. It's not the case that my iPhone is locked to the same widget set as my PC (which I think may be what you implied in your response above?)

Curiouser and curiouser.


0 Likes 0 ·

Related Resources