alanlopes4 / stagewebviewbridge

Automatically exported from code.google.com/p/stagewebviewbridge
0 stars 1 forks source link

view.snapShotVisible = false; failed to restore the loaded document #17

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. view.getSnapShot();  
2. view.snapShotVisible = true;
3. view.snapShotVisible = false;

What is the expected output? What do you see instead?
I expect to see the loaded document back. 
Instead, I only the bitmap image gets hidden while the loaded document is still 
not showing on screen.

What version of the product are you using? On what operating system?
svn_109_build_0.0.720

Please provide any additional information below.
view extends Bitmap, so when super.visible gets set to false, There's a code 
that suppose to set _view.stage to StageWebViewDisk.stage

so, this seems to be the line of code that handle that task:
_view.stage = mode ? null : ( visible ? null : stage );

Original issue reported on code.google.com by deke...@gmail.com on 8 Jan 2012 at 2:47

GoogleCodeExporter commented 8 years ago
Hi, really the problem is the next line of code ....

Anyway, I will update the lib soon, stay tunned...

Thanks

Original comment by xperime...@gmail.com on 8 Jan 2012 at 3:20

GoogleCodeExporter commented 8 years ago
is there any workaround for this in the interim?

Original comment by cappink...@gmail.com on 14 Jan 2012 at 4:17

GoogleCodeExporter commented 8 years ago
This issue was closed by revision r130.

Original comment by xperime...@gmail.com on 20 Jan 2012 at 3:04

GoogleCodeExporter commented 8 years ago
Hi,

I have updated and fixed the lib with some other iOS improvements.... can you 
test ?

Original comment by xperime...@gmail.com on 20 Jan 2012 at 3:15

GoogleCodeExporter commented 8 years ago
Thanks for the update, Works good on Android (Galaxy S).

It would be nice if the snapshot will show by default at the same size as the 
original HTML view size. From some reason snapshot gets a lot bigger...

Original comment by deke...@gmail.com on 20 Jan 2012 at 10:29

GoogleCodeExporter commented 8 years ago
Strange... in my tests its working ok... can you send me some code?

Thanks

Original comment by xperime...@gmail.com on 20 Jan 2012 at 10:35

GoogleCodeExporter commented 8 years ago
Very good. It's working wonderfully for me. 

Original comment by cappink...@gmail.com on 23 Jan 2012 at 12:33