eclipse/streamsheets

Protected text of a drawn label is changeable!

Jachtabahn opened this issue · 2 comments

Description

The user can change the text of a drawn label in the protected Sheet of a Streamsheets App.

This is not good, because the values in the drawn label come from a cell into which they have written by the HTTP.REQUEST command. These values come from a server and they represent the state of a machine. If a user can alter the value, the wrong state is shown. The machine is a dangerous thing that must be monitored accurately. So this should not happen.

Steps to Reproduce

  1. Create a new Streamsheets app.
  2. Create a new sheet and write the text "Hello World" using DRAW.LABEL.
  3. Then protect the sheet.
  4. Click the left mouse click while the mouse is over the "Hello World" text.
  5. Now type the text "Ciao".
  6. You see the text "Hello World Ciao".

Expected behavior:

I expect to see the text "Hello World".

Actual behavior:

I see the text "Hello World Ciao".

Reproduces how often:

Always.

Versions

Streamsheets Version 2.3.0

Thank you for this input!
In version 2.4 this behavior is changed. Label text can be changed via the "Object Properties" menu and a click on a label opens this menu.
In protected mode the click won´t have any effect.

If you still have an issue like this in 2.4 please let me know.

Cheers
Tizian

I tried it: Perfect. Exactly what I wished for. Much thanks!