Screen flashing

I often, but not regularly, have this error that when I click on an element on the triangle page, everything flashes. If I do nothing, the program can hang. Sometimes ctrl+s helps, and sometimes the save menu.

Edit: AppStudio 9.1.5.1 Windows 10

I’m attaching a video
AppStudio_VMcfoYDYFi

Is this when running your app in the browser?

It’s not clear to me what you are showing.

Opening the program. My last project opens. I click the sun icon (or any other object) and everything starts blinking. Something loops and can only be interrupted by ctrl+s or the save menu.
AppStudio_3nxSmjqLTq

Wow, that would be irritating!

Have you tried it on another computer? Does it only happen with this one app?

Also, in the About screen, there is a View Log button. Is there any information there?

This happens on various projects. I suspect that I have some unique method of building the site and that’s where these errors come from.

Today, right after opening the program, this is what the log looks like (attachment)
tmp.zip (6.1 KB)

Thanks for the log - it does not help much.

Have you tried it on another computer?

I can install it on another computer and see if it’s the same. I’ll try it on another computer tomorrow at work.

This computer is:

Processor Intel(R) Core™ i5-7300HQ CPU @ 2.50GHz 2.50 GHz
Installed RAM 16.0 GB
System type 64-bit operating system, x64 processor

Windows 10 Home version
Version 22H2
Installed on ‎2024-‎07-‎03
OS build 19045.5737
Windows Feature Experience Pack 1000.19061.1000.0

ps. There are errors in the logs, but I guess everything is fine? Such errors are already in the new project without changes:
2025-04-24 21:39:16,951 - appstudio.editor.design - ERROR - Raw map: {}

I have encountered a similar issue to this.

When you have form with bs4 Inputs, Selects, Containers etc…

Add another item from the ToolBox to the form, the added item will be at the bottom of the list in the Project explorer sidebar.

Now, using the “move up” or “move down” icon in the Project Explorer sidebar, to move the item from the bottom of the list to the top of the list, click the “move up” icon multiple times too quickly the screen will start flashing and you have to tab to a different form to stop it.

@pro_certs - can you give me a step by step to reproduce this?

For an existing Form with bs4 elements, add many elements to the Form and put them all inside a container, the container position set to “relative”, width 100%, height set to hight of screen. Style = float:left; overflow-y:scroll; -webkit-overflow-scrolling:touch;

For reference I have a total of 13 forms.

  1. Add another element to the form and put it in inside the container.
  2. The last element which was just added to the Form will be at the bottom of the Project Explorer list of elements.
  3. Assume you want to move that element from the bottom of the Project Explorer list of elements to the top of the list, so Click the “move up” icon (top of the Project Explorer sidebar) multiple times in quick succession.
  4. Screen will start flashing and become unusable.

@pro_certs: I tried to reproduce from your description, but wasn’t able to. I had to make a lot of assumptions about what elements you used, etc., so I probably wasn’t doing the same thing.

If you export the form and import it into a new empty project, does the problem still happen? If so, can you send me that new project?

I do believe this is related to the image control bug im working with George on currently. I get this error but it does not appear when forms don’t have the image control. Even if your current form doesn’t have an image control the bug still appears if a form has been opened that has an image control on it. To be more specific it is when an image control has an image in the properties src. An empty image control doesn’t do it.
This is a windows specific problem, and also results in objects losing their selection when editing. Seemingly quite difficult for the AS team to knock out but they are working on it, assuming it is the same issue.

1 Like