When a region is locked, the icon for that region in the IPE is an unlocked padlock. This violates a UI principle which states that you should be able to see the current state of an element in the UI. I propose changing the code and CSS to show the correct icon. This would be done in two places: where the links are created, assigning their state ('locked' or 'unlocked') and to the CSS so the class names reflect the state rather than the available action.
I'll attach a patchfile with the proposed changes.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | show-current-lock-state-2666590-3.patch | 1.43 KB | berliner |
| #2 | show-current-lock-state-2666590-1.patch | 1.84 KB | dmenefee |
Comments
Comment #2
dmenefee commentedComment #3
berliner commentedPatch didn't apply for me. Corrected patch attached.
Comment #4
berliner commentedComment #6
rabbitlair commentedThank you folks! I merged the second patch, as first one was not working properly.