Test Quick Export through the menu and clarify filename collisions

This commit is contained in:
Dan committed 2026-11-29 10:14:33 +00:00
1 parent ec07994126
commit 59abe3368b
2 files changed
+5 -4

No files matched your search

@@ -27,7 +27,7 @@ fn suggested_for_selection(name: &str, include_empty: bool) -> (String, String)
if include_empty {
app.session.restore_layer_selection(Some(layer), &[empty, layer], None).unwrap();
}
app.run("layer.quickExportAsPng", json!({})).unwrap();
crate::menus::invoke(&mut app, &egui::Context::default(), "layer.quickExportAsPng", Value::Null).unwrap();
let asked = files.requests();
let [request] = asked.as_slice() else { panic!("one Save dialog: {asked:?}") };
assert_eq!(request.kind, PickKind::Save);
+4 -3
View File
@@ -813,9 +813,10 @@ else}` is Photoshop's Insert Conditional as a step: it tests the document or act
and plays the matching action by name, failing the caller when that action fails.
Layer-panel **Quick Export as PNG** exports each selected layer or group with exportable pixels
as a separate PNG. With several outputs, desktop asks for one folder and the web downloads each
file. Each PNG uses its source name with unsafe filename characters replaced. Duplicate names
and occupied desktop filenames get numbered alternatives. A single output uses a Save dialog.
as a separate PNG. Each PNG uses its source name with unsafe filename characters replaced.
For several outputs, desktop asks for one folder and the web downloads each file. Duplicate
names get numbered alternatives, as do occupied filenames on desktop. A single output uses
a Save dialog that lets you confirm replacing an existing file.
Multiple selected sources are captured before opening the picker.
## Shared panel docking