MUI-HelpSystem problems when Opening Music.

Discuss GUI programming with the MUI Royale plugin here
evil
Posts: 177
Joined: Mon Jun 14, 2010 1:38 pm

MUI-HelpSystem problems when Opening Music.

Post by evil »

Hello!
Following problem:
when I start a mui-application with application.helpfile and window.helpnode set, everything works fine.
When I hit the help-key, before a music was opened, the Help-File will be displayed.
When a music is opened before the help-key was pressed, the help-function wont work.

mui.iconify() reacts almost the same.
If a music is opened, iconification wont work.

Bug??

Here some example-snippets:

Code: Select all

@REQUIRE "MUIRoyale"
@APPTITLE "MusicTest"
@APPVERSION "$VER: 1 (14.06.14)"
@APPCOPYRIGHT "©2014, Jörg Renkert"
@APPAUTHOR "Jörg Renkert"
@APPDESCRIPTION "Music testing code"

mui.CreateGui(FileToString("Hilfe-test.xml"))
mui.request ("Music","When hitting the help key now, the help-file will be opened.","ok")
openmusic (1,"any/file.mp3")

mui.request ("Music","When not hittet help-key till now, mui-help wont work...","ok")
repeat
	waitevent
forever
And of course the xml-code:

Code: Select all

<?xml version="1.0" encoding="iso-8859-1"?>
<application id="MusicTest" base="Test" helpfile="any.guide">

	<window id="test" helpnode="MAIN">
		<vgroup>
			<text>Super Sache</text>
		</vgroup>
	</window>
</application>
Best regards!

George
User avatar
airsoftsoftwair
Posts: 5443
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: MUI-HelpSystem problems when Opening Music.

Post by airsoftsoftwair »

I can't reproduce this here. It also would have been very surprising how the music loader should affect MUI Royale :) Are you sure that you are doing this the right way? The help key of course will NOT work if you press it while the main Hollywood display is the active window because this window is NOT a MUI window. The HELP key will only work while windows that belong to MUI are active. The main Hollywood display is not a MUI window!
evil
Posts: 177
Joined: Mon Jun 14, 2010 1:38 pm

Re: MUI-HelpSystem problems when Opening Music.

Post by evil »

Hi!
I sent the same scipt compiled to whose (A1k.org)
He had the same probleml.
He is using OS4.1, too!

Had you testet this on OS4??

Regards!
George!
evil
Posts: 177
Joined: Mon Jun 14, 2010 1:38 pm

Re: MUI-HelpSystem problems when Opening Music.

Post by evil »

by the way: the os3-version of the script works correct under OS4.1...
Very strange...

regards

george
User avatar
airsoftsoftwair
Posts: 5443
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: MUI-HelpSystem problems when Opening Music.

Post by airsoftsoftwair »

Yes, I tested it on OS4. Can you send the compiled script including the MP3, the help file and the source code to me? Then I can check it again with the actual test files.
evil
Posts: 177
Joined: Mon Jun 14, 2010 1:38 pm

Re: MUI-HelpSystem problems when Opening Music.

Post by evil »

Mail is sent...

thanks

Jörg (george) Renkert
evil
Posts: 177
Joined: Mon Jun 14, 2010 1:38 pm

Re: MUI-HelpSystem problems when Opening Music.

Post by evil »

Hello

Also, I recognized, when another Program is playing music, while starting the script, Hollywood is(ofcourse) unable to open the music.
In that case, the help-system and iconifying runs well..

User root (a1k.org) test

by the way, more tests from root gave, that he cannot play music, when a MUI-script is running...

greets

George
User avatar
airsoftsoftwair
Posts: 5443
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: MUI-HelpSystem problems when Opening Music.

Post by airsoftsoftwair »

Ok, issue confirmed and will be investigated into.
User avatar
airsoftsoftwair
Posts: 5443
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: MUI-HelpSystem problems when Opening Music.

Post by airsoftsoftwair »

This issue is fixed now. It was a bug in Hollywood itself, not in MUI Royale.
evil
Posts: 177
Joined: Mon Jun 14, 2010 1:38 pm

Re: MUI-HelpSystem problems when Opening Music.

Post by evil »

Great!! Thank you!!
Post Reply