OpenAmigaGuideAsync notification on close

AmigaOS users can make feature requests in this forum.
User avatar
trixie
Posts: 409
Joined: Thu Jun 30, 2011 2:54 pm
Location: Czech Republic

Re: OpenAmigaGuideAsync notification on close

Post by trixie »

@chris

Getting back to notifications, I wouldn't mind if AmigaGuide saw further improvemement in this department. For example, messages indicating that the user pressed the various control buttons in the window might be useful. The programmer would acquire a better control of the running client.

I mean, why on earth does the client allocate a message port if it then sends virtually nothing to it? :-)
The Rear Window blog

AmigaOne X5000 @ 2GHz / 4GB RAM / Radeon RX 560 / ESI Juli@ / AmigaOS 4.1 Final Edition
SAM440ep-flex @ 667MHz / 1GB RAM / Radeon 9250 / AmigaOS 4.1 Final Edition
chris
Posts: 562
Joined: Sat Jun 18, 2011 11:05 am
Contact:

Re: OpenAmigaGuideAsync notification on close

Post by chris »

@ssolie

Here you go. The binaries are 68k but you get the drift.
advaghelp is a minimally altered version of Commodore's original with a printf stuck in when messages are received.
HyperApp... the same.
Attachments
advaghelp.lha
(26.62 KiB) Downloaded 636 times
User avatar
nbache
Beta Tester
Beta Tester
Posts: 1714
Joined: Mon Dec 20, 2010 7:25 pm
Location: Copenhagen, Denmark
Contact:

Re: OpenAmigaGuideAsync notification on close

Post by nbache »

chris wrote:
trixie wrote:There is also one other thing I'll need to investigate further. When you open an asynchronous AG client and the user presses the "Help" button in the window, the system-provided AmigaGuide help file will get loaded, "taking over" of your client. This wouldn't be a problem but it seems that there's no way for you to resume control, apart from shutting down and restarting the client (or pressing "Retrace" manually to get back to your file). This is rather stupid, as commands sent to the client will now be executed upon the AG system help file, not the file with which you opened the client. But as I say, I'll need to give it some more testing.
That sounds like a bug too.
Even when this happens in a simple user situation (i.e. a user has opened some AmigaGuide file directly from WB and subsequently pressed Help), it is confusing behaviour. It would work a lot better if the new AmigaGuide (amigaguide.guide) was opened in a new window, asynchronously, so the old one was still there and "alive" - that way it could also receive messages from a program in your scenario.

Best regards,

Niels
User avatar
trixie
Posts: 409
Joined: Thu Jun 30, 2011 2:54 pm
Location: Czech Republic

Re: OpenAmigaGuideAsync notification on close

Post by trixie »

@nbache

All in all, the AmigaGuide Library is another long-forgotten baby screaming for some developer love :)
The Rear Window blog

AmigaOne X5000 @ 2GHz / 4GB RAM / Radeon RX 560 / ESI Juli@ / AmigaOS 4.1 Final Edition
SAM440ep-flex @ 667MHz / 1GB RAM / Radeon 9250 / AmigaOS 4.1 Final Edition
User avatar
ssolie
Beta Tester
Beta Tester
Posts: 1010
Joined: Mon Dec 20, 2010 8:51 pm
Location: Canada
Contact:

Re: OpenAmigaGuideAsync notification on close

Post by ssolie »

trixie wrote:All in all, the AmigaGuide Library is another long-forgotten baby screaming for some developer love :)
I don't know about you but I was hoping that baby would have been thrown out with the bathwater and we had moved on to HTML or similar by now... ;)
ExecSG Team Lead
User avatar
trixie
Posts: 409
Joined: Thu Jun 30, 2011 2:54 pm
Location: Czech Republic

Re: OpenAmigaGuideAsync notification on close

Post by trixie »

@ssolie

You can say that again! I've actually raised that point some time ago somewhere in these forums, but the prevailing popular opinion was that improving AmigaGuide would be a more achievable goal, compared to implementing something new from scratch.
The Rear Window blog

AmigaOne X5000 @ 2GHz / 4GB RAM / Radeon RX 560 / ESI Juli@ / AmigaOS 4.1 Final Edition
SAM440ep-flex @ 667MHz / 1GB RAM / Radeon 9250 / AmigaOS 4.1 Final Edition
chris
Posts: 562
Joined: Sat Jun 18, 2011 11:05 am
Contact:

Re: OpenAmigaGuideAsync notification on close

Post by chris »

trixie wrote:the prevailing popular opinion was that improving AmigaGuide would be a more achievable goal, compared to implementing something new from scratch.
Definitely! I'd be happy with bugfixes as this point in time, if those aren't achievable then there's no hope of even a marginally improved AmigaGuide, let alone something new.
User avatar
trixie
Posts: 409
Joined: Thu Jun 30, 2011 2:54 pm
Location: Czech Republic

Re: OpenAmigaGuideAsync notification on close

Post by trixie »

@chris

By the way, I've come across a list of AmigaOS 3.9 bugs compiled in 2004 by James Jacobs, and for AmigaGuide.library he gives these:
amigaguide.library:

(a) A delay is required between the SetAmigaGuideContext() and SendAmigaGuideContext() calls.
(b) No AmigaGuideMsg is sent back to the launching application when the user quits an AmigaGuide which was launched via the OpenAmigaGuideAsync() function.
While I haven't personally run into (a), the (b) problem is our good old missing client-closed notification we've been discussing here. Nice to see there are other people who believe it's a bug (or rather, an unimplemented feature).
The Rear Window blog

AmigaOne X5000 @ 2GHz / 4GB RAM / Radeon RX 560 / ESI Juli@ / AmigaOS 4.1 Final Edition
SAM440ep-flex @ 667MHz / 1GB RAM / Radeon 9250 / AmigaOS 4.1 Final Edition
JosDuchIt
Posts: 291
Joined: Sun Jun 26, 2011 5:47 pm
Contact:

Re: OpenAmigaGuideAsync notification on close

Post by JosDuchIt »

@ssolie
I was hoping that baby would have been thrown out with the bathwater and we had moved on to HTML or similar by now..
The standard buttons of Amigaguide are a plus.
If Amigaguide would have the ability to open and close chapters, sections, subsections in the "contents" page that would count as a big step forward imho.

Programming this in html again and again surely is not a step forward.
User avatar
trixie
Posts: 409
Joined: Thu Jun 30, 2011 2:54 pm
Location: Czech Republic

Re: OpenAmigaGuideAsync notification on close

Post by trixie »

@JosDuchIt
If Amigaguide would have the ability to open and close chapters, sections, subsections in the "contents" page that would count as a big step forward imho.
I don't think AmigaGuide will be developed much further. More likely at some point it will be replaced by a sort of ebook.datatype, of which AmigaGuide will be a subclass. In the past there was a working attempt at this: Stefan Ruppert's hypertext.datatype (see Aminet). Unfortunately in 1998 the guy had no chance of smuggling this into the OS.
The Rear Window blog

AmigaOne X5000 @ 2GHz / 4GB RAM / Radeon RX 560 / ESI Juli@ / AmigaOS 4.1 Final Edition
SAM440ep-flex @ 667MHz / 1GB RAM / Radeon 9250 / AmigaOS 4.1 Final Edition
Post Reply