Skip to content

misterdownloadmanager: The ultimate open-source, clean-room download manager written from scratch in pure Rust for Windows, Mac, and Linux

Linux: menus open where clicked in a Wayland session (XWayland) (#50) (#54)

Ahmed Nefzaouiabf14538cd52
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 3c340072..db68ec08 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -128,6 +128,10 @@ Each release's notes on GitHub come from its section here (`## [X.Y.Z]`, see
### Fixed
+- **Linux: menus opened in the middle of the screen** in a Wayland session
+ ([#50](https://github.com/anefzaoui/misterdownloadmanager/issues/50)): Wayland lets no program
+ place its windows, and MDM's menus and drop-down lists are windows it places. MDM now runs
+ through XWayland when it is there (`MDM_WAYLAND=1` keeps Wayland).
- **ffmpeg could fail to install** with "the release has no an LGPL Windows build": BtbN, whose
builds MDM installs, publishes a dated build each day and then remakes its `latest` release,
and meanwhile GitHub's "latest" is the dated one, whose files are named differently. MDM now
diff --git a/Cargo.lock b/Cargo.lock
index cc777353..f5ee5b89 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -4243,6 +4243,7 @@ dependencies = [
"unicode-segmentation",
"url",
"windows-sys 0.61.2",
+ "winit",
"winresource",
"zbus",
]
diff --git a/crates/app/Cargo.toml b/crates/app/Cargo.toml
index 6b95c206..b46446f6 100644
--- a/crates/app/Cargo.toml
+++ b/crates/app/Cargo.toml
@@ -60,6 +60,9 @@ tray-icon = "0.26.1"
# KDE, and GNOME with its AppIndicator extension), no GTK.
[target.'cfg(target_os = "linux")'.dependencies]
eframe = { workspace = true, features = ["wayland", "x11"] }
+# Choosing X11 (XWayland) over Wayland when both are there (unix.rs prefer_x11, #50); the
+# workspace's patched winit, as eframe's.
+winit = { version = "0.30.13", default-features = false, features = ["x11"] }
tray-icon = { version = "0.26.1", default-features = false, features = ["ksni"] }
# The desktop's light or dark preference from the freedesktop portal (unix.rs); already in the
# tree through the tray (ksni) and AccessKit, with the same features.
diff --git a/crates/app/src/app.rs b/crates/app/src/app.rs
index f026f482..4451a236 100644
--- a/crates/app/src/app.rs
+++ b/crates/app/src/app.rs
@@ -1795,7 +1795,11 @@ impl App {
if self.tray.is_some() && !self.exiting && ctx.input(|i| i.viewport().close_requested()) {
ctx.send_viewport_cmd(egui::ViewportCommand::CancelClose);
// Wayland can't hide a window: it goes to the dock / task list instead.
- if cfg!(target_os = "linux") && std::env::var_os("WAYLAND_DISPLAY").is_some() {
+ #[cfg(target_os = "linux")]
+ let wayland = crate::unix::on_wayland();
+ #[cfg(not(target_os = "linux"))]
+ let wayland = false;
+ if wayland {
ctx.send_viewport_cmd(egui::ViewportCommand::Minimized(true));
} else {
ctx.send_viewport_cmd(egui::ViewportCommand::Visible(false));
diff --git a/crates/app/src/main.rs b/crates/app/src/main.rs
index 2c1e9223..a09e7164 100644
--- a/crates/app/src/main.rs
+++ b/crates/app/src/main.rs
@@ -219,6 +219,9 @@ fn app() -> eframe::Result {
}
let opts = eframe::NativeOptions {
viewport,
+ // Linux: X11 (XWayland) over Wayland when both are there, so menus open where clicked.
+ #[cfg(target_os = "linux")]
+ event_loop_builder: unix::prefer_x11(),
..Default::default()
};
let result = eframe::run_native(
diff --git a/crates/app/src/unix.rs b/crates/app/src/unix.rs
index 1b2a4667..7e10d3e4 100644
--- a/crates/app/src/unix.rs
+++ b/crates/app/src/unix.rs
@@ -332,6 +332,33 @@ fn color_scheme(v: &zbus::zvariant::Value) -> Option<u32> {
}
}
+/// Linux: the windows run through X11 (XWayland, in a Wayland session) when there is one, unless
+/// `MDM_WAYLAND=1` (#50). Wayland lets no program place its own windows, and MDM's menus and drop
+/// lists are windows it places under what was clicked: Wayland put them in the middle of the
+/// screen. The hook for `NativeOptions::event_loop_builder`; None: winit's own choice.
+#[cfg(target_os = "linux")]
+pub fn prefer_x11() -> Option<eframe::EventLoopBuilderHook> {
+ let set = |name: &str| std::env::var_os(name).is_some_and(|v| !v.is_empty());
+ let keep = std::env::var_os("MDM_WAYLAND").is_some_and(|v| v == "1");
+ let x11 = set("WAYLAND_DISPLAY") && set("DISPLAY") && !keep;
+ let _ = ON_WAYLAND.set(set("WAYLAND_DISPLAY") && !x11);
+ x11.then(|| -> eframe::EventLoopBuilderHook {
+ Box::new(|b| {
+ use winit::platform::x11::EventLoopBuilderExtX11;
+ b.with_x11();
+ })
+ })
+}
+
+#[cfg(target_os = "linux")]
+static ON_WAYLAND: std::sync::OnceLock<bool> = std::sync::OnceLock::new();
+
+/// Linux: MDM's windows are Wayland's (not X11's or XWayland's), as `prefer_x11` decided.
+#[cfg(target_os = "linux")]
+pub fn on_wayland() -> bool {
+ *ON_WAYLAND.get_or_init(|| std::env::var_os("WAYLAND_DISPLAY").is_some_and(|v| !v.is_empty()))
+}
+
/// `win32::on_a_screen`: winit has no monitor list before the window exists, so a saved
/// position is trusted (the window manager keeps windows on screen on Linux and macOS).
pub fn on_a_screen(_x: i32, _y: i32) -> bool {
diff --git a/docs/getting-started.md b/docs/getting-started.md
index 39590968..7e040a49 100644
--- a/docs/getting-started.md
+++ b/docs/getting-started.md
@@ -32,6 +32,8 @@ We haven't tried them ourselves yet, so you'd be among the first: please
Browser integration is set up by MDM itself at each start on Linux and macOS (the browsers installed then are found); load the extension as in [Browser integration](browser-integration.md). Browsers installed as a Flatpak or a Snap may not be able to reach MDM.
+In a Wayland session (GNOME, KDE Plasma and others), MDM's windows run through XWayland when it is there: Wayland doesn't let a program place its own windows, so MDM's menus and drop-down lists would open in the middle of the screen. To run on Wayland itself anyway, start it with `MDM_WAYLAND=1 misterdownloadmanager`.
+
## Install with the setup
1. Run `MisterDownloadManager-<version>-setup.exe`.
diff --git a/i18n/site/ar.json b/i18n/site/ar.json
index 4a2deaaa..37ad6aa7 100644
--- a/i18n/site/ar.json
+++ b/i18n/site/ar.json
@@ -4670,6 +4670,10 @@
"source": "3. Using it responsibly",
"text": "3. الاستخدام المسؤول"
},
+ "8d82bd27db3d3e27": {
+ "source": "In a Wayland session (GNOME, KDE Plasma and others), MDM's windows run through XWayland when it is there: Wayland doesn't let a program place its own windows, so MDM's menus and drop-down lists would open in the middle of the screen. To run on Wayland itself anyway, start it with <x1/>.",
+ "text": "في جلسة Wayland (مثل GNOME و KDE Plasma وغيرها)، تعمل نوافذ MDM من خلال XWayland عندما يكون متوفرا: لا يسمح Wayland للبرنامج بوضع نوافذه الخاصة، لذا ستفتح قوائم MDM والقوائم المنسدلة في منتصف الشاشة. لتشغيله على Wayland نفسه على أي حال، ابدأ تشغيله باستخدام <x1/>."
+ },
"8d8e052bd62085d8": {
"source": "<g1>Statistics.</g1> Medians with interquartile ranges, bootstrap 95% intervals (10,000 resamples) for each median and for the ratio of medians, and a two-sided Mann–Whitney U test.",
"text": "<g1>الإحصائيات.</g1> الوسيط مع النطاقات الربيعية، فترات Bootstrap 95% (10,000 إعادة عينة) لكل وسيط ونسبة الوسيطات، واختبار Mann–Whitney U ثنائي الجانب."
diff --git a/i18n/site/bn.json b/i18n/site/bn.json
index a9cea8f1..26a29808 100644
--- a/i18n/site/bn.json
+++ b/i18n/site/bn.json
@@ -4670,6 +4670,10 @@
"source": "3. Using it responsibly",
"text": "3. দায়িত্বশীলভাবে ব্যবহার করা"
},
+ "8d82bd27db3d3e27": {
+ "source": "In a Wayland session (GNOME, KDE Plasma and others), MDM's windows run through XWayland when it is there: Wayland doesn't let a program place its own windows, so MDM's menus and drop-down lists would open in the middle of the screen. To run on Wayland itself anyway, start it with <x1/>.",
+ "text": "ওয়েল্যান্ড সেশনে (GNOME, KDE Plasma এবং অন্যান্য), MDM-এর উইন্ডোগুলি XWayland-এর মাধ্যমে চলে যখন এটি থাকে: ওয়েল্যান্ড একটি প্রোগ্রামকে তার নিজস্ব উইন্ডো স্থাপন করতে দেয় না, তাই MDM-এর মেনু এবং ড্রপ-ডাউন তালিকাগুলি স্ক্রিনের মাঝখানে খুলবে। ওয়েল্যান্ডে এটি চালানোর জন্য, <x1/> দিয়ে শুরু করুন।"
+ },
"8d8e052bd62085d8": {
"source": "<g1>Statistics.</g1> Medians with interquartile ranges, bootstrap 95% intervals (10,000 resamples) for each median and for the ratio of medians, and a two-sided Mann–Whitney U test.",
"text": "<g1>পরিসংখ্যান।</g1> ইন্টারকোয়ার্টাইল রেঞ্জ সহ মিডিয়ান, প্রতিটি মিডিয়ানের জন্য বুটস্ট্র্যাপ 95% ইন্টারভাল (10,000 রিস্যাম্পল) এবং মিডিয়ানগুলির অনুপাতের জন্য, এবং একটি দ্বি-পার্শ্বযুক্ত মান-হুইটনি ইউ পরীক্ষা।"
diff --git a/i18n/site/de.json b/i18n/site/de.json
index ba8d154b..5464a528 100644
--- a/i18n/site/de.json
+++ b/i18n/site/de.json
@@ -4670,6 +4670,10 @@
"source": "3. Using it responsibly",
"text": "3. Verantwortungsvolle Nutzung"
},
+ "8d82bd27db3d3e27": {
+ "source": "In a Wayland session (GNOME, KDE Plasma and others), MDM's windows run through XWayland when it is there: Wayland doesn't let a program place its own windows, so MDM's menus and drop-down lists would open in the middle of the screen. To run on Wayland itself anyway, start it with <x1/>.",
+ "text": "In einer Wayland-Sitzung (GNOME, KDE Plasma und andere) laufen die MDM-Fenster über XWayland, wenn es vorhanden ist: Wayland erlaubt es einem Programm nicht, seine eigenen Fenster zu platzieren, sodass die Menüs und Dropdown-Listen von MDM in der Mitte des Bildschirms geöffnet würden. Um trotzdem direkt auf Wayland zu laufen, starten Sie es mit <x1/>."
+ },
"8d8e052bd62085d8": {
"source": "<g1>Statistics.</g1> Medians with interquartile ranges, bootstrap 95% intervals (10,000 resamples) for each median and for the ratio of medians, and a two-sided Mann–Whitney U test.",
"text": "<g1>Statistik.</g1> Mediane mit Interquartilbereichen, Bootstrap-95%-Intervalle (10.000 Resamples) für jeden Median und für das Verhältnis der Mediane sowie ein zweiseitiger Mann-Whitney-U-Test."
diff --git a/i18n/site/es.json b/i18n/site/es.json
index a6017eec..4711ad60 100644
--- a/i18n/site/es.json
+++ b/i18n/site/es.json
@@ -4670,6 +4670,10 @@
"source": "3. Using it responsibly",
"text": "3. Uso responsable"
},
+ "8d82bd27db3d3e27": {
+ "source": "In a Wayland session (GNOME, KDE Plasma and others), MDM's windows run through XWayland when it is there: Wayland doesn't let a program place its own windows, so MDM's menus and drop-down lists would open in the middle of the screen. To run on Wayland itself anyway, start it with <x1/>.",
+ "text": "En una sesión de Wayland (GNOME, KDE Plasma y otros), las ventanas de MDM se ejecutan a través de XWayland cuando está presente: Wayland no permite que un programa coloque sus propias ventanas, por lo que los menús y las listas desplegables de MDM se abrirían en el centro de la pantalla. Para ejecutarlo en Wayland de todos modos, inícielo con <x1/>."
+ },
"8d8e052bd62085d8": {
"source": "<g1>Statistics.</g1> Medians with interquartile ranges, bootstrap 95% intervals (10,000 resamples) for each median and for the ratio of medians, and a two-sided Mann–Whitney U test.",
"text": "<g1>Estadísticas.</g1> Medianas con rangos intercuartílicos, intervalos de arranque del 95 % (10 000 remuestreos) para cada mediana y para la relación de medianas, y una prueba U de Mann-Whitney bilateral."
diff --git a/i18n/site/fa.json b/i18n/site/fa.json
index a0dec104..ddf4a236 100644
--- a/i18n/site/fa.json
+++ b/i18n/site/fa.json
@@ -4670,6 +4670,10 @@
"source": "3. Using it responsibly",
"text": "3. استفاده مسئولانه از آن"
},
+ "8d82bd27db3d3e27": {
+ "source": "In a Wayland session (GNOME, KDE Plasma and others), MDM's windows run through XWayland when it is there: Wayland doesn't let a program place its own windows, so MDM's menus and drop-down lists would open in the middle of the screen. To run on Wayland itself anyway, start it with <x1/>.",
+ "text": "در یک نشست Wayland (GNOME، KDE Plasma و دیگران)، پنجره‌های MDM از طریق XWayland اجرا می‌شوند، اگر XWayland وجود داشته باشد: Wayland به یک برنامه اجازه نمی‌دهد پنجره‌های خود را در جای دلخواه قرار دهد، بنابراین منوها و لیست‌های کشویی MDM در وسط صفحه باز می‌شوند. برای اجرای مستقیم روی Wayland، آن را با <x1/> شروع کنید."
+ },
"8d8e052bd62085d8": {
"source": "<g1>Statistics.</g1> Medians with interquartile ranges, bootstrap 95% intervals (10,000 resamples) for each median and for the ratio of medians, and a two-sided Mann–Whitney U test.",
"text": "<g1>آمار.</g1> میانه با دامنه بین چارکی، فواصل 95% بوت‌استرپ (10,000 نمونه‌گیری مجدد) برای هر میانه و برای نسبت میانه‌ها، و یک آزمون U دوطرفه Mann–Whitney."
diff --git a/i18n/site/fr.json b/i18n/site/fr.json
index e69b35ae..43e1e391 100644
--- a/i18n/site/fr.json
+++ b/i18n/site/fr.json
@@ -4670,6 +4670,10 @@
"source": "3. Using it responsibly",
"text": "3. Utilisation responsable"
},
+ "8d82bd27db3d3e27": {
+ "source": "In a Wayland session (GNOME, KDE Plasma and others), MDM's windows run through XWayland when it is there: Wayland doesn't let a program place its own windows, so MDM's menus and drop-down lists would open in the middle of the screen. To run on Wayland itself anyway, start it with <x1/>.",
+ "text": "Dans une session Wayland (GNOME, KDE Plasma et autres), les fenêtres de MDM s'exécutent via XWayland quand il est présent : Wayland ne permet pas à un programme de placer ses propres fenêtres, donc les menus et listes déroulantes de MDM s'ouvriraient au milieu de l'écran. Pour l'exécuter sur Wayland lui-même, démarrez-le avec <x1/>."
+ },
"8d8e052bd62085d8": {
"source": "<g1>Statistics.</g1> Medians with interquartile ranges, bootstrap 95% intervals (10,000 resamples) for each median and for the ratio of medians, and a two-sided Mann–Whitney U test.",
"text": "<g1>Statistiques.</g1> Médianes avec intervalles interquartiles, intervalles de confiance à 95 % par bootstrap (10 000 rééchantillonnages) pour chaque médiane et pour le rapport des médianes, et un test U de Mann-Whitney bilatéral."
diff --git a/i18n/site/hi.json b/i18n/site/hi.json
index 04b24d52..e5ff49fb 100644
--- a/i18n/site/hi.json
+++ b/i18n/site/hi.json
@@ -4670,6 +4670,10 @@
"source": "3. Using it responsibly",
"text": "3. इसका जिम्मेदारी से उपयोग करना"
},
+ "8d82bd27db3d3e27": {
+ "source": "In a Wayland session (GNOME, KDE Plasma and others), MDM's windows run through XWayland when it is there: Wayland doesn't let a program place its own windows, so MDM's menus and drop-down lists would open in the middle of the screen. To run on Wayland itself anyway, start it with <x1/>.",
+ "text": "वेयलैंड सेशन में (GNOME, KDE प्लाज्मा और अन्य), MDM की विंडो XWayland के ज़रिए चलती हैं जब वह उपलब्ध हो: वेयलैंड किसी प्रोग्राम को अपनी विंडो रखने की अनुमति नहीं देता, इसलिए MDM के मेनू और ड्रॉप-डाउन लिस्ट स्क्रीन के बीच में खुलेंगे। फिर भी वेयलैंड पर चलाने के लिए, इसे <x1/> के साथ शुरू करें।"
+ },
"8d8e052bd62085d8": {
"source": "<g1>Statistics.</g1> Medians with interquartile ranges, bootstrap 95% intervals (10,000 resamples) for each median and for the ratio of medians, and a two-sided Mann–Whitney U test.",
"text": "<g1>सांख्यिकी।</g1> मेडियन के साथ इंटरक्वारटाइल रेंज, प्रत्येक मेडियन के लिए और मेडियन के अनुपात के लिए बूटस्ट्रैप 95% अंतराल (10,000 रीसैंपल), और एक दो-तरफा मान-व्हिटनी यू टेस्ट।"
diff --git a/i18n/site/id.json b/i18n/site/id.json
index 667e3a0a..16f43199 100644
--- a/i18n/site/id.json
+++ b/i18n/site/id.json
@@ -4670,6 +4670,10 @@
"source": "3. Using it responsibly",
"text": "3. Menggunakannya secara bertanggung jawab"
},
+ "8d82bd27db3d3e27": {
+ "source": "In a Wayland session (GNOME, KDE Plasma and others), MDM's windows run through XWayland when it is there: Wayland doesn't let a program place its own windows, so MDM's menus and drop-down lists would open in the middle of the screen. To run on Wayland itself anyway, start it with <x1/>.",
+ "text": "Dalam sesi Wayland (GNOME, KDE Plasma, dan lainnya), jendela MDM berjalan melalui XWayland jika tersedia: Wayland tidak mengizinkan program menempatkan jendelanya sendiri, sehingga menu dan daftar tarik-turun MDM akan terbuka di tengah layar. Untuk tetap berjalan di Wayland itu sendiri, mulai dengan <x1/>."
+ },
"8d8e052bd62085d8": {
"source": "<g1>Statistics.</g1> Medians with interquartile ranges, bootstrap 95% intervals (10,000 resamples) for each median and for the ratio of medians, and a two-sided Mann–Whitney U test.",
"text": "<g1>Statistik.</g1> Median dengan rentang interkuartil, interval bootstrap 95% (10.000 resample) untuk setiap median dan untuk rasio median, dan uji U Mann–Whitney dua sisi."
diff --git a/i18n/site/it.json b/i18n/site/it.json
index 6f1379f0..799bf97f 100644
--- a/i18n/site/it.json
+++ b/i18n/site/it.json
@@ -4670,6 +4670,10 @@
"source": "3. Using it responsibly",
"text": "3. Usarlo responsabilmente"
},
+ "8d82bd27db3d3e27": {
+ "source": "In a Wayland session (GNOME, KDE Plasma and others), MDM's windows run through XWayland when it is there: Wayland doesn't let a program place its own windows, so MDM's menus and drop-down lists would open in the middle of the screen. To run on Wayland itself anyway, start it with <x1/>.",
+ "text": "In una sessione Wayland (GNOME, KDE Plasma e altri), le finestre di MDM vengono eseguite tramite XWayland quando presente: Wayland non consente a un programma di posizionare le proprie finestre, quindi i menu e gli elenchi a discesa di MDM si aprirebbero al centro dello schermo. Per eseguirlo comunque su Wayland, avviarlo con <x1/>."
+ },
"8d8e052bd62085d8": {
"source": "<g1>Statistics.</g1> Medians with interquartile ranges, bootstrap 95% intervals (10,000 resamples) for each median and for the ratio of medians, and a two-sided Mann–Whitney U test.",
"text": "<g1>Statistiche.</g1> Mediane con intervalli interquartili, intervalli bootstrap al 95% (10.000 ricampionamenti) per ogni mediana e per il rapporto delle mediane, e un test U di Mann–Whitney a due code."
diff --git a/i18n/site/ja.json b/i18n/site/ja.json
index 4b20a8a1..acec2bd3 100644
--- a/i18n/site/ja.json
+++ b/i18n/site/ja.json
@@ -4670,6 +4670,10 @@
"source": "3. Using it responsibly",
"text": "3. 責任ある使用"
},
+ "8d82bd27db3d3e27": {
+ "source": "In a Wayland session (GNOME, KDE Plasma and others), MDM's windows run through XWayland when it is there: Wayland doesn't let a program place its own windows, so MDM's menus and drop-down lists would open in the middle of the screen. To run on Wayland itself anyway, start it with <x1/>.",
+ "text": "Waylandセッション(GNOME、KDE Plasmaなど)では、MDMのウィンドウはXWaylandがある場合にXWayland経由で実行されます。Waylandはプログラムが独自のウィンドウを配置することを許可しないため、MDMのメニューやドロップダウンリストは画面の中央に開いてしまいます。それでもWayland自体で実行するには、<x1/>で起動してください。"
+ },
"8d8e052bd62085d8": {
"source": "<g1>Statistics.</g1> Medians with interquartile ranges, bootstrap 95% intervals (10,000 resamples) for each median and for the ratio of medians, and a two-sided Mann–Whitney U test.",
"text": "<g1>統計。</g1> メディアンと四分位範囲、各メディアンおよびメディアンの比率に対するブートストラップ95%信頼区間(10,000リサンプル)、および両側マン・ホイットニーU検定。"
diff --git a/i18n/site/ko.json b/i18n/site/ko.json
index 0819e1bc..9719d85b 100644
--- a/i18n/site/ko.json
+++ b/i18n/site/ko.json
@@ -4670,6 +4670,10 @@
"source": "3. Using it responsibly",
"text": "3. 책임감 있는 사용"
},
+ "8d82bd27db3d3e27": {
+ "source": "In a Wayland session (GNOME, KDE Plasma and others), MDM's windows run through XWayland when it is there: Wayland doesn't let a program place its own windows, so MDM's menus and drop-down lists would open in the middle of the screen. To run on Wayland itself anyway, start it with <x1/>.",
+ "text": "Wayland 세션(GNOME, KDE Plasma 등)에서 MDM 창은 XWayland가 있는 경우 XWayland를 통해 실행됩니다. Wayland는 프로그램이 자체 창을 배치하는 것을 허용하지 않으므로 MDM의 메뉴와 드롭다운 목록이 화면 중앙에 열립니다. 그럼에도 불구하고 Wayland 자체에서 실행하려면 <x1/>로 시작하십시오."
+ },
"8d8e052bd62085d8": {
"source": "<g1>Statistics.</g1> Medians with interquartile ranges, bootstrap 95% intervals (10,000 resamples) for each median and for the ratio of medians, and a two-sided Mann–Whitney U test.",
"text": "<g1>통계.</g1> 중앙값과 사분위수 범위, 각 중앙값 및 중앙값 비율에 대한 부트스트랩 95% 신뢰 구간(10,000회 재샘플링), 그리고 양측 Mann–Whitney U 테스트."
diff --git a/i18n/site/nl.json b/i18n/site/nl.json
index d03527d0..7259b8c7 100644
--- a/i18n/site/nl.json
+++ b/i18n/site/nl.json
@@ -4670,6 +4670,10 @@
"source": "3. Using it responsibly",
"text": "3. Verantwoordelijk gebruik"
},
+ "8d82bd27db3d3e27": {
+ "source": "In a Wayland session (GNOME, KDE Plasma and others), MDM's windows run through XWayland when it is there: Wayland doesn't let a program place its own windows, so MDM's menus and drop-down lists would open in the middle of the screen. To run on Wayland itself anyway, start it with <x1/>.",
+ "text": "In een Wayland-sessie (GNOME, KDE Plasma en andere) worden de vensters van MDM via XWayland uitgevoerd, indien aanwezig: Wayland staat een programma niet toe om zijn eigen vensters te plaatsen, dus de menu's en vervolgkeuzelijsten van MDM zouden in het midden van het scherm openen. Om toch op Wayland zelf te draaien, start u het met <x1/>."
+ },
"8d8e052bd62085d8": {
"source": "<g1>Statistics.</g1> Medians with interquartile ranges, bootstrap 95% intervals (10,000 resamples) for each median and for the ratio of medians, and a two-sided Mann–Whitney U test.",
"text": "<g1>Statistieken.</g1> Medianen met interkwartielbereiken, bootstrap 95% intervallen (10.000 resamples) voor elke mediaan en voor de verhouding van medianen, en een tweezijdige Mann–Whitney U-test."
diff --git a/i18n/site/pl.json b/i18n/site/pl.json
index 82197803..4bc7cc37 100644
--- a/i18n/site/pl.json
+++ b/i18n/site/pl.json
@@ -4670,6 +4670,10 @@
"source": "3. Using it responsibly",
"text": "3. Odpowiedzialne korzystanie"
},
+ "8d82bd27db3d3e27": {
+ "source": "In a Wayland session (GNOME, KDE Plasma and others), MDM's windows run through XWayland when it is there: Wayland doesn't let a program place its own windows, so MDM's menus and drop-down lists would open in the middle of the screen. To run on Wayland itself anyway, start it with <x1/>.",
+ "text": "W sesji Wayland (GNOME, KDE Plasma i inne), okna MDM działają przez XWayland, jeśli jest dostępny: Wayland nie pozwala programowi umieszczać własnych okien, więc menu i listy rozwijane MDM otwierałyby się na środku ekranu. Aby mimo to uruchomić go bezpośrednio na Wayland, uruchom go z <x1/>."
+ },
"8d8e052bd62085d8": {
"source": "<g1>Statistics.</g1> Medians with interquartile ranges, bootstrap 95% intervals (10,000 resamples) for each median and for the ratio of medians, and a two-sided Mann–Whitney U test.",
"text": "<g1>Statystyki.</g1> Mediany z zakresami międzykwartylowymi, 95% przedziały ufności bootstrap (10 000 ponownych próbek) dla każdej mediany i dla stosunku median, oraz dwustronny test U Manna–Whitneya."
diff --git a/i18n/site/pt-br.json b/i18n/site/pt-br.json
index e59c9bfb..fbae179f 100644
--- a/i18n/site/pt-br.json
+++ b/i18n/site/pt-br.json
@@ -4670,6 +4670,10 @@
"source": "3. Using it responsibly",
"text": "3. Usando-o com responsabilidade"
},
+ "8d82bd27db3d3e27": {
+ "source": "In a Wayland session (GNOME, KDE Plasma and others), MDM's windows run through XWayland when it is there: Wayland doesn't let a program place its own windows, so MDM's menus and drop-down lists would open in the middle of the screen. To run on Wayland itself anyway, start it with <x1/>.",
+ "text": "Em uma sessão Wayland (GNOME, KDE Plasma e outros), as janelas do MDM são executadas via XWayland quando este está presente: o Wayland não permite que um programa posicione suas próprias janelas, então os menus e listas suspensas do MDM seriam abertos no meio da tela. Para executá-lo no próprio Wayland, inicie-o com <x1/>."
+ },
"8d8e052bd62085d8": {
"source": "<g1>Statistics.</g1> Medians with interquartile ranges, bootstrap 95% intervals (10,000 resamples) for each median and for the ratio of medians, and a two-sided Mann–Whitney U test.",
"text": "<g1>Estatísticas.</g1> Medianas com intervalos interquartis, intervalos de bootstrap de 95% (10.000 reamostragens) para cada mediana e para a razão das medianas, e um teste U de Mann–Whitney bilateral."
diff --git a/i18n/site/pt.json b/i18n/site/pt.json
index 896e03ab..fdf0473a 100644
--- a/i18n/site/pt.json
+++ b/i18n/site/pt.json
@@ -4670,6 +4670,10 @@
"source": "3. Using it responsibly",
"text": "3. Utilização responsável"
},
+ "8d82bd27db3d3e27": {
+ "source": "In a Wayland session (GNOME, KDE Plasma and others), MDM's windows run through XWayland when it is there: Wayland doesn't let a program place its own windows, so MDM's menus and drop-down lists would open in the middle of the screen. To run on Wayland itself anyway, start it with <x1/>.",
+ "text": "Numa sessão Wayland (GNOME, KDE Plasma e outros), as janelas do MDM são executadas através do XWayland quando este está presente: o Wayland não permite que um programa posicione as suas próprias janelas, pelo que os menus e listas pendentes do MDM abririam no meio do ecrã. Para executar no próprio Wayland, inicie-o com <x1/>."
+ },
"8d8e052bd62085d8": {
"source": "<g1>Statistics.</g1> Medians with interquartile ranges, bootstrap 95% intervals (10,000 resamples) for each median and for the ratio of medians, and a two-sided Mann–Whitney U test.",
"text": "<g1>Estatísticas.</g1> Medianas com intervalos interquartis, intervalos de bootstrap de 95% (10.000 reamostragens) para cada mediana e para a razão das medianas, e um teste U de Mann–Whitney bilateral."
diff --git a/i18n/site/ru.json b/i18n/site/ru.json
index eb95c4d7..9fe2955a 100644
--- a/i18n/site/ru.json
+++ b/i18n/site/ru.json
@@ -4670,6 +4670,10 @@
"source": "3. Using it responsibly",
"text": "3. Ответственное использование"
},
+ "8d82bd27db3d3e27": {
+ "source": "In a Wayland session (GNOME, KDE Plasma and others), MDM's windows run through XWayland when it is there: Wayland doesn't let a program place its own windows, so MDM's menus and drop-down lists would open in the middle of the screen. To run on Wayland itself anyway, start it with <x1/>.",
+ "text": "В сеансе Wayland (GNOME, KDE Plasma и другие) окна MDM запускаются через XWayland, если он присутствует: Wayland не позволяет программе размещать свои собственные окна, поэтому меню и выпадающие списки MDM открывались бы в середине экрана. Чтобы все же запустить его на самом Wayland, запустите его с помощью <x1/>."
+ },
"8d8e052bd62085d8": {
"source": "<g1>Statistics.</g1> Medians with interquartile ranges, bootstrap 95% intervals (10,000 resamples) for each median and for the ratio of medians, and a two-sided Mann–Whitney U test.",
"text": "<g1>Статистика.</g1> Медианы с межквартильными диапазонами, 95% доверительные интервалы бутстрапа (10 000 повторных выборок) для каждой медианы и для отношения медиан, а также двусторонний U-тест Манна-Уитни."
diff --git a/i18n/site/th.json b/i18n/site/th.json
index 206a40cc..b37566db 100644
--- a/i18n/site/th.json
+++ b/i18n/site/th.json
@@ -4670,6 +4670,10 @@
"source": "3. Using it responsibly",
"text": "3. การใช้งานอย่างรับผิดชอบ"
},
+ "8d82bd27db3d3e27": {
+ "source": "In a Wayland session (GNOME, KDE Plasma and others), MDM's windows run through XWayland when it is there: Wayland doesn't let a program place its own windows, so MDM's menus and drop-down lists would open in the middle of the screen. To run on Wayland itself anyway, start it with <x1/>.",
+ "text": "ในการทำงานแบบ Wayland (GNOME, KDE Plasma และอื่น ๆ) หน้าต่างของ MDM จะทำงานผ่าน XWayland หากมีอยู่: Wayland ไม่อนุญาตให้โปรแกรมวางหน้าต่างของตัวเอง ดังนั้นเมนูและรายการดรอปดาวน์ของ MDM จะเปิดขึ้นกลางหน้าจอ หากต้องการให้ทำงานบน Wayland โดยตรง ให้เริ่มต้นด้วย <x1/>"
+ },
"8d8e052bd62085d8": {
"source": "<g1>Statistics.</g1> Medians with interquartile ranges, bootstrap 95% intervals (10,000 resamples) for each median and for the ratio of medians, and a two-sided Mann–Whitney U test.",
"text": "<g1>สถิติ</g1> ค่ามัธยฐานพร้อมช่วงควอร์ไทล์ ช่วงบูตสแตรป 95% (10,000 ตัวอย่างซ้ำ) สำหรับแต่ละค่ามัธยฐานและสำหรับอัตราส่วนของค่ามัธยฐาน และการทดสอบ Mann–Whitney U แบบสองด้าน"
diff --git a/i18n/site/tr.json b/i18n/site/tr.json
index df0bd209..cd5ffab1 100644
--- a/i18n/site/tr.json
+++ b/i18n/site/tr.json
@@ -4670,6 +4670,10 @@
"source": "3. Using it responsibly",
"text": "3. Sorumlu Kullanım"
},
+ "8d82bd27db3d3e27": {
+ "source": "In a Wayland session (GNOME, KDE Plasma and others), MDM's windows run through XWayland when it is there: Wayland doesn't let a program place its own windows, so MDM's menus and drop-down lists would open in the middle of the screen. To run on Wayland itself anyway, start it with <x1/>.",
+ "text": "Bir Wayland oturumunda (GNOME, KDE Plasma ve diğerleri), MDM'nin pencereleri XWayland üzerinden çalışır: Wayland bir programın kendi pencerelerini yerleştirmesine izin vermez, bu nedenle MDM'nin menüleri ve açılır listeleri ekranın ortasında açılırdı. Yine de Wayland üzerinde çalıştırmak için <x1/> ile başlatın."
+ },
"8d8e052bd62085d8": {
"source": "<g1>Statistics.</g1> Medians with interquartile ranges, bootstrap 95% intervals (10,000 resamples) for each median and for the ratio of medians, and a two-sided Mann–Whitney U test.",
"text": "<g1>İstatistikler.</g1> Medyanlar arası çeyrekler arası aralıklar, her medyan için ve medyanların oranı için bootstrap %95 aralıkları (10.000 yeniden örnekleme) ve iki taraflı Mann–Whitney U testi."
diff --git a/i18n/site/uk.json b/i18n/site/uk.json
index 6ac67063..7aa9cc6e 100644
--- a/i18n/site/uk.json
+++ b/i18n/site/uk.json
@@ -4670,6 +4670,10 @@
"source": "3. Using it responsibly",
"text": "3. Відповідальне використання"
},
+ "8d82bd27db3d3e27": {
+ "source": "In a Wayland session (GNOME, KDE Plasma and others), MDM's windows run through XWayland when it is there: Wayland doesn't let a program place its own windows, so MDM's menus and drop-down lists would open in the middle of the screen. To run on Wayland itself anyway, start it with <x1/>.",
+ "text": "У сеансі Wayland (GNOME, KDE Plasma та інші) вікна MDM працюють через XWayland, якщо він є: Wayland не дозволяє програмі розміщувати власні вікна, тому меню та спадні списки MDM відкривалися б посередині екрана. Щоб все одно запустити його на Wayland, запустіть його за допомогою <x1/>."
+ },
"8d8e052bd62085d8": {
"source": "<g1>Statistics.</g1> Medians with interquartile ranges, bootstrap 95% intervals (10,000 resamples) for each median and for the ratio of medians, and a two-sided Mann–Whitney U test.",
"text": "<g1>Статистика.</g1> Медіани з міжквартильними діапазонами, 95% інтервали бутстрепу (10 000 повторних вибірок) для кожної медіани та для співвідношення медіан, а також двосторонній U-тест Манна–Уітні."
diff --git a/i18n/site/vi.json b/i18n/site/vi.json
index 5a24719c..07076310 100644
--- a/i18n/site/vi.json
+++ b/i18n/site/vi.json
@@ -4670,6 +4670,10 @@
"source": "3. Using it responsibly",
"text": "3. Sử dụng có trách nhiệm"
},
+ "8d82bd27db3d3e27": {
+ "source": "In a Wayland session (GNOME, KDE Plasma and others), MDM's windows run through XWayland when it is there: Wayland doesn't let a program place its own windows, so MDM's menus and drop-down lists would open in the middle of the screen. To run on Wayland itself anyway, start it with <x1/>.",
+ "text": "Trong phiên Wayland (GNOME, KDE Plasma và các phiên khác), các cửa sổ của MDM chạy qua XWayland nếu có: Wayland không cho phép một chương trình tự đặt cửa sổ của nó, vì vậy các menu và danh sách thả xuống của MDM sẽ mở ở giữa màn hình. Để chạy trên Wayland, hãy khởi động nó bằng <x1/>."
+ },
"8d8e052bd62085d8": {
"source": "<g1>Statistics.</g1> Medians with interquartile ranges, bootstrap 95% intervals (10,000 resamples) for each median and for the ratio of medians, and a two-sided Mann–Whitney U test.",
"text": "<g1>Thống kê.</g1> Giá trị trung vị với khoảng tứ phân vị, khoảng tin cậy 95% bootstrap (10.000 mẫu lại) cho mỗi giá trị trung vị và cho tỷ lệ các giá trị trung vị, và kiểm định U Mann–Whitney hai phía."
diff --git a/i18n/site/zh-hans.json b/i18n/site/zh-hans.json
index 9deb5c9b..55ceb8b7 100644
--- a/i18n/site/zh-hans.json
+++ b/i18n/site/zh-hans.json
@@ -4670,6 +4670,10 @@
"source": "3. Using it responsibly",
"text": "3. 负责任地使用"
},
+ "8d82bd27db3d3e27": {
+ "source": "In a Wayland session (GNOME, KDE Plasma and others), MDM's windows run through XWayland when it is there: Wayland doesn't let a program place its own windows, so MDM's menus and drop-down lists would open in the middle of the screen. To run on Wayland itself anyway, start it with <x1/>.",
+ "text": "在 Wayland 会话(GNOME、KDE Plasma 及其他)中,如果存在 XWayland,MDM 的窗口会通过 XWayland 运行:Wayland 不允许程序自行放置窗口,因此 MDM 的菜单和下拉列表会出现在屏幕中央。若要仍在 Wayland 上运行,请使用 <x1/> 启动它。"
+ },
"8d8e052bd62085d8": {
"source": "<g1>Statistics.</g1> Medians with interquartile ranges, bootstrap 95% intervals (10,000 resamples) for each median and for the ratio of medians, and a two-sided Mann–Whitney U test.",
"text": "<g1>统计。</g1> 中位数及四分位距,每个中位数和中位数比率的自举 95% 置信区间(10,000 次重采样),以及双侧 Mann–Whitney U 检验。"