That's not a practical solution. The screenshot process happens very 
frequently.

On Tuesday, December 22, 2020 at 10:37:46 PM UTC+2 P5music wrote:

> Thank you for your response.
> I wonder if it is possible to have an alternate Dialog constructor with a 
> boolean parameter
>
> Dialog(boolean wantsToTakeWebViewScreenshot)
> {
> ...
> }
>
> The WebView screenshot could be to added the other components' screeshot 
> list, optionally.
> Optionally means that there is a caveat for the developer.
> I think that the doing the screenshot for the WebView does not take so 
> long, at least for my application. 
> So I could test it on common devices or emulators, and the slowest ones 
> could be declared not compatible if the waiting time is really too much.
> What about this?
>
> Il giorno martedì 22 dicembre 2020 alle 19:47:43 UTC+1 Steve Hannah ha 
> scritto:
>
>> So why obfuscate the underlying form in the first place? Why making 
>>> things like that the WebView is blank?
>>>
>>
>> Dialog IS a Form.  Only one Form is displayed at a time.  To create the 
>> effect that the previous form is present, we take a screenshot of the form, 
>> and display it as a background to the Dialog.
>>
>> An InteractionDialog is NOT a Form.  It is a component that is rendered 
>> in the current form's hierarchy.
>>
>> This is the fundamental distinction, and all other differences in 
>> behaviour stem from this.
>>
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/61a860b9-313c-4f54-9acf-869b41cdd3e2n%40googlegroups.com.

Reply via email to