misterdownloadmanager: The ultimate open-source, clean-room download manager written from scratch in pure Rust for Windows, Mac, and Linux
Rust bittorrent-clientdebriddownload-acceleratordownload-managerdownloadmanagereguifile-downloadergallery-dlidmidm-alternativeinternet-download-managerm3u8-downloadermagnetplaylist-downloaderreal-debridrusttorrent-clientvideo-downloaderyoutube-downloaderyt-dlp
Bring Download File Info to the front on macOS (#484) (#489)
Atishay Kasliwal715bac9e1fe6
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex af84b538..663f44c5 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -11,6 +11,7 @@ Each release's notes on GitHub come from its section here (`## [X.Y.Z]`, see### Fixed+- macOS: **Download File Info** opens in front of the browser that asked for it ([#484](https://github.com/anefzaoui/misterdownloadmanager/issues/484)).- The browser's **video button** over a hover-to-play preview (YouTube's thumbnails) no longer vanishes as the pointer goes to it: it stays where it was while the pointer is on it, a click downloads that video, and it fades once the pointer leaves ([#503](https://github.com/anefzaoui/misterdownloadmanager/issues/503)).- **Enter new address to download**: an address with a login in **Options → Sites Logins** shows that login under **Use authorization** (ticked, the user name and the password), the one the download uses; it was used but the box stayed empty. A login typed there still goes first ([#511](https://github.com/anefzaoui/misterdownloadmanager/issues/511)).- The window no longer waits for the disk to write MDM's log or to save the RSS feeds: while Windows held every write on the disk to make a snapshot of it (a restore point or a backup), the window could stop answering until the writes were let go. Both are now written beside the window, as the download list already was (part of [#513](https://github.com/anefzaoui/misterdownloadmanager/issues/513)).diff --git a/ROADMAP.md b/ROADMAP.mdindex 0d435a8d..efe62a9e 100644--- a/ROADMAP.md+++ b/ROADMAP.md@@ -519,6 +519,7 @@ These ship in a later version, when they're ready.### Bugs being looked into+- 🔄 macOS: Download File Info opening behind the browser that asked for it\n ([#484](https://github.com/anefzaoui/misterdownloadmanager/issues/484)): fix in review- 🔄 The browser tests: the video button's focus case ran after the one that turns the buttonoff for the test site, and timed out in a full run ([#480](https://github.com/anefzaoui/misterdownloadmanager/issues/480)): fix in review- 🔄 The video button vanishing over a hover-to-play preview (YouTube's thumbnails) before itdiff --git a/crates/app/src/dialogs.rs b/crates/app/src/dialogs.rsindex 869b7e78..9dac1337 100644--- a/crates/app/src/dialogs.rs+++ b/crates/app/src/dialogs.rs@@ -444,9 +444,12 @@ fn dialog_window<T>(crate::theme::dark_surface(),matches!(out, Outcome::Open),);- // A question takes the focus once it is shown (not while hidden for its theme).+ // A question takes the focus once it is shown (not while hidden for its theme), and so does+ // Download File Info outside Windows (#484): asked for from the browser, it opened behind+ // it. Windows lifts it in keep_theme instead.let focused = key.with("focus-sent");- if modal && matches!(out, Outcome::Open) && !crate::offscreen() {+ let takes_focus = modal || (cfg!(not(windows)) && id == "file-info");+ if takes_focus && matches!(out, Outcome::Open) && !crate::offscreen() {let shown = ctx.data(|d| d.get_temp::<bool>(key.with("shown")).unwrap_or(false));if shown && !ctx.data(|d| d.get_temp::<bool>(focused).unwrap_or(false)) {ctx.send_viewport_cmd_to(ViewportId::from_hash_of(id), egui::ViewportCommand::Focus);