Design screen - controls disappear

Already before the recent updates I noticed that sometimes, when I change a property of a control (jqm?) the design screen disappears / becomes white. Clicking here and there does not help immediately. After some time, could be a minute or more, the design screen reappears with the altered control. It could be that the disappearing of controls now happens more often and reappearing takes even more time. There is no grid control (similar topic). It is a small project. No error message. Just very slow.
Any ideas where this comes from and how to make the design screen show the slightly altered contents immediately as before?
Bernd

We haven’t had other reports of this. Does it happen only with one particular project? Is it reproducible?

Solely happens when I do not expect it. I tried with different apps too. Could not reproduce it.
Currently Chrome was rather slow until I deleted browser history. But I understand, you do use IE 11 for design screen.
A few minutes ago I started AppStudio. It appeared with an empty design screen. Needed 45 seconds until the controls became visible.

Bernd

Are there any messages in the log? There’s a button to check it on the About screen.

Everything fine and fast since I cleared all browser histories. Just because of your latest question I closed AppStudio and reopened. Only now there was a delay again. Not 45 seconds. Maybe 5 sec. The latest log has no contents. I will try to attach the preceding log.

Bernd

Design screen with several controls disappeared when I pasted text from another app into a new bootstrap textarea. Log shows: 2018-01-29 13:14:42,081 - appstudio.editor.design - WARNING - Exception while converting result to json.
Traceback (most recent call last):
File “appstudio\editor\design.py”, line 815, in run_script
File "json_init
.py", line 339, in loads
File “json\decoder.py”, line 364, in decode
File “json\decoder.py”, line 382, in raw_decode
ValueError: No JSON object could be decoded
2018-01-29 13:14:42,082 - appstudio.editor.design - WARNING - Exception while converting result to json.
Traceback (most recent call last):
File “appstudio\editor\design.py”, line 815, in run_script
File "json_init
.py", line 339, in loads
File “json\decoder.py”, line 364, in decode
File “json\decoder.py”, line 382, in raw_decode
ValueError: No JSON object could be decoded
2018-01-29 13:14:46,124 - PropertiesPanel - WARNING - Dashboard Access has a bad enum value: False
2018-01-29 13:14:46,125 - PropertiesPanel - WARNING - Property does not exist: _parent
2018-01-29 13:14:46,125 - PropertiesPanel - WARNING - Property does not exist: _dbfiles
2018-01-29 13:14:46,125 - PropertiesPanel - WARNING - Property does not exist: _uuid
2018-01-29 13:14:46,127 - PropertiesPanel - WARNING - Property does not exist: id
2018-01-29 13:14:48,140 - PropertiesPanel - WARNING - Property does not exist: _parent
2018-01-29 13:14:48,140 - PropertiesPanel - WARNING - Property does not exist: _uuid
2018-01-29 13:14:48,141 - PropertiesPanel - WARNING - Property does not exist: _functions
2018-01-29 13:14:49,947 - PropertiesPanel - WARNING - Property does not exist: _parent
2018-01-29 13:14:49,948 - PropertiesPanel - WARNING - Property does not exist: _uuid
2018-01-29 13:15:15,072 - PropertiesPanel - WARNING - Property does not exist: _parent
2018-01-29 13:15:15,073 - PropertiesPanel - WARNING - Property does not exist: _uuid
2018-01-29 13:15:19,717 - appstudio.editor.design - WARNING - Bypassing _hit_widget due to uninitialized _map.
2018-01-29 13:15:19,730 - PropertiesPanel - WARNING - Property does not exist: _parent
2018-01-29 13:15:19,732 - PropertiesPanel - WARNING - Property does not exist: _uuid
2018-01-29 13:15:19,732 - PropertiesPanel - WARNING - Property does not exist: _functions
2018-01-29 13:15:25,359 - PropertiesPanel - WARNING - Property does not exist: _parent
2018-01-29 13:15:25,359 - PropertiesPanel - WARNING - Property does not exist: _uuid
2018-01-29 13:15:28,759 - PropertiesPanel - WARNING - Property does not exist: _parent
2018-01-29 13:15:28,759 - PropertiesPanel - WARNING - Property does not exist: _uuid
2018-01-29 13:15:28,760 - PropertiesPanel - WARNING - Property does not exist: _functions
2018-01-29 13:16:15,240 - appstudio.editor.design - WARNING - Bypassing _hit_widget due to uninitialized _map.
2018-01-29 13:16:15,240 - IDEController - WARNING - Ignoring duplicate selection request.
2018-01-29 13:17:01,230 - PropertiesPanel - WARNING - Property does not exist: _parent
2018-01-29 13:17:01,230 - PropertiesPanel - WARNING - Property does not exist: _uuid
2018-01-29 13:17:02,204 - IDEController - WARNING - Ignoring duplicate selection request.
2018-01-29 13:17:05,105 - IDEController - WARNING - Ignoring duplicate selection request.
2018-01-29 13:17:10,193 - PropertiesPanel - WARNING - Property does not exist: _parent
2018-01-29 13:17:10,194 - PropertiesPanel - WARNING - Property does not exist: _uuid
2018-01-29 13:17:11,062 - IDEController - WARNING - Ignoring duplicate selection request.
2018-01-29 13:17:14,993 - IDEController - WARNING - Ignoring duplicate selection request.

See attached screenshot


Bernd

Can you zip the project folder and send it to me so I can try this here?

Meanwhile I inserted a new textarea and typed in the text instead of copy and paste. No crash of design screen. Then I copied and pasted only one line with the copyright text. Contents of design screen immediately became unvisible. The attached zip shows the saved version before paste and crash. The last lines of log:
2018-01-29 14:20:34,543 - appstudio.editor.design - WARNING - Exception while converting result to json.
Traceback (most recent call last):
File “appstudio\editor\design.py”, line 815, in run_script
File "json_init
.py", line 339, in loads
File “json\decoder.py”, line 364, in decode
File “json\decoder.py”, line 382, in raw_decode
ValueError: No JSON object could be decoded
2018-01-29 14:20:34,545 - appstudio.editor.design - WARNING - Document UUID () did not match stored UUID (f87c1c6d68594928a23a5d02c89908b7)!
2018-01-29 14:20:41,423 - PropertiesPanel - WARNING - Property does not exist: _parent
2018-01-29 14:20:41,423 - PropertiesPanel - WARNING - Property does not exist: _uuid
2018-01-29 14:20:41,424 - PropertiesPanel - WARNING - Property does not exist: _functions
2018-01-29 14:20:41,713 - IDEController - WARNING - Ignoring duplicate selection request.
2018-01-29 14:20:41,730 - appstudio.editor.design - WARNING - Exception while converting result to json.
Traceback (most recent call last):
File “appstudio\editor\design.py”, line 815, in run_script
File "json_init
.py", line 339, in loads
File “json\decoder.py”, line 364, in decode
File “json\decoder.py”, line 382, in raw_decode
ValueError: No JSON object could be decoded
2018-01-29 14:20:41,730 - appstudio.editor.design - WARNING - Document UUID () did not match stored UUID (ed278df243664766b3327d64dd0ef81d)!
2018-01-29 14:20:54,186 - PropertiesPanel - WARNING - Property does not exist: _parent
2018-01-29 14:20:54,187 - PropertiesPanel - WARNING - Property does not exist: _uuid
2018-01-29 15:01:17,884 - PropertiesPanel - WARNING - Property does not exist: _parent
2018-01-29 15:01:17,887 - PropertiesPanel - WARNING - Property does not exist: _uuid
2018-01-29 15:01:18,788 - PropertiesPanel - WARNING - Property does not exist: _parent
2018-01-29 15:01:18,789 - PropertiesPanel - WARNING - Property does not exist: _uuid
2018-01-29 15:04:21,913 - PropertiesPanel - WARNING - Property does not exist: _parent
2018-01-29 15:04:21,915 - PropertiesPanel - WARNING - Property does not exist: _uuid
2018-01-29 15:04:41,012 - PropertiesPanel - WARNING - Property does not exist: _parent
2018-01-29 15:04:41,015 - PropertiesPanel - WARNING - Property does not exist: _uuid
2018-01-29 15:04:42,976 - PropertiesPanel - WARNING - Property does not exist: _parent
2018-01-29 15:04:42,979 - PropertiesPanel - WARNING - Property does not exist: _uuid
2018-01-29 15:04:45,226 - PropertiesPanel - WARNING - Property does not exist: _parent
2018-01-29 15:04:45,229 - PropertiesPanel - WARNING - Property does not exist: _uuid
2018-01-29 15:04:46,226 - PropertiesPanel - WARNING - Property does not exist: _parent
2018-01-29 15:04:46,229 - PropertiesPanel - WARNING - Property does not exist: _uuid
2018-01-29 15:04:58,329 - PropertiesPanel - WARNING - Property does not exist: _parent
2018-01-29 15:04:58,332 - PropertiesPanel - WARNING - Property does not exist: _uuid
2018-01-29 15:50:42,440 - PropertiesPanel - WARNING - Property does not exist: _parent
2018-01-29 15:50:42,444 - PropertiesPanel - WARNING - Property does not exist: _uuid
2018-01-29 15:51:35,744 - PropertiesPanel - WARNING - Property does not exist: _parent
2018-01-29 15:51:35,747 - PropertiesPanel - WARNING - Property does not exist: _uuid

FindeMich.zip (6.3 KB)

@Leader
Update: Happened again. I guess: this BS textarea doesn’t like line feed or empty line within the text. After the design screen went white I deleted the blank space, which had caused a new line, between sentences. Result: controls on design screen became visible again immediately.
Bernd

Thank you!

I am able to reproduce this here. It will be fixed in the next build.

This is off topic - could you create a new topic for this?

This is also a separate issue - I assume this was not happening before.

This can happen if you are setting the html of a control to an invalid value. You might be able to figure out what is going on by right clicking there and doing “Inspect”

If this does not help, please open a new issue.

Happening to me - tried two different projects - one was only one event. Control disappeared from the design screen - if try to run, says no control of that name. Attached is the small project.

Here is the log file:
2020-02-04 14:21:59,280 - appstudio.editor.design - ERROR - Error during _display_selectors <Checkbox_bs4: b’chkbxIceCream’(0xe72f1e52c57d4ecfbafb2a74e9401126) at 0x10ba412d0>
Traceback (most recent call last):
File “appstudio/editor/design.py”, line 934, in _display_selectors
KeyError: ‘chkbxIceCream’
2020-02-04 14:21:59,281 - appstudio.editor.design - ERROR - Error during _display_selectors <Checkbox_bs4: b’chkbxIceCream’(0xe72f1e52c57d4ecfbafb2a74e9401126) at 0x10ba412d0>
Traceback (most recent call last):
File “appstudio/editor/design.py”, line 934, in _display_selectors
KeyError: ‘chkbxIceCream’
2020-02-04 14:22:00,142 - appstudio.editor.design - ERROR - Error during _display_selectors <Checkbox_bs4: b’chkbxIceCream’(0xe72f1e52c57d4ecfbafb2a74e9401126) at 0x10ba412d0>
Traceback (most recent call last):
File “appstudio/editor/design.py”, line 934, in _display_selectors
KeyError: ‘chkbxIceCream’
2020-02-04 14:22:01,711 - appstudio.editor.design - ERROR - Error during _display_selectors <Checkbox_bs4: b’chkbxIceCream’(0xe72f1e52c57d4ecfbafb2a74e9401126) at 0x10ba412d0>
Traceback (most recent call last):
File “appstudio/editor/design.py”, line 934, in _display_selectors
KeyError: ‘chkbxIceCream’
2020-02-04 14:25:19,937 - appstudio.editor.design - ERROR - Error during _display_selectors <Checkbox_bs4: b’chkbxIceCream’(0xe72f1e52c57d4ecfbafb2a74e9401126) at 0x10ba412d0>
Traceback (most recent call last):
File “appstudio/editor/design.py”, line 934, in _display_selectors
KeyError: ‘chkbxIceCream’
2020-02-04 14:25:38,104 - appstudio.editor.design - ERROR - Error during _display_selectors <Checkbox_bs4: b’chkbxIceCream’(0xe72f1e52c57d4ecfbafb2a74e9401126) at 0x10ba412d0>
Traceback (most recent call last):
File “appstudio/editor/design.py”, line 934, in _display_selectors
KeyError: ‘chkbxIceCream’
2020-02-04 14:25:38,105 - appstudio.editor.design - ERROR - Error during _display_selectors <Checkbox_bs4: b’chkbxIceCream’(0xe72f1e52c57d4ecfbafb2a74e9401126) at 0x10ba412d0>
Traceback (most recent call last):
File “appstudio/editor/design.py”, line 934, in _display_selectors
KeyError: ‘chkbxIceCream’
2020-02-04 14:26:47,792 - appstudio.editor.design - ERROR - Error during _display_selectors <Checkbox_bs4: b’chkbxIceCream’(0xe72f1e52c57d4ecfbafb2a74e9401126) at 0x10ba412d0>
Traceback (most recent call last):
File “appstudio/editor/design.py”, line 934, in _display_selectors
KeyError: ‘chkbxIceCream’
2020-02-04 14:26:51,549 - appstudio.editor.design - ERROR - Error during _display_selectors <Checkbox_bs4: b’chkbxIceCream’(0xe72f1e52c57d4ecfbafb2a74e9401126) at 0x10ba412d0>
Traceback (most recent call last):
File “appstudio/editor/design.py”, line 934, in _display_selectors
KeyError: ‘chkbxIceCream’
2020-02-04 14:26:55,934 - appstudio.editor.design - ERROR - Error during _display_selectors <Checkbox_bs4: b’chkbxIceCream’(0xe72f1e52c57d4ecfbafb2a74e9401126) at 0x10ba412d0>
Traceback (most recent call last):
File “appstudio/editor/design.py”, line 934, in _display_selectors
KeyError: ‘chkbxIceCream’
2020-02-04 14:26:59,849 - appstudio.editor.design - ERROR - Error during _display_selectors <Checkbox_bs4: b’chkbxIceCream’(0xe72f1e52c57d4ecfbafb2a74e9401126) at 0x10ba412d0>
Traceback (most recent call last):
File “appstudio/editor/design.py”, line 934, in _display_selectors
KeyError: ‘chkbxIceCream’

Here is the file:
checkboxDemo.appstudio.zip (8.7 KB)

The problem was that you had multi line text for the value property, which created problems. Change it to a single integer and it will work fine.

We’ll put a fix into the next build so it won’t be possible in the future.

Fixed in 8.0.4