moai.Request() behaves strange

Discuss GUI programming with the RapaGUI plugin here
User avatar
airsoftsoftwair
Posts: 4624
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: moai.Request() behaves strange

Post by airsoftsoftwair »

Works fine on my MUI version (5.0-2017R1) so seems to be a MUI bug. I've reported it here: https://github.com/amiga-mui/muidev/issues/333

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

Re: moai.Request() behaves strange

Post by airsoftsoftwair »

mrupp wrote:
Fri Apr 16, 2021 11:10 am
I'm using MUI 5.0.2020R3 which should be the latest one, afaik.
Can you check using the latest nightly build from here: http://nightly.muidev.de/2021-04-21-mui5/

It works fine here.

User avatar
mrupp
Posts: 67
Joined: Sun Jan 31, 2021 7:44 pm
Location: Switzerland
Contact:

Re: moai.Request() behaves strange

Post by mrupp »

airsoftsoftwair wrote:
Sat Apr 24, 2021 5:03 pm
Can you check using the latest nightly build from here: http://nightly.muidev.de/2021-04-21-mui5/

It works fine here.
Tried the nightly build, but no, doesn't work here:

Code: Select all

@REQUIRE "RapaGUI", { Link = True }
SystemRequest("RapaGUI", "Hello!\n\nThis dialog should show an information icon.", "OK", #REQICON_Information) ; shows icon
moai.Request("RapaGUI", "Hello!\n\nThis dialog should show an information icon.", "OK", "Information") ; no icon

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

Re: moai.Request() behaves strange

Post by airsoftsoftwair »

Can you check if the images mentioned by Thore here are all there on your system? Have you checked with SnoopDOS if MUI fails to load some images or anything?

User avatar
mrupp
Posts: 67
Joined: Sun Jan 31, 2021 7:44 pm
Location: Switzerland
Contact:

Re: moai.Request() behaves strange

Post by mrupp »

airsoftsoftwair wrote:
Fri May 07, 2021 7:19 pm
Can you check if the images mentioned by Thore here are all there on your system? Have you checked with SnoopDOS if MUI fails to load some images or anything?
All requester images are present and they are properly displayed using SystemRequest(). It's only moai.Request() that doesn't show icons.
SnoopDOS:
- if using SystemRequest(), it reports successfully accessing SYS:Prefs/Presets/Requester/...
- if using moai.Request(), no such access is reported at all

Btw.: I tested this on 2 separate OS 4.1 systems, both behave the same.
What is the difference between these two kind of request-calls?

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

Re: moai.Request() behaves strange

Post by airsoftsoftwair »

mrupp wrote:
Mon May 10, 2021 6:31 pm
Btw.: I tested this on 2 separate OS 4.1 systems, both behave the same.
What is the difference between these two kind of request-calls?
The difference is that they are completely different :) SystemRequest() doesn't use MUI for its requesters. It's handled by Intuition. moai.Request() OTOH uses MUI for its requesters.

Post Reply