VectorCraft: An open-source, vector art tool written by scratch in pure Rust
Fix #3724: Window > New Window is greyed out until it opens a window
Gabriel Luís da Silva60764fb65bcc
diff --git a/crates/ui-egui/src/i18n/bg.tsv b/crates/ui-egui/src/i18n/bg.tsvindex 1a3018469..e34678ecc 100644--- a/crates/ui-egui/src/i18n/bg.tsv+++ b/crates/ui-egui/src/i18n/bg.tsv@@ -3957,7 +3957,7 @@ axis Both И двете@msg missing index липсва индекс@msg missing number `{key}` липсва число `{key}`@msg missing integer `{key}` липсва цяло число `{key}`-@msg multiple windows land with M11.5 множество прозорци се зареждат с M11.5+@msg New Window isn't available yet: a document opens in one window Нов прозорец още не е наличен: документът се отваря в един прозорец@msg name the file именувайте файла@msg no CSS to copy: select objects with CSS of their own няма CSS за копиране: изберете обекти със собствен CSS@msg no Live Paint edge near that point няма ръб за интерактивно оцветяване близо до тази точкаdiff --git a/crates/ui-egui/src/i18n/cs.tsv b/crates/ui-egui/src/i18n/cs.tsvindex 764a3f77d..5c2b59d3e 100644--- a/crates/ui-egui/src/i18n/cs.tsv+++ b/crates/ui-egui/src/i18n/cs.tsv@@ -4350,7 +4350,7 @@ imageTrace Outline Obrys@msg missing index chybí index@msg missing number `{key}` chybí číslo `{key}`@msg missing integer `{key}` chybí celé číslo `{key}`-@msg multiple windows land with M11.5 více oken přijde s M11.5+@msg New Window isn't available yet: a document opens in one window Nové okno zatím není k dispozici: dokument se otevírá v jednom okně@msg name the file pojmenujte soubor@msg no CSS to copy: select objects with CSS of their own žádné CSS ke kopírování: vyberte objekty s vlastním CSS@msg no Live Paint edge near that point poblíž tohoto bodu není žádná hrana živé malbydiff --git a/crates/ui-egui/src/i18n/da.tsv b/crates/ui-egui/src/i18n/da.tsvindex e60b120dd..612e77639 100644--- a/crates/ui-egui/src/i18n/da.tsv+++ b/crates/ui-egui/src/i18n/da.tsv@@ -4069,7 +4069,7 @@ imageTrace Outline Kontur@msg missing index indeks mangler@msg missing number `{key}` tallet `{key}` mangler@msg missing integer `{key}` heltallet `{key}` mangler-@msg multiple windows land with M11.5 flere vinduer lander med M11.5+@msg New Window isn't available yet: a document opens in one window Nyt vindue er ikke tilgængeligt endnu: et dokument åbnes i ét vindue@msg name the file giv filen et navn@msg no CSS to copy: select objects with CSS of their own ingen CSS at kopiere: markér objekter med deres egen CSS@msg no Live Paint edge near that point ingen Live Paint-kant i nærheden af det punktdiff --git a/crates/ui-egui/src/i18n/de.tsv b/crates/ui-egui/src/i18n/de.tsvindex 68d1c4b8f..899a9b7c4 100644--- a/crates/ui-egui/src/i18n/de.tsv+++ b/crates/ui-egui/src/i18n/de.tsv@@ -3971,7 +3971,7 @@ theme Appearance Erscheinungsbild@msg missing index der Index fehlt@msg missing number `{key}` die Zahl `{key}` fehlt@msg missing integer `{key}` die ganze Zahl `{key}` fehlt-@msg multiple windows land with M11.5 mehrere Fenster kommen mit M11.5+@msg New Window isn't available yet: a document opens in one window Neues Fenster ist noch nicht verfügbar: ein Dokument öffnet sich in einem Fenster@msg name the file benennen Sie die Datei@msg no CSS to copy: select objects with CSS of their own kein CSS zum Kopieren: Wählen Sie Objekte mit eigenem CSS aus@msg no Live Paint edge near that point keine Interaktiv-malen-Kante in der Nähe dieses Punktsdiff --git a/crates/ui-egui/src/i18n/el.tsv b/crates/ui-egui/src/i18n/el.tsvindex fa66430f5..30e8a375c 100644--- a/crates/ui-egui/src/i18n/el.tsv+++ b/crates/ui-egui/src/i18n/el.tsv@@ -4026,7 +4026,7 @@ theme Appearance Εμφάνιση@msg missing index λείπει ο δείκτης@msg missing number `{key}` λείπει ο αριθμός `{key}`@msg missing integer `{key}` λείπει ο ακέραιος `{key}`-@msg multiple windows land with M11.5 τα πολλαπλά παράθυρα θα προστεθούν στην έκδοση M11.5+@msg New Window isn't available yet: a document opens in one window Το Νέο παράθυρο δεν είναι ακόμη διαθέσιμο: ένα έγγραφο ανοίγει σε ένα παράθυρο@msg name the file δώστε όνομα στο αρχείο@msg no CSS to copy: select objects with CSS of their own δεν υπάρχει CSS για αντιγραφή: επιλέξτε αντικείμενα με δικό τους CSS@msg no Live Paint edge near that point δεν υπάρχει ακμή δυναμικής βαφής κοντά σε αυτό το σημείοdiff --git a/crates/ui-egui/src/i18n/es.tsv b/crates/ui-egui/src/i18n/es.tsvindex 8249a9e28..0296a820b 100644--- a/crates/ui-egui/src/i18n/es.tsv+++ b/crates/ui-egui/src/i18n/es.tsv@@ -4047,7 +4047,7 @@ axis Both Ambos@msg missing index falta index@msg missing number `{key}` falta el número `{key}`@msg missing integer `{key}` falta el número entero `{key}`-@msg multiple windows land with M11.5 las ventanas múltiples llegan con M11.5+@msg New Window isn't available yet: a document opens in one window Nueva ventana aún no está disponible: un documento se abre en una sola ventana@msg name the file ponle nombre al archivo@msg no CSS to copy: select objects with CSS of their own no hay CSS que copiar: selecciona objetos con CSS propio@msg no Live Paint edge near that point no hay ningún borde de pintura interactiva cerca de ese puntodiff --git a/crates/ui-egui/src/i18n/fi.tsv b/crates/ui-egui/src/i18n/fi.tsvindex b0df6e69c..3c9e0839e 100644--- a/crates/ui-egui/src/i18n/fi.tsv+++ b/crates/ui-egui/src/i18n/fi.tsv@@ -4263,7 +4263,7 @@ imageTrace Outline Ääriviiva@msg missing index indeksi puuttuu@msg missing number `{key}` luku `{key}` puuttuu@msg missing integer `{key}` kokonaisluku `{key}` puuttuu-@msg multiple windows land with M11.5 useat ikkunat tulevat versiossa M11.5+@msg New Window isn't available yet: a document opens in one window Uusi ikkuna ei ole vielä käytettävissä: asiakirja avautuu yhteen ikkunaan@msg name the file anna tiedostolle nimi@msg no CSS to copy: select objects with CSS of their own ei kopioitavaa CSS:ää: valitse objekteja, joilla on oma CSS@msg no Live Paint edge near that point pisteen lähellä ei ole elävän maalauksen reunaadiff --git a/crates/ui-egui/src/i18n/fr.tsv b/crates/ui-egui/src/i18n/fr.tsvindex 57bc29a1e..817b91f3a 100644--- a/crates/ui-egui/src/i18n/fr.tsv+++ b/crates/ui-egui/src/i18n/fr.tsv@@ -4044,7 +4044,7 @@ axis Both Les deux@msg missing index index manquant@msg missing number `{key}` nombre `{key}` manquant@msg missing integer `{key}` nombre entier `{key}` manquant-@msg multiple windows land with M11.5 les fenêtres multiples arrivent avec M11.5+@msg New Window isn't available yet: a document opens in one window Nouvelle fenêtre n’est pas encore disponible : un document s’ouvre dans une seule fenêtre@msg name the file nommez le fichier@msg no CSS to copy: select objects with CSS of their own aucun CSS à copier : sélectionnez des objets ayant leur propre CSS@msg no Live Paint edge near that point aucun bord de peinture dynamique près de ce pointdiff --git a/crates/ui-egui/src/i18n/hu.tsv b/crates/ui-egui/src/i18n/hu.tsvindex 6925617e5..ae3844043 100644--- a/crates/ui-egui/src/i18n/hu.tsv+++ b/crates/ui-egui/src/i18n/hu.tsv@@ -4710,7 +4710,7 @@ imageTrace Outline Körvonal@msg move requires a destination panel az áthelyezéshez célpanel kell@msg move requires an existing destination panel az áthelyezéshez létező célpanel kell@msg Multichannel PSD files can't be read: save it in RGB, CMYK or Grayscale mode a többcsatornás PSD-fájlok nem olvashatók: mentsd RGB, CMYK vagy szürkeárnyalatos módban-@msg multiple windows land with M11.5 a több ablak az M11.5 mérföldkőben érkezik+@msg New Window isn't available yet: a document opens in one window Az Új ablak még nem érhető el: egy dokumentum egy ablakban nyílik meg@msg name the file adj nevet a fájlnak@msg no active document nincs aktív dokumentum@msg no active perspective plane nincs aktív perspektivikus síkdiff --git a/crates/ui-egui/src/i18n/id.tsv b/crates/ui-egui/src/i18n/id.tsvindex c927e6eee..9c9fb6bd5 100644--- a/crates/ui-egui/src/i18n/id.tsv+++ b/crates/ui-egui/src/i18n/id.tsv@@ -4069,7 +4069,7 @@ imageTrace Outline Kontur@msg missing index indeks tidak ada@msg missing number `{key}` angka `{key}` tidak ada@msg missing integer `{key}` bilangan bulat `{key}` tidak ada-@msg multiple windows land with M11.5 beberapa jendela hadir bersama M11.5+@msg New Window isn't available yet: a document opens in one window Jendela baru belum tersedia: dokumen dibuka dalam satu jendela@msg name the file beri nama file@msg no CSS to copy: select objects with CSS of their own tidak ada CSS untuk disalin: pilih objek yang memiliki CSS sendiri@msg no Live Paint edge near that point tidak ada tepi Live Paint di dekat titik itudiff --git a/crates/ui-egui/src/i18n/it.tsv b/crates/ui-egui/src/i18n/it.tsvindex a57a38154..5c2ba5757 100644--- a/crates/ui-egui/src/i18n/it.tsv+++ b/crates/ui-egui/src/i18n/it.tsv@@ -4087,7 +4087,7 @@ axis Both Entrambi@msg missing index manca index@msg missing number `{key}` manca il numero `{key}`@msg missing integer `{key}` manca il numero intero `{key}`-@msg multiple windows land with M11.5 le finestre multiple arriveranno con M11.5+@msg New Window isn't available yet: a document opens in one window Nuova finestra non è ancora disponibile: un documento si apre in una sola finestra@msg name the file assegna un nome al file@msg no CSS to copy: select objects with CSS of their own nessun CSS da copiare: seleziona oggetti con un CSS proprio@msg no Live Paint edge near that point nessun bordo di pittura dinamica vicino a quel puntodiff --git a/crates/ui-egui/src/i18n/ja.tsv b/crates/ui-egui/src/i18n/ja.tsvindex eebea2207..6735831f0 100644--- a/crates/ui-egui/src/i18n/ja.tsv+++ b/crates/ui-egui/src/i18n/ja.tsv@@ -4447,7 +4447,7 @@ swatch Bright Violet ビビッドバイオレット@msg missing index index が指定されていません@msg missing number `{key}` 数値 `{key}` が指定されていません@msg missing integer `{key}` 整数 `{key}` が指定されていません-@msg multiple windows land with M11.5 複数ウィンドウは M11.5 で対応予定です+@msg New Window isn't available yet: a document opens in one window 新規ウィンドウはまだ使用できません: ドキュメントは 1 つのウィンドウで開きます@msg no PNG encoder PNG エンコーダーがありません@msg no document open ドキュメントが開かれていません@msg no effect applied yet まだ効果を適用していませんdiff --git a/crates/ui-egui/src/i18n/ka.tsv b/crates/ui-egui/src/i18n/ka.tsvindex 5e7360795..02965b6ad 100644--- a/crates/ui-egui/src/i18n/ka.tsv+++ b/crates/ui-egui/src/i18n/ka.tsv@@ -3828,7 +3828,7 @@ font-technology Variable ცვლადი@msg missing `name` აკლია `name`@msg missing `tool` აკლია `tool`@msg missing index ინდექსი აკლია-@msg multiple windows land with M11.5 რამდენიმე ფანჯარა M11.5-ში დაემატება+@msg New Window isn't available yet: a document opens in one window ახალი ფანჯარა ჯერ მიუწვდომელია: დოკუმენტი ერთ ფანჯარაში იხსნება@msg name the file მიუთითეთ ფაილის სახელი@msg no CSS to copy: select objects with CSS of their own კოპირებისთვის CSS არ არის: მონიშნეთ საკუთარი CSS-ის მქონე ობიექტები@msg no Live Paint edge near that point ამ წერტილთან ცოცხალი შეღებვის კიდე არ არისdiff --git a/crates/ui-egui/src/i18n/ko.tsv b/crates/ui-egui/src/i18n/ko.tsvindex 29bf525b9..ca100edf6 100644--- a/crates/ui-egui/src/i18n/ko.tsv+++ b/crates/ui-egui/src/i18n/ko.tsv@@ -4379,7 +4379,7 @@ theme Appearance 외관@msg missing index index가 없습니다@msg missing number `{key}` 숫자 `{key}`이(가) 없습니다@msg missing integer `{key}` 정수 `{key}`이(가) 없습니다-@msg multiple windows land with M11.5 여러 창은 M11.5에서 지원됩니다+@msg New Window isn't available yet: a document opens in one window 새 창은 아직 사용할 수 없습니다: 문서는 하나의 창에서 열립니다@msg no PNG encoder PNG 인코더가 없습니다@msg no document open 열린 문서가 없습니다@msg no effect applied yet 아직 적용된 효과가 없습니다diff --git a/crates/ui-egui/src/i18n/nl.tsv b/crates/ui-egui/src/i18n/nl.tsvindex 1c9f28788..3fb0618c9 100644--- a/crates/ui-egui/src/i18n/nl.tsv+++ b/crates/ui-egui/src/i18n/nl.tsv@@ -4081,7 +4081,7 @@ imageTrace Outline Contour@msg missing `name` `name` ontbreekt@msg missing `tool` `tool` ontbreekt@msg missing index index ontbreekt-@msg multiple windows land with M11.5 meerdere vensters komen binnen met M11.5+@msg New Window isn't available yet: a document opens in one window Nieuw venster is nog niet beschikbaar: een document opent in één venster@msg name the file geef het bestand een naam@msg no CSS to copy: select objects with CSS of their own geen CSS om te kopiëren: selecteer objecten met eigen CSS@msg no Live Paint edge near that point geen Live Paint-rand bij dat puntdiff --git a/crates/ui-egui/src/i18n/pl.tsv b/crates/ui-egui/src/i18n/pl.tsvindex cb5246e7b..da8d11eb0 100644--- a/crates/ui-egui/src/i18n/pl.tsv+++ b/crates/ui-egui/src/i18n/pl.tsv@@ -4172,7 +4172,7 @@ imageTrace Outline Kontur@msg missing index brak indeksu@msg missing number `{key}` brak liczby `{key}`@msg missing integer `{key}` brak liczby całkowitej `{key}`-@msg multiple windows land with M11.5 wiele okien pojawi się w M11.5+@msg New Window isn't available yet: a document opens in one window Nowe okno nie jest jeszcze dostępne: dokument otwiera się w jednym oknie@msg name the file nadaj nazwę plikowi@msg no CSS to copy: select objects with CSS of their own brak CSS do skopiowania: zaznacz obiekty z własnym CSS@msg no Live Paint edge near that point brak krawędzi aktywnego malowania w pobliżu tego punktudiff --git a/crates/ui-egui/src/i18n/pt-br.tsv b/crates/ui-egui/src/i18n/pt-br.tsvindex 1f38dba67..96ad44611 100644--- a/crates/ui-egui/src/i18n/pt-br.tsv+++ b/crates/ui-egui/src/i18n/pt-br.tsv@@ -3622,7 +3622,7 @@ axis Both Ambos@msg missing index falta o índice@msg missing number `{key}` falta o número `{key}`@msg missing integer `{key}` falta o número inteiro `{key}`-@msg multiple windows land with M11.5 várias janelas chegam com o M11.5+@msg New Window isn't available yet: a document opens in one window Nova Janela ainda não está disponível: um documento abre em uma única janela@msg name the file dê um nome ao arquivo@msg no CSS to copy: select objects with CSS of their own não há CSS para copiar: selecione objetos que tenham CSS próprio@msg no Live Paint edge near that point nenhuma aresta de Pintura dinâmica perto desse pontodiff --git a/crates/ui-egui/src/i18n/ru.tsv b/crates/ui-egui/src/i18n/ru.tsvindex 8bc6a82ae..2d9f41824 100644--- a/crates/ui-egui/src/i18n/ru.tsv+++ b/crates/ui-egui/src/i18n/ru.tsv@@ -4083,7 +4083,7 @@ axis Both Оба@msg missing index отсутствует index@msg missing number `{key}` отсутствует число `{key}`@msg missing integer `{key}` отсутствует целое число `{key}`-@msg multiple windows land with M11.5 несколько окон появятся в M11.5+@msg New Window isn't available yet: a document opens in one window Новое окно пока недоступно: документ открывается в одном окне@msg name the file дайте файлу имя@msg no CSS to copy: select objects with CSS of their own нет CSS для копирования: выделите объекты с собственным CSS@msg no Live Paint edge near that point рядом с этой точкой нет границы быстрой заливкиdiff --git a/crates/ui-egui/src/i18n/sv.tsv b/crates/ui-egui/src/i18n/sv.tsvindex a38f6bdac..04965c185 100644--- a/crates/ui-egui/src/i18n/sv.tsv+++ b/crates/ui-egui/src/i18n/sv.tsv@@ -3962,7 +3962,7 @@ axis Both Båda@msg missing index index saknas@msg missing number `{key}` talet `{key}` saknas@msg missing integer `{key}` heltalet `{key}` saknas-@msg multiple windows land with M11.5 flera fönster kommer med M11.5+@msg New Window isn't available yet: a document opens in one window Nytt fönster är inte tillgängligt än: ett dokument öppnas i ett fönster@msg name the file namnge filen@msg no CSS to copy: select objects with CSS of their own ingen CSS att kopiera: markera objekt som har egen CSS@msg no Live Paint edge near that point ingen Live Paint-kant nära den punktendiff --git a/crates/ui-egui/src/i18n/tr.tsv b/crates/ui-egui/src/i18n/tr.tsvindex 478773e92..4b55e672f 100644--- a/crates/ui-egui/src/i18n/tr.tsv+++ b/crates/ui-egui/src/i18n/tr.tsv@@ -3824,7 +3824,7 @@ axis Both Her İkisi@msg missing `name` "isim" eksik@msg missing `tool` 'araç' eksik@msg missing index eksik dizin-@msg multiple windows land with M11.5 M11.5 ile birden fazla pencere açılır+@msg New Window isn't available yet: a document opens in one window Yeni Pencere henüz kullanılamıyor: bir belge tek pencerede açılır@msg name the file dosyayı adlandırın@msg no CSS to copy: select objects with CSS of their own kopyalanacak CSS yok: kendilerine ait CSS'ye sahip nesneleri seçin@msg no Live Paint edge near that point bu noktanın yakınında Canlı Boyama kenarı yokdiff --git a/crates/ui-egui/src/i18n/uk.tsv b/crates/ui-egui/src/i18n/uk.tsvindex 82a033d6f..ea830de1c 100644--- a/crates/ui-egui/src/i18n/uk.tsv+++ b/crates/ui-egui/src/i18n/uk.tsv@@ -4071,7 +4071,7 @@ axis Both Обидві@msg missing index відсутня index@msg missing number `{key}` відсутнє число `{key}`@msg missing integer `{key}` відсутнє ціле число `{key}`-@msg multiple windows land with M11.5 кілька вікон з’являться в M11.5+@msg New Window isn't available yet: a document opens in one window Нове вікно поки недоступне: документ відкривається в одному вікні@msg name the file дайте файлу ім’я@msg no CSS to copy: select objects with CSS of their own ні CSS для копіювання: виділіть об’єкти з власним CSS@msg no Live Paint edge near that point поряд з цією точкою немає межі швидкої заливкиdiff --git a/crates/ui-egui/src/i18n/vi.tsv b/crates/ui-egui/src/i18n/vi.tsvindex 3f8d8558a..53216bd00 100644--- a/crates/ui-egui/src/i18n/vi.tsv+++ b/crates/ui-egui/src/i18n/vi.tsv@@ -4357,7 +4357,7 @@ theme Appearance Giao diện@msg move requires a destination panel move cần bảng đích@msg move requires an existing destination panel move cần bảng đích tồn tại@msg Multichannel PSD files can't be read: save it in RGB, CMYK or Grayscale mode Tệp PSD đa kênh không thể đọc: lưu ở chế độ RGB, CMYK hoặc Thang xám-@msg multiple windows land with M11.5 nhiều cửa sổ sẽ có trong M11.5+@msg New Window isn't available yet: a document opens in one window Cửa sổ mới chưa khả dụng: tài liệu mở trong một cửa sổ@msg name the file hãy đặt tên tệp@msg no active document không có tài liệu đang hoạt động@msg no active perspective plane không có mặt phẳng phối cảnh đang hoạt độngdiff --git a/crates/ui-egui/src/i18n/zh-hans.tsv b/crates/ui-egui/src/i18n/zh-hans.tsvindex 3d13c209f..f3b42de41 100644--- a/crates/ui-egui/src/i18n/zh-hans.tsv+++ b/crates/ui-egui/src/i18n/zh-hans.tsv@@ -4169,7 +4169,7 @@ imageTrace Outline 轮廓@msg missing `name` 缺少 `name`@msg missing `tool` 缺少 `tool`@msg missing index 缺少 index-@msg multiple windows land with M11.5 多窗口将在 M11.5 中提供+@msg New Window isn't available yet: a document opens in one window 新建窗口尚不可用:文档在一个窗口中打开@msg no PNG encoder 没有 PNG 编码器@msg no document open 没有打开的文档@msg no effect applied yet 尚未应用任何效果diff --git a/crates/ui-egui/src/i18n/zh-hant.tsv b/crates/ui-egui/src/i18n/zh-hant.tsvindex 2074a9ce5..f090d9dad 100644--- a/crates/ui-egui/src/i18n/zh-hant.tsv+++ b/crates/ui-egui/src/i18n/zh-hant.tsv@@ -2150,7 +2150,7 @@ file-filter Templates 範本@msg missing `name` 未提供 `name`@msg missing `tool` 未提供 `tool`@msg missing index 未提供 index-@msg multiple windows land with M11.5 多個視窗將於 M11.5 推出+@msg New Window isn't available yet: a document opens in one window 新增視窗尚無法使用:文件會在一個視窗中開啟@msg no PNG encoder 沒有 PNG 編碼器@msg no document open 沒有開啟的文件@msg no effect applied yet 尚未套用任何效果diff --git a/crates/ui-egui/src/menus.rs b/crates/ui-egui/src/menus.rsindex 577ecc150..9bc8dcf5f 100644--- a/crates/ui-egui/src/menus.rs+++ b/crates/ui-egui/src/menus.rs@@ -1681,7 +1681,7 @@ pub fn run_ui_command(app: &mut VectorcraftApp, id: &str, p: &Value) -> Option<R}None => Err("brightness must be dark|mediumDark|mediumLight|light".into()),},- "window.newWindow" => Err("multiple windows land with M11.5".into()),+ "window.newWindow" => Err("New Window isn't available yet: a document opens in one window".into()),"tool.select" => match s("tool") {Some(t) if vectorcraft_tools::tool_info(&t).is_some() => {app.select_tool(&t);@@ -2574,6 +2574,8 @@ pub fn enabled(app: &VectorcraftApp, id: &str) -> bool {app.session.active().is_some() && crate::dialogs::perspective_presets::slot_preset(app, id).is_some()}"ui.perspectivePlane" => app.session.active().is_some(),+ // Only one window per document so far: greyed out, as Window › Arrange's items are (#3724).+ "window.newWindow" => false,_ => true,}}@@ -4966,4 +4968,15 @@ mod tests {assert!(tall.height() > short.height() + 100.0, "{} vs {}", tall.height(), short.height());assert!(tall.bottom() < 3000.0);}++ /// #3724: Window › New Window is greyed out until VectorCraft can open a second window on a+ /// document, instead of being enabled and answering with an internal milestone note.+ #[test]+ fn new_window_is_disabled_until_it_opens_a_window() {+ let mut app = VectorcraftApp::new(vectorcraft_engine::Session::new(), crate::Services::default());+ app.run("file.new", json!({"width": 200, "height": 200})).unwrap();+ assert!(!enabled(&app, "window.newWindow"), "New Window is enabled but opens no window");+ let e = app.run("window.newWindow", json!({})).unwrap_err();+ assert!(!e.contains("M11.5"), "a user-facing message, not a milestone: {e}");+ }}