inform crashes?
[1/6] from: max::ordigraphe::com at: 13-Jul-2001 11:50
Has anyone noticed that the inform tool systematically trashes the view
into feeblemin state?
once I close the inform window, only a 250x150 region of my display
becomes active under view... anything outside this region is DEAD...
This has been confirmed on win 98 and a NT4.0 sp6 machine the latter
having 512MB RAM.
-Maxim
<< Don't rush me Sonny - you rush a miracle man, you get lousy miracles
>>
Miracle Max (Princess Bride)
-------------
Maxim Olivier-Adlhoch
[2/6] from: g:santilli:tiscalinet:it at: 13-Jul-2001 19:35
Hello Maxim!
On 13-Lug-01, you wrote:
MO> Has anyone noticed that the inform tool systematically
MO> trashes the view into feeblemin state?
It seems to work correctly here - I never had problems with it.
Regards,
Gabriele.
--
Gabriele Santilli <[giesse--writeme--com]> - Amigan - REBOL programmer
Amiga Group Italia sez. L'Aquila -- http://www.amyresource.it/AGI/
[3/6] from: arolls:bigpond:au at: 14-Jul-2001 4:29
What (minimal) actions do you take to
produce the crash?
Are you using view to launch a program
that uses inform?
[4/6] from: max:ordigraphe at: 13-Jul-2001 16:03
the application in itself is rather complex. it is a multi-source kind
of things.
BUT all the view stuff is handled in the main source.
two windows are opened without border nor titles and another one is
opened with title on (I use it as a requester BUT its a normal view
window.)
The only other thing of note is that Upon launching the application, I
do the following:
view/new/options switch-pane [no-title no-border]
view/new/options tool-pane [no-title no-border]
do-events
then the tool-pane attempts to open an inform window through a button
even the most simple layout with nothing except one button and the
ending return button.
The problem occurs.
the app still works, except the "hot" region of the ui is limited in
size as described above.
I have tried to call do-events at different places within the event
handling (thinking that re-starting event handling might fix this) but
nothing so far works.
can anyone give me a small source which effectively works at their place
so I can see if it works at my place? just so I can compare the
differences..
TIA
-Maxim
[5/6] from: cybarite:sympatico:ca at: 13-Jul-2001 19:42
I too was looking for a sample of INFORM that worked and
the only one I found was Carl's (pattern recognition?)
which was used to register a web site
He does:
inform layout [vh2 "Could Not Submit Site. Error info:" area wrap 400x200
rslt]
I tried and could not get it to lock up.
Some of my attempts when I coded it in some
samples locked up my untrusty win95 system.
You can find it at :
www.reboltech.com/addsite.r
or navigate to it from the rebol rebsite under
World Wide Reb Sites / Add Site.
Aside from running the addsite.r script with errors that cause the inform to
display on the parent panel, I have not looked at it.
But it might be your Rosetta Stone.
[6/6] from: rotenca:telvia:it at: 1-Oct-2001 2:14
From: "Maxim Olivier-Adlhoch" <[max--ordigraphe--com]>
Sent: Friday, July 13, 2001 5:50 PM
Subject: [REBOL] inform crashes?
> Has anyone noticed that the inform tool systematically trashes the view
> into feeblemin state?
>
> once I close the inform window, only a 250x150 region of my display
> becomes active under view... anything outside this region is DEAD...
With some delay...
I had your same problem, i have found a solution (i do not know if was already
on this mailing list).
The code not tested in this exact form - it is only to understand the logic.
1) make a feel of this type for the main window face, before calling inform:
oldfeel: make main/feel []
main/feel: make main/feel [
detect: func [face event] [either face = main [none][event]]
] ;block all event for main window
2) close your button-inform action with
hide-popup ;undocumented (sic)
es. button "ok" [ a: 1 hide-popup]
3) after the Inform returns, restore the old feel of the main window to
restore main event handling.
If you want to block others windows you should make others feel/detect for
that windows
---
Ciao
Romano