Skip to content

Keep the donut on top after other apps reorder the windows - #26

Merged
KnifeLemon merged 1 commit into
mainfrom
fix/photos-drag
Oct 2, 2026
Merged

KnifeLemon merged 1 commit into
mainfrom
fix/photos-drag

Conversation

@KnifeLemon

Copy link
Copy Markdown
Owner

What

After the Photos app had been opened, Ctrl+drag stopped working until Filee was restarted. The donut window still had its topmost flag, but Windows had moved it below normal windows, so Explorer stayed on top and the dragged files never reached the donut (Explorer just copied them).

Showing a window that is already topmost doesn't move it in the z-order, so the donut is now put back on top (without activating it) every time it opens: IPlatformServices.RaiseTopmost, SetWindowPos(HWND_TOPMOST, SWP_NOACTIVATE | …) on Windows.

Reported on Reddit; reproduced and confirmed with a diagnostic build.

🤖 Generated with Claude Code

After the Photos app had been opened, Ctrl+drag stopped working until Filee was restarted: the donut window
still had its topmost flag, but Windows had moved it below normal windows, so Explorer stayed on top and the
dragged files never reached the donut (Explorer simply copied them). Showing a window that is already
topmost does not move it in the z-order, so the donut is now put back on top every time it opens.

Reported on Reddit; reproduced and confirmed with a diagnostic build.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@KnifeLemon KnifeLemon added the bug Something isn't working label Oct 2, 2026
@KnifeLemon
KnifeLemon merged commit a4a3554 into main Oct 2, 2026
1 check passed
@KnifeLemon
KnifeLemon deleted the fix/photos-drag branch October 2, 2026 21:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant