Talley Lambert

Results 870 comments of Talley Lambert

> events.blocker only blocks events that were fired as a group, not individual events from within that group... you can use `EmitterGroup.blocker_all()` to achieve that

> Also, would you say that [this use here](https://github.com/napari/napari/blob/4b71b83b41918acdd48251929f4f675d31e24eda/napari/utils/events/evented_model.py#L314-L320) was in fact intended to be a `blocker_all`? (but with counting/re-emitting)? reading that code now, I would say that would be...

alright... looks like this is an issue with event-loop driven things not having a chance to execute before the frame is captured. While I *do* think it's indicative of a...

alternatively, you could place that call to processEvents upstream in napari at the beginning of `qt_main_window.Window._screenshot`

> maybe @tlambert03 or @DragaDoncila knows if there is a nice public API for hiding dock widgets? nope, but I'd say it's ultimately the same request as https://github.com/napari/napari/issues/2203 and https://github.com/napari/napari/issues/3944...

yeah, hiding a specific dock widget will do just that: hide the dock widget. But what you really need to manipulate here is the QMainWindow instance itself... specifically, with [removeDockWidget](https://doc.qt.io/qt-6/qmainwindow.html#removeDockWidget)...

Definitely, all is better than none (particularly when most cases will be one, and the rare case will be only 2 or 3?)

If I recall correctly, the main issue was about surfacing why something didn't work (not just that it didn't work). The Bioformats reader is particularly tough because it requires a...

but, I'd need to familiarize myself with whatever equivalent you have for `determine_reader` here to have a suggestion

manifest.in is one option (the "classic distutils option") for declaring what should get into the sdist, but if you're using setuptools, it gets slightly more complicated. suggest reading this page:...