Browser not visible
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Re: Browser not visible
Hi Marek,
You and Sturgis have already done a lot of work on this and I doubt I can find an answer.
But using the attached basic LC browser what do you do to show the error? What changes do you make to the browser?
I ask because revBrowser works for me and maybe using this stack as a starting point you can find the problem.
Oh... revBrowser uses Safari or IE, is it possible that your native browser is having troubles as well with the url?
Simon
You and Sturgis have already done a lot of work on this and I doubt I can find an answer.
But using the attached basic LC browser what do you do to show the error? What changes do you make to the browser?
I ask because revBrowser works for me and maybe using this stack as a starting point you can find the problem.
Oh... revBrowser uses Safari or IE, is it possible that your native browser is having troubles as well with the url?
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
Re: Browser not visible
Hi Simon,
I downloaded your stack, and it shows wrong behaviour after first my test:
1. open the stack - you can see the content in the browser
2. from Message Box run3. From Message Box run
In my test in first trial after set visibility of the stack back to TRUE the stack is visible, but the content of browser is invisible.
This problem doesn't exist with Safari tested the same way, so it's not the fault of Safari as engine used. I think there is something blocking visibility of existing content in browser when the LC stack is sent to visible state from hidden one. As I mentioned before, in such situation there is not working revBrowserRefresh and revBrowserRedraw commands also. I'm sure the content of browser is OK checking revBrowserGet function - it returns the same html text in both situations (visible and invisible content of browser).
I'm almost sure it's a bug. Wondering nobody experienced this problem so long time until now.
Could somebody check for me if this behaviour exist on Windows platform also?
Marek
I downloaded your stack, and it shows wrong behaviour after first my test:
1. open the stack - you can see the content in the browser
2. from Message Box run
Code: Select all
set the visible of stack "InetBrowser" to FALSE
Code: Select all
set the visible of stack "InetBrowser" to TRUE
This problem doesn't exist with Safari tested the same way, so it's not the fault of Safari as engine used. I think there is something blocking visibility of existing content in browser when the LC stack is sent to visible state from hidden one. As I mentioned before, in such situation there is not working revBrowserRefresh and revBrowserRedraw commands also. I'm sure the content of browser is OK checking revBrowserGet function - it returns the same html text in both situations (visible and invisible content of browser).
I'm almost sure it's a bug. Wondering nobody experienced this problem so long time until now.
Could somebody check for me if this behaviour exist on Windows platform also?
Marek
Re: Browser not visible
One more experience testing your stack Simon:
1. Until you set the visible property of stack to FALSE and then to TRUE "Refresh" and "Go" buttons works as expected.
2. After that when the content of browser starts to be invisible, clicking those buttons doesn't make the content of browser visible. Even if you change the url address!
You must close browser instance and open it again to work (until you set the visible of stack to false and back to true). Apparently hiding and showing back the stack destroys something in browser instance breaking refresh possibility.
Marek
1. Until you set the visible property of stack to FALSE and then to TRUE "Refresh" and "Go" buttons works as expected.
2. After that when the content of browser starts to be invisible, clicking those buttons doesn't make the content of browser visible. Even if you change the url address!
You must close browser instance and open it again to work (until you set the visible of stack to false and back to true). Apparently hiding and showing back the stack destroys something in browser instance breaking refresh possibility.
Marek
Re: Browser not visible
Hi Marek,
I see now.
It probably is already listed as a bug, the revBrowser isn't like any other control in LC. I'm sure you've seen other odd things it does like no other controls show above the rect.
We just have to wait and see if the new browser will act like other controls.
Simon
EDIT: I didn't mean that you shouldn't try to find a workaround, I've just tried setting the loc off screen but that didn't work either.
I see now.
It probably is already listed as a bug, the revBrowser isn't like any other control in LC. I'm sure you've seen other odd things it does like no other controls show above the rect.
We just have to wait and see if the new browser will act like other controls.
Simon
EDIT: I didn't mean that you shouldn't try to find a workaround, I've just tried setting the loc off screen but that didn't work either.
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
Re: Browser not visible
Thanks a lot Simon for bad news
It was the last part of my big job on which I was working over 3 months.
Now I know I can't finnish it at the end of the job for longer time.
Marek

It was the last part of my big job on which I was working over 3 months.
Now I know I can't finnish it at the end of the job for longer time.
Marek
Re: Browser not visible
Hi Marek,
Not my fault honest! I just remember working with revBrowser a few years back and seeing the differences.
But you do mention that closing the browser seems to work, no chance of using that instead of hide? Finding a workaround is your only option, I think.
Oh, and another hint, only another substack will show up in front of the revBrowser rect, could that help?
Simon
Not my fault honest! I just remember working with revBrowser a few years back and seeing the differences.
But you do mention that closing the browser seems to work, no chance of using that instead of hide? Finding a workaround is your only option, I think.
Oh, and another hint, only another substack will show up in front of the revBrowser rect, could that help?
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
Re: Browser not visible
Simon,
I didn't say it's your fault. Never. I appreciate your help and thanks once more.
Closing browser before hiding the card and then opening it after making the card visible works in 50%, not stable. I could try to close completely this substack, but don't know if and how it will work in standalone. Must try.
Covering it by another substack or main stack makes the same problem as hiding it.
Marek
I didn't say it's your fault. Never. I appreciate your help and thanks once more.
Closing browser before hiding the card and then opening it after making the card visible works in 50%, not stable. I could try to close completely this substack, but don't know if and how it will work in standalone. Must try.
Covering it by another substack or main stack makes the same problem as hiding it.
Marek
Re: Browser not visible
Hi Marek,
I have no idea what is going on but I tried to just move the stack off screen instead of hiding it, I used Simons stack to test it.
and in the few tests I made it worked well. Of course it is a workaround but if that works for you then it is maybe better than to loose 3 months of work.
Kind regards
Bernd
I have no idea what is going on but I tried to just move the stack off screen instead of hiding it, I used Simons stack to test it.
Code: Select all
on mouseUp
put the loc of stack "InetBrowser" into tLocation
set the loc of stack "InetBrowser" to -10000,-10000
wait 2 seconds
set the loc of stack "InetBrowser" to tLocation
end mouseUp
Kind regards
Bernd
Re: Browser not visible
Nice! Move the whole stack!
Simon
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
Re: Browser not visible
Hi Bernd,
Thanks for your care about my problem.
I'll check it today and let you know. I played little bit with simple test file and it seams it should work. Now I must implement all the changes to my project and test it.
Thanks a lot once more. As usual the simple already known methods are forgotten.
Marek
Thanks for your care about my problem.
I'll check it today and let you know. I played little bit with simple test file and it seams it should work. Now I must implement all the changes to my project and test it.
Thanks a lot once more. As usual the simple already known methods are forgotten.
Marek