Netherlands
Asked — Edited
Resolved Resolved by DJ Sures!

Bug In ARC While Adding New Script Robot Skill

The verticall scroll bar disappeard in 2020.11.02.00 early access and the regular version. See attached picture, right side. Input for bug fixing: I added on my second screen (F11 shortcut one) a new robot skill, the very basic script (https://synthiam.com/Support/Skills/Scripting/Script?id=16089). After that I vertical scroll bar was gone. Tried various options like going to older save but that seems not affected as well. The scroll bar is visible on the first (F10)and third (F12) screen. Adding the same script robot skill on the first (F10) screen was possible and I could next move it to the second screen. When I deleted it over there (because I suspect the script created some more problems) the vertical scroll bar is gone again.

User-inserted image


Related Hardware EZ-B v4

ARC Pro

Upgrade to ARC Pro

Stay at the forefront of robot programming innovation with ARC Pro, ensuring your robot is always equipped with the latest advancements.

#9   — Edited

OK @DJ, I've been able to consistently reproduce this issue on the latest version of ARC. I have a video I'll attach. However here are the steps:

Have a big project with controls that extend down the screen and need scroll bars to get to. Scroll down the page and leave it.  X out and close ARC. When you are prompted to save you project click "Save" ARC will close.  Reopen ARC and you should see the workspace  you left scrolled down now up under the menu bar as you left them.

It looks like ARC does not reset the whole workspace to a visible state. You can not use the scroll bar to bring the workspace down from under the menu bar.

I hope this helps.

PRO
Synthiam
#10  

I'm on it! stay tuned:)

#11   — Edited

Outstanding ! You've never let us down yet. Just make sure you put on the cape and tights with the big S on the chest. S for Synthiam!

PRO
Synthiam
#12  

Ain't no one gotta picture me in tights, Dave!!!:D

PRO
Netherlands
#13  

Hi Dave,

Thank you for making the video. To add to your observations: when you showed your screens-without-the-bug around time 1:04 you see the first desktop (F10 screen). It has the vertical scroll bar to the right. Later in the video when your show screens-with-the-bug around time 3:04 you see the first desktop and the vertical scroll bar is gone. So, the problem is a little bigger than desktop underneath the top menu bar: I can't scroll up-and-down anymore to reach the controls not shown. Also the screen freezes for me often, even the controls shown I cannot click. Rearrange solves it. And I agree, my carefully arranged screens come back different causing to try to find my control I was looking for.

@DJ, I have out my project on a google drive and if needed can give you access to pull it. Just need a (temp) email address, drop my an email if needed,

Charel

#14  

Hi Charel,

No worries and no trouble. Glad to help. This is also a selfish motivation on my part as I've been annoyed with this problem for a while. To DJ's credit he's tried to fix it several times but probably didn't have the proper visual help and actions like in this video to figure see what's going on. Also, I've spent a lot of time watching this behaviour trying to understand it. I've have been able to reproduce this issue on three or four different computers running Windows 10 and earlier win versions .

I'll take some blame also because I just settled and learned to work with it. I kept quiet so DJ probably thought it was fixed and moved on. He does have a lot on his plate. DJ just doesn't have that kind of time if he can't reproduce it in the first place. This must be a tricky one.

As far as the disappearing scroll bar on the 1st screen, I have noticed it. I forgot to mention it, so thanks for bringing it up. It's good to know that the same thing is happening elsewhere. I know nothing of what is going on in the background. However in my childlike observation of this behaviour is, if you notice, there is no reason to scroll "down". All the controls are either in view on the workspace or slid "up" under the menu bar. For some reason ARC or Windows are not seeing the controls under the menu bar so it takes away the scroll bar. The offending party thinks all the controls are visible and (because of the reboot of the ARC) "forgot" the workspace was up there. Either that or it didn't take note of this before ARC shut down and didn't correct it. Again, that's an uneducated observation.

On a different note; if this is not a secret project you can upload it to the Synthiam Cloud. DJ (or anyone) can see it from there. From within ARC find the Cloud Storage tab on the menu bar and simply click Save. You'll get prompted to enter some information about your project then you can send it away.

Have fun and keep your fingers crossed for us.

PRO
Netherlands
#16  

Hi DJ,

First of all, many thanks for your fast reponses to solve this issue, much appreciated. Here are the test results from the Netherlands (for you to find when you wake up)

Big progress, it looks like the issue is gone, I could not reproduce the problem. e.g. I kept the vertical scroll bar in all three screens while adding controls, saving/re-opening, shuffle, etc. I tried both my latest version that had the problem and older versions that did not have the problem. Also my other issue is solved: Auto Start Command Line Options did now also work for my large project.

Some points for your attention:

  • When you load the project it does its usual thing and shows the first screen and next it takes over a minute to load the other 2 screens. So, the first time I loaded my larger project I thought the ARC was frozen. I was already collecting screen clippings to document the issue when I saw ARC came alive again and completed the load of the 2 other screens. I timed it from the moment I hit the open-button to select my project: after 12 seconds the first screen is build, after 1 minute 30 seconds the 2 other screens load and I can work on my project.
  • Screen 2 and 3 have a black background while my defaults are white background, somehow project defaults are not properly loaded?
  • I still saw the error appear, not sure if it is related to this problem but anyhow worth noticing in case it triggers a "aha" for you:
graph: System.InvalidOperationException: Object is currently in use elsewhere.
   at System.Drawing.Image.get_Width()
   at ARC.UCForms.UC.UCGraph.UpdateImage(Int32 value)