Tom Arn

Results 40 comments of Tom Arn

We could make it configurable whether the user's decisions should be saved, for example by setting WebView.save_user_url_permissions=True before setting the on_navigation_starting handler. What do you think? Should the default be...

@freakboy3742 I refactored and simplified the Winforms code by using the cleanup method of wrapped_handler

@freakboy3742 I defined on_navigation_starting cleanup method as an inner method, but the url parameter is always None inside cleanup. Is there something wrong with how I changed the code? The...

@freakboy3742 > So - I suspect what is needed here is a modification to wrapped_handler so that the cleanup method also accepts the *args and **kwargs passed to the event...

@freakboy3742 I now modified wrapped_handler and handler_with_cleanup to pass the kwargs to the cleanup method. I am not sure if the change in wrapped_handler is really needed. It's the change...

@freakboy3742 Here's the answer to the outstanding question regarding Android: The changes in Android's WebView cause an app crash when the staticProxy is missing in pyproject.toml, even when I use...

@mhsmith Many thanks for your response! Following your advice, I now moved the class TogaWebClient(static_proxy(WebViewClient)) into a separate module and I import it like this: ``` class WebView(Widget): SUPPORTS_ON_WEBVIEW_LOAD =...

@mhsmith What is the minimal Python Exception/Error that needs to be catched to handle Java ClassNotFoundException? I tried AttributeError and that did not catch the Java Exception

@mhsmith Thank you, I'll try this

@HalfWhitt Thanks for the warning. It's always good to know when breaking changes are around the bend.