This way the spacebar-menu takes a screenshot of the current area and
shares it. The other targets need a 'name' property set, so those won't
work from the spacebar-menu anyway.
I also added some extra options for the screenshotting, to mirror the
bpy.ops.screen.screenshot() operator options.
The full-window screenshot operator is now also placed in the Window menu.
The cache issue: this caused etag mismatches when sharing a file multiple
times using always_create_new_node=False. Even though we don't use this
option right now, it should be easy to enable.
We can save dirty files, either to disk or the cloud, but I think that's
a bad idea to:
- Share unsaved data to the cloud; users can assume it's saved
to disk and close blender, losing their file.
- Save unsaved data first; this can overwrite a file a user
didn't want to overwrite.
The clearest way is simply to refuse to handle dirty datablocks.