Malcolm Smith
Malcolm Smith
OK, that makes sense. Just a couple of questions: > with main menus [...] you have a single collection of commands; those commands are grouped, and the top-level grouping determines...
To see if it really is an audio permission issue, you could try it with a page containing a simple HTML `` tag.
BeeWare now uses Chaquopy on Android, which does support subclassing Java classes in Python code (https://github.com/beeware/rubicon-java/discussions/75#discussioncomment-3224352). However, it still requires some configuration in the build.gradle file to list which modules...
This also affects the WebChromeClient class, which is required to show JavaScript `alert` dialogs, or file upload dialogs (#2173). The latter dialog could probably be shared with the general file...
It isn't just web where the slow wheel rebuilding is a problem. I do this all the time to speed up testing on Android, with the following patches: ```patch diff...
As discussed at https://github.com/beeware/toga/issues/2099#issuecomment-1706084378, generators are only accepted as event handlers because this API was designed before asyncio was added to the language. We no longer encourage people to use...
`add_background_task` was deprecated in #2678, but I believe this issue affects all event handlers, so I'll rename it.
@freakboy3742's comment in #2608 is also relevant here: > At least at present, we don't consider full formal MyPy compliance to be a goal for Toga, on the basis that...
@freakboy3742: At one point you use the name `add_background_handler`, and a lot of the rest of your comment seems to assume the method has that name. So if even you...
Thanks for pointing out `create_task`; that's much easier to remember than `ensure_future`. In fact, since `app.add_background_task(my_task)` is basically equivalent to `asyncio.create_task(my_task(app))`, but less flexible, should we just deprecate`add_background_task`?