Repository navigation
Fix: Cherry-pick upstream crash and stability fixes (upstream fixes from Nov 29 – Dec 3) - #19241
Closed
MemerGamer wants to merge 738 commits into
Closed
MemerGamer wants to merge 738 commits into
MemerGamer wants to merge 738 commits into
Conversation
Co-Authored-By: GPT-6.1-sol (OpenAI Codex) <noreply@openai.com> Claude-Session: https://claude.ai/code/session_016FAtbHHLQSiJiYcw2vnKiq
Code Quality: Plan Rust backend and Windows code removal
Code Quality: Point Nix package at alpha3
Co-Authored-By: GPT-6.1-sol (OpenAI Codex) <noreply@openai.com> Claude-Session: https://claude.ai/code/session_016FAtbHHLQSiJiYcw2vnKiq
Co-Authored-By: GPT-6.1-sol (OpenAI Codex) <noreply@openai.com> Claude-Session: https://claude.ai/code/session_016FAtbHHLQSiJiYcw2vnKiq
Co-Authored-By: GPT-6.1-sol (OpenAI Codex) <noreply@openai.com> Claude-Session: https://claude.ai/code/session_016FAtbHHLQSiJiYcw2vnKiq
Code Quality: Measure Rust directory scanning against optimized C#
Fix: Update existing upstream sync branches and PRs
…m sync Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016FAtbHHLQSiJiYcw2vnKiq
# Conflicts: # .github/workflows/sync-upstream.yml
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016FAtbHHLQSiJiYcw2vnKiq
…estart Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016FAtbHHLQSiJiYcw2vnKiq
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016FAtbHHLQSiJiYcw2vnKiq
Snapshot command state on the UI thread, build and filter the menu model on a worker, then create the flyout on the UI thread. A newer menu request cancels the previous build. Also skip the per-item ContainerFromItem theme pass when many items are selected at once. Headless 10k fixture: file/folder menu UI block 150-175 ms -> under 25 ms; select-all stall 817 -> ~620 ms (Uno SelectedItems.Add stays O(n^2)). Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016FAtbHHLQSiJiYcw2vnKiq
Co-Authored-By: GPT-6.1-sol (OpenAI Codex) <noreply@openai.com> Claude-Session: https://claude.ai/code/session_016FAtbHHLQSiJiYcw2vnKiq
Fix: Preserve tags when xattr writes fail
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Co-Authored-By: GPT-6.1-sol (OpenAI Codex) <noreply@openai.com> Claude-Session: https://claude.ai/code/session_016FAtbHHLQSiJiYcw2vnKiq
Code Quality: Add Windows path allowlist and prune helper for upstream sync
Fix: Build context menus off the UI thread
Co-Authored-By: GPT-6 (OpenAI Codex) <noreply@openai.com> Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Release 0.1.0-alpha4
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Point Nix package at alpha4
Code Quality: Sync upstream Files (2026-10-12)
Remove leaf Windows projects, Windows CI/MSIX packaging, the upstream sync workflow and prune tooling; document the independent-fork policy. Co-Authored-By: Codex <noreply@openai.com> Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016FAtbHHLQSiJiYcw2vnKiq
Code Quality: Detach from upstream Files (stage 1: remove Windows projects, CI, sync)
Mechanical: keep the non-Windows branch of every #if WINDOWS / #if !WINDOWS, delete 70 *.Windows.cs partials. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016FAtbHHLQSiJiYcw2vnKiq
Co-Authored-By: Codex <noreply@openai.com> Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016FAtbHHLQSiJiYcw2vnKiq
Release 0.1.0-alpha9
Co-Authored-By: GPT-6.2-sol (OpenAI Codex) <noreply@openai.com>
Code Quality: Update the Nix flake to 0.1.0-alpha9
Repair restrictive fallback directory and lock modes using verified descriptors. Preserve files that occupy the socket pathname and bound D-Bus name acquisition so a stalled bus cannot hang startup. Co-Authored-By: GPT-6.2-sol (OpenAI Codex) <noreply@openai.com>
A restrictive umask can turn the intended public directory into a private directory. Apply the mode explicitly so the test exercises the refusal on every launch. Co-Authored-By: GPT-6.2-sol (OpenAI Codex) <noreply@openai.com>
…ning Fix: Recover private Linux single-instance endpoints
Check the descriptor-relative socket address while preserving endpoint names. Distinguish invalid directory components in diagnostics and retry interrupted directory calls. Cover long runtime directories, alias resolution and unavailable procfs. Co-Authored-By: GPT-6.2-sol (OpenAI Codex) <noreply@openai.com>
Return the final errno after four interrupted attempts so callers can take their existing error paths. Verify that missing procfs skips fallback directory creation. Verified 46 single-instance and D-Bus tests under umask 077. Co-Authored-By: GPT-6.2-sol (OpenAI Codex) <noreply@openai.com>
The location row template defines two columns but placed the path text in the non-existent column 2. Use column 1. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
ShowProgressRing was a cached flag that was set as a side effect of reading HasAnyItemInProgress and only refreshed when the flyout opened, so it stayed true after a failed item was dismissed. Compute it from the current state and raise it from NotifyChanges. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Adds Files.Platform.MacOS and the Files.App wiring needed to build and start the Skia desktop app on macOS (AppKit backend). The macOS code lives in new *.MacOS.cs files and the new project; the few shared call sites that were Linux-only are routed through DESKTOP_MACOS branches. Linux code paths are unchanged. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…wups Fix: Refine Linux single-instance socket fallback
Fix: Library properties location list column
Fix: stale progress ring left by the status center
Feature: macOS desktop head that builds and starts
ShowDotFiles defaulted to true, so includeHidden was always true and dot-prefixed items were listed (dimmed) even with "Show hidden files" off. Default it to false so dotfiles are hidden unless the user opts in. Saved values are kept. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The D-Bus connect (up to 3 s) ran before the 5 s election clock started, so worst-case startup could take about 8 s. One stopwatch now starts at the beginning of TryBecomePrimaryAsync and is shared by the connect, the bus election and the socket election. The connect gets min(3 s, time left); if nothing is left, D-Bus is skipped and startup falls back as before. Tests: new SingleInstanceBudgetTests use an injectable bus connector and election budget to show the connect timeout is capped and that a slow connect leaves the election only the remaining time. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Fix: keep the D-Bus connect inside the single-instance budget
Fix: hide dotfiles by default
…community#19210) (cherry picked from commit c844688)
…ing (files-community#19224) (cherry picked from commit 98e3fa2)
…iles-community#19223) (cherry picked from commit b7b827a)
…s tab was closed (files-community#19222) (cherry picked from commit 7f4a9e3)
…iles-community#19205) (cherry picked from commit 93b8e45)
…oving (files-community#19206) (cherry picked from commit 0716e96)
… loading (files-community#19211) (cherry picked from commit 4af9a43)
…iles-community#19212) (cherry picked from commit d615029)
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resolved / Related Issues
Implements the LinuxFiles backlog item "Cherry-pick useful upstream Files changes selectively" (see docs/linux-port/upstream-policy.md). This PR selectively brings over 8 upstream bug fixes that apply to cross-platform code this fork still has.
Cherry-picked commits (
cherry-pick -x, attribution preserved)c8446888d(#19210)ContentPage!null-forgiving deref inModernShellPage— closing a tab mid-navigation crashes; same code lives in this fork98e3fa2eb(#19224)SingleOrDefault(x => x!.IsCurrentInstance)inColumnsLayoutPage— same race exists in the forkb7b827a55(#19223)ActivePaneOrColumn!deref inMainPage.UpdateNavToolbarProperties— pane-less states occur on Linux too (e.g. during sidebar collapse)7f4a9e3c4(#19222)InstanceViewModelmay be null after tab close; fork'sNavigationToolbarhas the identical code93b8e45b9(#19205)DispatcherQueue.TryEnqueue. Identical handler in the fork'sMainPage0716e96e6(#19206)FilesystemHelpersiterated a lazyZipsequence while the conflict resolution mutated it;.ToList()snapshots it. Core cross-platform file-ops path4af9a43b7(#19211)GetRequiredPaneHolder()throws when no shell page exists yet during window activation; replaced with the same null-safe chainMainPagealready usesd61502929(#19212)Dispose()disposedfilterDebounceCS/addFilesCTSthat fire-and-forget work still reads (the fork's ownwatcherCTScomment describes this exact bug class)All 8 are in shared view-model / view / helper code (no Windows-only APIs touched); each applied cleanly with no conflicts.
Considered and skipped
b9c3eb71a(Fix: Fixed an issue where a folder left while loading stayed open and its changes appeared in the next folder #19230, folder left while loading stayed open) — already fixed here; the fork independently ported the same guard ("Abandoned requests must not register watchers…") inRapidAddItemsToCollectionAsyncd0457121a(Fix: Use credentials from FTP URIs #19023, FTP credentials from URI) — already handled; the fork's rewrittenFtpUrl/FtpClientFactorystack parses URI credentialsef552e75c(Fix: Fixed an issue where the info pane couldn't play media after the file was renamed #19218) andc06f37bb3(Fix: Fixed an issue where a renamed file kept its old type and size when the extension changed #19181, rename fixes inShellViewModel) — target the upstream watcher/operation-queue rename handler this fork removed/restructured in the Linux port; not portable without re-implementing the handler31879982c+a1d6218f3(Fix: Fixed an issue where arrow keys continued from the previous folder's position in the Details layout #19229/Fix: Fixed an issue where arrow keys continued from the previous folder's position in the Grid, List and Cards layouts #19233, arrow keys starting from the previous folder's position) — valid UX fix but adds new focus-manipulation code against WinUI selectors; riskier on Uno, kept out of this stability-focused batch (good candidate for a follow-up)464e851eb(Fix: Fixed an issue where activating the app with an invalid URI caused a crash #19175, crash on invalid URI activation) — dev-protocol activation edge case; the fork's Linux activation path differs from upstream'sefa5e4520,d06004dac,41c581ed5,23a7757f1,5a935a4de,df4c87994,76a59d0de,6de684774,4ef48ae7d,51bbf4e15,6b5fc1494— files/projects they touch no longer exist in this fork (FileOperationsHelpers,ShellFilesystemOperations,DetailsLayoutRowPanel, Security pages,Program.cs,Files.App.Server) or are Windows-only features (lock screen,.lnk, NTFS ADS)Steps used to test these changes
git diff --checkcleanShellPage?.PaneHolder?.FocusActivePane()inMainPage)Remaining limitations
🤖 Generated with GLM via pi