Armory: Canvas editor problems

Created on 14 Apr 2020  路  5Comments  路  Source: armory3d/armory

Here I will report all the problems I have been facing with the Canvas editor and some nodes related to it.

  1. The first one is the Canvas Set Check Box Visible node; it is currently not possible to set the visibility value of this node without an error and a freeze being returned. The Check Box element does not appear to have the 'visibility' property.

  2. Another frustrating bug is not being able to define the color of the text of the elements without first changing the background color or another color. This bug does not make sense for me, it seems that while it does not change any color before the text, it is stuck in the original color.

bug

All 5 comments

Unfortunately I cannot reproduce any of the bugs, do you have some more information (like an error message or a test file?)

  1. You mean the Canvas Set Visible node right? It indeed fails if the element has no visible attribute but this doesn't happen in my test, even if I manually remove the visible attribute from the canvas source file. Are you sure the element does exist? Anyway, I will fix the issue with the error if the element does not exist.

  2. I also cannot reproduce that. The canvas editor is running just fine, in Krom (Blender) and HTML5 (debugging)

  1. I will test again and send a test file if it happens again later.

  2. The problem related is very simple: when you create a Canvas element, for example, a button; you can't go right in the text color and edit it. You first have to edit or background color or another value first before you can change the text color properly. It is not a problem that appears in the console, just a little bug.

I can't send a test file for number 2, because it is a bug right in Canvas Editor when you do the steps above.

Thanks :)

I still cannot reproduce the second bug. What I did:

  1. Create a new canvas
  2. Open the Canvas Editor
  3. Add a button
  4. Without changing anything (not even moving the button), I change the text color. It just works.

Do you have git installed? If yes, can you take a look if the "armory_tools" submodule in ArmorySDK/lib/ is checked out on the master branch?

Hi, @MoritzBrueckner. I tested it again and the problem does not occur with Button element.

Issue 1: Maybe i have do something wrong, now it is working perfectly. Sorry for the mistake. I will disconsider this issue.

Issue 2: The problem just occur with Check Box and Radio element. Do the steps again but now with one of those elements. If you already tested with these, then the problem is with me.

The steps:

  1. Create a new Canvas element (Radio or Check Box).
  2. Don't do nothing and try to change the text color.
  3. When you release the mouse button, the text color will be reseted.

But if you change background color first, when you change the text color it will works.

Thanks, it will be fixed in https://github.com/armory3d/armory2d/pull/53

Was this page helpful?
0 / 5 - 0 ratings

Related issues

HeadClot picture HeadClot  路  3Comments

Nos- picture Nos-  路  4Comments

guzzard picture guzzard  路  4Comments

luboslenco picture luboslenco  路  3Comments

Sanva picture Sanva  路  3Comments