armory icon indicating copy to clipboard operation
armory copied to clipboard

Canvas editing in SDK 22/04 seems not to work

Open StrandedAlien opened this issue 2 years ago • 6 comments

Thank you for contributing to Armory!

Description Editing button for canvas does not seem to work anymore

To Reproduce Use Default cube scene, new canvas, edit canvas throws following error in console

X Error: BadRROutput (invalid Output parameter)

Push edit canvas again generates more identical errors like this

Test File Default cube

StrandedAlien avatar Apr 10 '22 01:04 StrandedAlien

Hi, do you use Linux? It seems like this issue has happened before, see https://forums.armory3d.org/t/linux-krom-doesnt-compile-in-sdk-2010/4252 and https://github.com/armory3d/armory/issues/1909 for details (it seemed to happen when the primary display wasn't properly set up). It was apparently fixed by https://github.com/Kode/Kinc/pull/563, but maybe there's a regression. I think that the Kinc window handling on Linux got major updates recently, maybe those updates have re-introduced this issue?

MoritzBrueckner avatar Apr 10 '22 19:04 MoritzBrueckner

Yep, Manjaro/Arch Linux. Its a rolling distro with plenty of updates. Compiling to Linux-HL is broken, in 22/04, i know but Krom compiles fine. But i was reffering to a Canvas which does not open when i create a new one and push Edit Canvas (Under Add trait- UI). The button does not seem to do anything anymore and prevents me entirely from using Zui menus.

Hope this made it clearer now.

Canvas_not_opening

StrandedAlien avatar Apr 10 '22 20:04 StrandedAlien

Same issue here if i my primary display is disconnected. When it's connected the window opens but the application fails with:

Trace: TypeError: Cannot read property 'get_frequency' of null
    at Function.kha_Scheduler.start (<anonymous>:6063:36)
    at Function.kha_SystemImpl.init (<anonymous>:7048:16)
    at Function.kha_System.start (<anonymous>:6697:17)
    at Function.Main.main (<anonymous>:92:13)
    at <anonymous>:32856:6
    at <anonymous>:32857:3

tong avatar Apr 10 '22 20:04 tong

Does not really appear as the same error to me, as i only get this one error line X Error: BadRROutput (invalid Output parameter) every time i click on edit canvas. But no canvas window opens.

StrandedAlien avatar Apr 11 '22 01:04 StrandedAlien

If i build armorcore myself i get an empty window and:

Display 0 not connected.
Display 0 not connected.
Display 0 not connected.
Display 0 not connected.
Using OpenGL version 4.6 (forward-compatible).

… with primary display set up and connected (check with: xrandr --current).

tong avatar Apr 11 '22 08:04 tong

Latest working version with unchanged hard-and software setup is 22/02. Not working in 22/03 and 22/04. Canvas22-02

StrandedAlien avatar Apr 11 '22 22:04 StrandedAlien