I have selected “Confirmation Prompt” under Security thinking I would get a prompt when the thumb slider is moved. Well… someone was scrolling last night and must have moved the thumb slider to max and that resulted in an undesirable temperature in the morning.
So my question is this… Does the “Confirmation Prompt” not work on a Supertile like it does on other Tiles?
I suspect that the Gauge component doesn’t properly support the Security restriction which gets set at the tile level. I’ll take a look at getting proper support for the restriction in place on the Gauge control.
For full transparency, with Christmas just around the corner, I may not be able to get to it right away.
Hey Josh, no rush. I ended up playing around with that a little bit today and found out something interesting. At least I think so.
I have the exact same super tile on another dashboard that is a work in progress. It did not have the security command prompt on that one. When I changed that one to the same as the other dashboard I began getting the security prompt as I expected. Does that make any sense? Would they both have to have the same security setting? They are both working as expected at this point.
EDIT: Today I’m seeing the confirmation prompt working as expected on the dashboard on my PC, but not working on the same dashboard on Android.
I’m able to reproduce the issue and I have an idea how to fix this.
It looks like the tile is still trying to call the Security Check at the tile level, at least with a mouse on a computer, but the check itself isn’t helpful as the command is already queued up directly by the gauge in the background. I’ll let you know when I have an update available.
I’ll keep that in mind when implementing the fix and testing it.
The security prompt is on a ‘click’ handler at the top level (the super tile item)… whereas the setting of the value happens one level deeper and has its own custom pointer down, move, pointer up logic. So I’m not sure how it would have worked.
Using the PC Dashboard, when the command prompt comes up, choosing “CANCEL” triggers the action anyway. I tested this on other tiles that have the command prompt and selecting “CANCEL” closes the box and things are left in the current status.
In this case, if the gauge is moved, either option still changes it to the new, and probably undesired level.
Thanks for confirming. That’s the implication of what I mentioned above about the security click handler being at a higher level at the Super Tile ‘Item’ level… whereas the Gauge is inside that and has its own special logic to allow dragging and calculating the closest value to your cursor.
The implication being that the click handler for the security prompt is basically run in parallel to the gauge drag. So the inner gauge action runs irrespective of the security prompt configuration.