The symptom is that when the app Window opens, it stops responding anymore. You cannot close it, and if you resize it it doesn't redraw it's contents.
It doesn't matter if I compile it or just run it with the interpreter, it always behaves the same way (on OS3 at least).
Perhaps it's a combination of things, but I can always recreate it even with a minimal setup (just opening a window on startup).
The other plugins used are:
- RapaGUI
- hURL
And the problem happens if I add the Plananarama plugin on OS3 as well. If I comment out the plananarama linking part, the window opens up and reacts as expected. However, if I run the same app on a non-RTG screen, it will again show the same problem (window stops responding after it opens up). This was the reason I tried linking plananarama in the first place, as I heard that Hollywood requires it on non-RTG screens (even though I'm only using RapaGUI based system windows for this app).
Using Hollywood 9.1, AmigaOS 3.2, P96 v3.4, MUI 5.0.
I'm attaching the files from a minimal test, which I can use to recreate the problem:
Main.hws:
Code: Select all
/****************************************************************
** **
** Name: Test **
** Description: a test program for AmigaOS **
** Author: Dimitris Panokostas **
** Version: 1.2 **
** Date: 2023-05-13 **
** Interpreter: Hollywood 9.1+ **
** **
****************************************************************/
@VERSION 9,1
@REQUIRE "hurl", {Link = True}
@REQUIRE "RapaGUI", {Link = True}
@IF #HW_AMIGAOS3
@REQUIRE "plananarama", {Link = True}
@ENDIF
@APPTITLE "Test"
@BRUSH 0, "Amidon_logo.png"
@BGPIC 1, "Amidon_logo.png"
@FILE 1, "Welcome.xml"
Local gui_file = 1
Local gui ; The GUI definition
@DISPLAY {Title = "Test", Sizeable = True, Layers = True}
; dynamically create GUI from an external *.xml file definition
While Not Eof(gui_file) Do gui = gui .. ReadLine(gui_file)
moai.CreateApp(gui)
; main loop
Repeat
WaitEvent
Forever
Code: Select all
<?xml version="1.0" encoding="iso-8859-1"?>
<application id="dlg_welcome">
<window id="main" title="Amidon" activate="true" width="400" height="300">
<vgroup>
<image brush="0"/>
<Text>
Welcome to this test program!\n
\n
No existing settings were found, so you will need to provide\n
the Mastodon server instance you would like to connect to,\n
and you can optionally login as well. If you don't login,\n
you will only have access to the public information the\n
server provides.\n
</Text>
<rectangle/>
<button id="btn_WelcomeDialogOK">This does nothing</button>
</vgroup>
</window>
</application>
I don't see how I can attach a file here, so you could just use any PNG image for this, I guess