Design screen - controls disappear


#1

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


#2

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


#3

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


#4

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


#5

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


#6

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


#7

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


#8

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)


#9

@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


#10

Thank you!

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


#12

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


#14

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.