GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - shiva9ro/Files-shiva9ro: Files (shiva9ro): Unofficial Files v4.3 fork with native OLE drag-and-drop support for UAC-disabled environments.

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

7,212 Commits
7,212 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
src
src
 
 
tests
tests
 
 
.editorconfig
.editorconfig
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
AGENTS.md
AGENTS.md
 
 
CLAUDE.md
CLAUDE.md
 
 
Directory.Build.props
Directory.Build.props
 
 
Directory.Packages.props
Directory.Packages.props
 
 
Files.slnx
Files.slnx
 
 
LICENSE-MIT
LICENSE-MIT
 
 
LICENSE-MPL
LICENSE-MPL
 
 
Settings.XamlStyler
Settings.XamlStyler
 
 
crowdin.yml
crowdin.yml
 
 
global.json
global.json
 
 
nuget.config
nuget.config
 
 

Repository files navigation

UAC無効環境でのドラッグ&ドロップ修正

このリポジトリは Files v4.3 の非公式forkです。UAC(ユーザーアカウント制御)が 無効なWindowsで管理者として動く場合など、Filesが昇格しているときのファイル・ フォルダーのドラッグ&ドロップを修正しています。

昇格時のドロップ受信には、WinUIのドロップ処理に代わってWindows OLEの IDropTarget を使います。受信した CF_HDROP データからファイルやフォルダーの パスを取得し、ドロップ先を判定して、Filesの既存のコピー・移動処理に渡します。 Filesのウィンドウ外へドラッグしたときは、OLEのドラッグ処理に引き継ぎます。

  • MainWindow.NativeDrop.cs — ドロップの受信を有効にし、ドロップ先を判定します。
  • OleFileReceiver.cs — IDropTarget を実装し、受信データからパスを取り出します。
  • BaseLayoutPage.NativeDrop.cs — 取得したパスを既存のコピー・移動処理に渡します。
  • MainWindow.LocalDrag.cs と OleFileSender.cs — ウィンドウ内のドラッグと、外へ出たときのOLEへの引き継ぎを扱います。

上流 v4.3 とD&D修正版のソース差分を見る

Drag-and-drop fix for UAC-disabled Windows

This unofficial fork of Files v4.3 fixes file drag-and-drop for elevated Files sessions, including administrator sessions on Windows with User Account Control (UAC) disabled.

For elevated sessions, Files registers a native Windows OLE IDropTarget in place of its WinUI drop handlers. The target reads file and folder paths from the incoming OLE CF_HDROP data. Files resolves the drop destination and hands the paths to its existing copy or move operations. When a drag leaves the Files window, Files starts an outbound OLE drag.

  • MainWindow.NativeDrop.cs — enables native drop handling and resolves the destination.
  • OleFileReceiver.cs — implements IDropTarget and extracts file paths.
  • BaseLayoutPage.NativeDrop.cs — connects the drop to Files' existing copy and move operations.
  • MainWindow.LocalDrag.cs and OleFileSender.cs — handle drags within the window and the handoff to outbound OLE.

Compare upstream v4.3 with the tagged drag-and-drop fix


Original Files project

The following content is retained from the upstream Files repository. Download links and contribution instructions below refer to the official Files project, not this modified fork.

Files hero image

Files Website Files CI Status Files Localization Status Files Discord

Files is a modern file manager that helps users organize their files and folders. Our mission with Files is to build the best file manager for Windows, and we’re proud to be building it out in the open so everyone can participate. User feedback helps shape the features we work on, & the bug reports on GitHub help to make Files more reliable. Built and maintained by the open-source community, Files features robust multitasking experiences, file tags, deep integrations, and an intuitive design.

Installing and running Files

Files is a community-driven project that depends on your support to grow and improve. Please consider purchasing Files through the Microsoft Store or supporting us on GitHub if you use the classic installer.

You can also use the preview version alongside the stable release to get early access to new features and improvements.

 

Building from source

Instructions for building the source code can be found on our documentation site.

Contributing to Files

Want to contribute to this project? Let us know with an issue that communicates your intent to create a pull request. Also, view our contributing guidelines to make sure you're up to date on the coding conventions.

Looking for a place to start? Check out the task board, where you can sort tasks by size and priority.

Screenshots

Files

About

Files (shiva9ro): Unofficial Files v4.3 fork with native OLE drag-and-drop support for UAC-disabled environments.

files.community

Resources

Readme

Code of conduct

Code of conduct

Contributing

Contributing
Activity

Stars

1 star

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.