Skip to content

HaxeUI crashes on second window #69

@BombasticTom

Description

@BombasticTom

HaxeUI-OpenFL seems to randomly crash on a 2 window Lime application.

Current Behavior

The software works, it creates two windows, but the program has a habit of randomly crashing after a while of clicking on one of the buttons.

Media

(the video plays twice for an unknown reason)

2024-03-07.17-24-33.-.Trim.mp4

If you have any language translation questions, let me know

Test app / minimal test case

Window Creation Code:

window = stage.application.createWindow({
    title: "KONTROLNA TABLA",
    width: 800,
    height: 720,
    resizable: false,
});
window.stage.color = 0x00000000;

var app:HaxeUIApp = new HaxeUIApp({container: window.stage});

app.ready(function()
{
    app.addComponent(new MainView());
    app.start();
});

Context

Basically, my friend has asked me to program him a game show software where he uses one window for controlling the whole game, and the other window to display all game events. I decided to use HaxeFlixel for the first window as the game screen, and HaxeUI-OpenFL for the second window, as a game controller.

Your Environment

  • Version used: 1.6.0
  • Operating System and version (desktop or mobile): Windows 10 Pro 22H2 19045.4046

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions