Read selection from the active Explorer tab and use email feedback

This commit is contained in:
nordik committed 2026-10-27 02:34:17 +01:00
1 parent 3f9541c1b9
commit 0e84a1c452
15 files changed
+185 -53

No files matched your search

+2 -2
View File
@@ -39,7 +39,7 @@ Closing the window keeps FileBow in the system tray by default, so the shortcuts
## Local by default ## Local by default
File processing happens on your PC. FileBow has no account requirement, telemetry or job limit. Settings and optional job history stay in your Windows user profile. Support and issue links open external websites only when selected. File processing happens on your PC. FileBow has no account requirement, telemetry or job limit. Settings and optional job history stay in your Windows user profile. Support and feedback links open your browser or mail app only when selected.
## Availability ## Availability
@@ -63,7 +63,7 @@ See [copyright and scope](COPYRIGHT.md). Bundled third-party components retain t
## Feedback ## Feedback
Missing a feature or found a bug? [Open an issue](https://git.nordik.dev/nordik/FileBow/issues). Missing a feature or found a bug? [Email filebow@nordik.dev](mailto:filebow@nordik.dev).
## Support development ## Support development
+9 -1
View File
@@ -35,6 +35,8 @@ pnpm build:store
- `out/msix/FileBow_1.0.0.0_x64_Development.msix`: signed with a local development certificate. - `out/msix/FileBow_1.0.0.0_x64_Development.msix`: signed with a local development certificate.
- `out/msix/FileBow_1.0.0.0_x64_Store.msix`: unsigned Store submission package using `store/identity.store.json`. - `out/msix/FileBow_1.0.0.0_x64_Store.msix`: unsigned Store submission package using `store/identity.store.json`.
For a separate portable test build while the normal build is running, set `FILEBOW_BUILD_OUT=out/tab-fix` before `pnpm build`. MSIX packaging uses the default `out/FileBow-win32-x64` build.
To install the development package in a Windows test environment, run `scripts/install-development.ps1` from an elevated PowerShell. It verifies the recorded package hash, trusts the supplied development certificate and installs the package. It is not a Store installation script. Building a package does not install it or trust its certificate system-wide. To install the development package in a Windows test environment, run `scripts/install-development.ps1` from an elevated PowerShell. It verifies the recorded package hash, trusts the supplied development certificate and installs the package. It is not a Store installation script. Building a package does not install it or trust its certificate system-wide.
## Verify ## Verify
@@ -56,6 +58,12 @@ node scripts/capture-wheel.cjs
The worker tests check real conversions, encryption, image transparency, estimates, filename collisions and unchanged originals. UI checks use an isolated profile with global shortcuts and drag monitoring disabled. Screenshot capture uses sample files only. Local logs are in `test-results`. The worker tests check real conversions, encryption, image transparency, estimates, filename collisions and unchanged originals. UI checks use an isolated profile with global shortcuts and drag monitoring disabled. Screenshot capture uses sample files only. Local logs are in `test-results`.
### Explorer tab selection
Build the Windows helper, then open two Explorer tabs containing different test files. Select a file in each tab and keep the second tab in the foreground. Run `node tests/explorer-selection.cjs --expect C:/path/to/second-file.txt` from an external test runner that does not take focus. Use repeated `--expect` arguments for multiple files or `--empty` after clearing the active tab's selection. Test switching back to the first tab while another Explorer window is open. `--log test-results/selection.json` records the result; `--helper path/to/FileBow.Windows.exe` checks a specific build.
The helper matches the active tab's shell-browser window handle, since tabs share the top-level Explorer window handle. If the foreground window or tab changes during the read, it returns an empty selection.
## Structure ## Structure
| Path | Purpose | | Path | Purpose |
@@ -64,7 +72,7 @@ The worker tests check real conversions, encryption, image transparency, estimat
| `src/renderer` | Main interface, editors and radial menu | | `src/renderer` | Main interface, editors and radial menu |
| `src/preload` | Narrow IPC bridges for isolated renderers | | `src/preload` | Narrow IPC bridges for isolated renderers |
| `engine/filebow_engine.py` | Local conversion worker and JSON-lines protocol | | `engine/filebow_engine.py` | Local conversion worker and JSON-lines protocol |
| `native/Program.cs` | Explorer selection, drag detection and Windows startup integration | | `native/Program.cs`, `native/ExplorerSelection.cs` | Explorer selection, drag detection and Windows startup integration |
| `scripts` | Runtime, application, package and screenshot builds | | `scripts` | Runtime, application, package and screenshot builds |
| `store` | Store identity, listing drafts, assets and submission checklist | | `store` | Store identity, listing drafts, assets and submission checklist |
+1 -1
View File
@@ -38,4 +38,4 @@ Download `SHA256SUMS.txt` and compare its ZIP checksum with:
Get-FileHash .\FileBow-1.0.0-rc.1-win-x64.zip -Algorithm SHA256 Get-FileHash .\FileBow-1.0.0-rc.1-win-x64.zip -Algorithm SHA256
``` ```
Missing a feature or found a bug? [Open an issue](https://git.nordik.dev/nordik/FileBow/issues). Missing a feature or found a bug? [Email filebow@nordik.dev](mailto:filebow@nordik.dev).
+114
View File
@@ -0,0 +1,114 @@
using System.Runtime.InteropServices;
internal static class ExplorerSelection
{
[DllImport("user32.dll")] static extern IntPtr GetForegroundWindow();
[DllImport("user32.dll", CharSet = CharSet.Unicode)]
static extern IntPtr FindWindowEx(IntPtr parent, IntPtr after, string className, string? title);
[DllImport("user32.dll")] [return: MarshalAs(UnmanagedType.Bool)]
static extern bool IsWindowVisible(IntPtr window);
static readonly Guid TopLevelBrowser = new("4C96BE40-915C-11CF-99D3-00AA004AE837");
static readonly Guid ShellBrowser = new("000214E2-0000-0000-C000-000000000046");
[ComImport, Guid("6D5140C1-7436-11CE-8034-00AA006009FA")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
interface IServiceProvider
{
[PreserveSig]
int QueryService(in Guid service, in Guid iid, [MarshalAs(UnmanagedType.Interface)] out object? result);
}
// IShellBrowser inherits IOleWindow. Only its first vtable method is needed.
[ComImport, Guid("000214E2-0000-0000-C000-000000000046")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
interface IShellBrowser
{
[PreserveSig] int GetWindow(out IntPtr window);
}
static IntPtr ActiveTab(IntPtr frame)
{
// Explorer places the active ShellTabWindowClass first in child z-order.
// Skip hidden children during a tab switch; do not use the tab caption or path.
IntPtr tab = IntPtr.Zero;
while ((tab = FindWindowEx(frame, tab, "ShellTabWindowClass", null)) != IntPtr.Zero)
if (IsWindowVisible(tab)) return tab;
return IntPtr.Zero;
}
static IntPtr TabOf(object window)
{
object? browser = null;
try {
if (window is not IServiceProvider provider) return IntPtr.Zero;
if (provider.QueryService(TopLevelBrowser, ShellBrowser, out browser) < 0 || browser is not IShellBrowser shellBrowser)
return IntPtr.Zero;
return shellBrowser.GetWindow(out var tab) >= 0 ? tab : IntPtr.Zero;
} finally { Release(browser); }
}
static void Release(object? value)
{
if (value != null && Marshal.IsComObject(value)) Marshal.ReleaseComObject(value);
}
internal static string[] Read()
{
IntPtr frame = GetForegroundWindow();
if (frame == IntPtr.Zero) return [];
IntPtr activeTab = ActiveTab(frame);
object? shell = null, windows = null, selectedWindow = null;
try {
shell = Activator.CreateInstance(Type.GetTypeFromProgID("Shell.Application")!);
windows = ((dynamic)shell!).Windows();
int count = ((dynamic)windows).Count;
for (int index = 0; index < count; index++) {
object? candidate = ((dynamic)windows).Item(index);
try {
if (candidate == null || new IntPtr((long)((dynamic)candidate).HWND) != frame) continue;
// All tabs share IWebBrowser2.HWND. Match the tab's own shell
// browser HWND before reading its selection, including empty selections.
if (activeTab != IntPtr.Zero && TabOf(candidate) != activeTab) continue;
// On systems without tab windows, only accept an unambiguous frame.
if (selectedWindow != null) return [];
selectedWindow = candidate;
candidate = null;
} catch (COMException) { }
finally { Release(candidate); }
}
if (selectedWindow == null) return [];
var files = ReadItems(selectedWindow);
// A switch or close during COM calls must never use a stale tab's files.
if (GetForegroundWindow() != frame || ActiveTab(frame) != activeTab) return [];
return files;
} catch { return []; }
finally {
Release(selectedWindow);
Release(windows);
Release(shell);
}
}
static string[] ReadItems(object window)
{
var files = new List<string>();
object? document = null, items = null;
try {
document = ((dynamic)window).Document;
items = ((dynamic)document).SelectedItems();
int count = ((dynamic)items).Count;
for (int index = 0; index < count; index++) {
object? item = ((dynamic)items).Item(index);
try {
string file = ((dynamic)item!).Path;
if (File.Exists(file)) files.Add(file);
} finally { Release(item); }
}
return files.Distinct(StringComparer.OrdinalIgnoreCase).ToArray();
} finally {
Release(items);
Release(document);
}
}
}
+1 -36
View File
@@ -5,7 +5,6 @@ using Windows.ApplicationModel;
internal static class Program internal static class Program
{ {
[DllImport("user32.dll")] static extern IntPtr GetForegroundWindow();
[DllImport("user32.dll")] static extern short GetAsyncKeyState(int key); [DllImport("user32.dll")] static extern short GetAsyncKeyState(int key);
[DllImport("user32.dll")] static extern bool GetCursorPos(out Point point); [DllImport("user32.dll")] static extern bool GetCursorPos(out Point point);
[DllImport("user32.dll")] static extern bool SetProcessDpiAwarenessContext(IntPtr context); [DllImport("user32.dll")] static extern bool SetProcessDpiAwarenessContext(IntPtr context);
@@ -80,39 +79,5 @@ internal static class Program
Application.Run(); Application.Run();
} }
static string[] Selection() static string[] Selection() => ExplorerSelection.Read();
{
var files = new List<string>();
object? shell = null, windows = null;
try {
shell = Activator.CreateInstance(Type.GetTypeFromProgID("Shell.Application")!);
windows = ((dynamic)shell!).Windows();
IntPtr foreground = GetForegroundWindow();
foreach (object window in (dynamic)windows) {
object? document = null, items = null;
try {
if (new IntPtr((long)((dynamic)window).HWND) != foreground) continue;
document = ((dynamic)window).Document;
items = ((dynamic)document).SelectedItems();
foreach (object item in (dynamic)items) {
try {
string file = ((dynamic)item).Path;
if (File.Exists(file)) files.Add(file);
} finally { Marshal.ReleaseComObject(item); }
}
break;
} catch (COMException) { }
finally {
if (items != null) Marshal.ReleaseComObject(items);
if (document != null) Marshal.ReleaseComObject(document);
Marshal.ReleaseComObject(window);
}
}
} catch { }
finally {
if (windows != null) Marshal.ReleaseComObject(windows);
if (shell != null) Marshal.ReleaseComObject(shell);
}
return files.Distinct(StringComparer.OrdinalIgnoreCase).ToArray();
}
} }
+2 -1
View File
@@ -1,9 +1,10 @@
const fs=require('node:fs'),path=require('node:path'); const fs=require('node:fs'),path=require('node:path');
const root=path.resolve(__dirname,'..'); const root=path.resolve(__dirname,'..');
const buildOutput=path.resolve(root,process.env.FILEBOW_BUILD_OUT||'out');
(async()=>{ (async()=>{
const {packager}=await import('@electron/packager'); const {packager}=await import('@electron/packager');
for(const file of ['vendor/engine/FileBowEngine.exe','vendor/windows/FileBow.Windows.exe','vendor/ffmpeg/ffmpeg.exe','LICENSE','COPYRIGHT.md','licenses/FileBow-LICENSE.txt','licenses/THIRD_PARTY.html'])if(!fs.existsSync(path.join(root,file)))throw new Error(`Build prerequisite missing: ${file}`); for(const file of ['vendor/engine/FileBowEngine.exe','vendor/windows/FileBow.Windows.exe','vendor/ffmpeg/ffmpeg.exe','LICENSE','COPYRIGHT.md','licenses/FileBow-LICENSE.txt','licenses/THIRD_PARTY.html'])if(!fs.existsSync(path.join(root,file)))throw new Error(`Build prerequisite missing: ${file}`);
const output=await packager({dir:root,name:'FileBow',executableName:'FileBow',platform:'win32',arch:'x64',electronVersion:'43.7.0',out:path.join(root,'out'),overwrite:true,asar:false, const output=await packager({dir:root,name:'FileBow',executableName:'FileBow',platform:'win32',arch:'x64',electronVersion:'43.7.0',out:buildOutput,overwrite:true,asar:false,
icon:path.join(root,'assets/icon.ico'),appVersion:require('../package.json').version, icon:path.join(root,'assets/icon.ico'),appVersion:require('../package.json').version,
win32metadata:{ProductName:'FileBow',FileDescription:'FileBow – File tools',InternalName:'FileBow',OriginalFilename:'FileBow.exe'}, win32metadata:{ProductName:'FileBow',FileDescription:'FileBow – File tools',InternalName:'FileBow',OriginalFilename:'FileBow.exe'},
ignore:[/^\/(?:\.venv|\.git|build|out|test-results|tests|scripts|native|store|engine|node_modules)(?:\/|$)/,/^\/(?:FEATURE_PARITY|VALIDATION)\.md$/i,/\/\.gitignore$/,/default-docx-template(?:\/|$)/,/\.pyc$/,/\.pdb$/,/requirements\./,/pnpm/,/^\/vendor\/native(?:\/|$)/], ignore:[/^\/(?:\.venv|\.git|build|out|test-results|tests|scripts|native|store|engine|node_modules)(?:\/|$)/,/^\/(?:FEATURE_PARITY|VALIDATION)\.md$/i,/\/\.gitignore$/,/default-docx-template(?:\/|$)/,/\.pyc$/,/\.pdb$/,/requirements\./,/pnpm/,/^\/vendor\/native(?:\/|$)/],
+1 -1
View File
@@ -178,7 +178,7 @@ function registerIpc() {
handle('state', publicState); handle('state', publicState);
handle('licenses', () => shell.openPath(path.join(app.getAppPath(), 'licenses/THIRD_PARTY.html'))); handle('licenses', () => shell.openPath(path.join(app.getAppPath(), 'licenses/THIRD_PARTY.html')));
handle('support', () => shell.openExternal('https://ko-fi.com/E0Z827VO8I')); handle('support', () => shell.openExternal('https://ko-fi.com/E0Z827VO8I'));
handle('issues', () => shell.openExternal('https://git.nordik.dev/nordik/FileBow/issues')); handle('contact', () => shell.openExternal('mailto:filebow@nordik.dev'));
handle('pick', async () => { handle('pick', async () => {
const result = await dialog.showOpenDialog(mainWindow, { title: 'Choose files', properties: ['openFile', 'multiSelections'] }); const result = await dialog.showOpenDialog(mainWindow, { title: 'Choose files', properties: ['openFile', 'multiSelections'] });
if (!result.canceled) { selected = validFiles(result.filePaths); publish(); } if (!result.canceled) { selected = validFiles(result.filePaths); publish(); }
+1 -1
View File
@@ -1,7 +1,7 @@
const { contextBridge, ipcRenderer, webUtils } = require('electron'); const { contextBridge, ipcRenderer, webUtils } = require('electron');
contextBridge.exposeInMainWorld('orbit', { contextBridge.exposeInMainWorld('orbit', {
support: () => ipcRenderer.invoke('orbit:support'), support: () => ipcRenderer.invoke('orbit:support'),
issues: () => ipcRenderer.invoke('orbit:issues'), contact: () => ipcRenderer.invoke('orbit:contact'),
licenses: () => ipcRenderer.invoke('orbit:licenses'), licenses: () => ipcRenderer.invoke('orbit:licenses'),
state: () => ipcRenderer.invoke('orbit:state'), state: () => ipcRenderer.invoke('orbit:state'),
pickFiles: () => ipcRenderer.invoke('orbit:pick'), pickFiles: () => ipcRenderer.invoke('orbit:pick'),
+1 -1
View File
@@ -21,5 +21,5 @@
<label class="setting"><span><strong>Save history</strong><small>Save filenames and output paths locally</small></span><input type="checkbox" data-setting="rememberHistory"></label> <label class="setting"><span><strong>Save history</strong><small>Save filenames and output paths locally</small></span><input type="checkbox" data-setting="rememberHistory"></label>
<label class="setting"><span><strong>Hardware acceleration</strong><small>Applies to the interface; takes effect after restarting</small></span><input type="checkbox" data-setting="hardwareAcceleration"></label> <label class="setting"><span><strong>Hardware acceleration</strong><small>Applies to the interface; takes effect after restarting</small></span><input type="checkbox" data-setting="hardwareAcceleration"></label>
</div><p id="integration-status" class="muted"></p></section> </div><p id="integration-status" class="muted"></p></section>
<section id="page-about" hidden><header><div><div class="eyebrow">FILE TOOLS FOR WINDOWS</div><h1>FileBow</h1></div><img class="about-icon" src="../../../assets/icon.png" alt="FileBow"></header><p>Convert, compress and edit files from the radial menu or the app window.</p><div class="about-block"><h2>Privacy</h2><p>FileBow processes files on this device. No account is required, and no files or usage data are uploaded. You can turn off history in Settings.</p></div><div class="about-block"><h2>Supported formats</h2><p>Images: JPEG, PNG, WebP, AVIF, TIFF, BMP, GIF, HEIC/HEIF and ICO.<br>Video: MP4, MOV, MKV, AVI, WebM and other FFmpeg formats.<br>Audio: MP3, WAV, FLAC, AAC/M4A, OGG and Opus.<br>Documents: PDF, TXT, Markdown, DOCX, XLS/XLSX, PPTX, RTF and EPUB.</p><p class="muted">Document conversions extract text without preserving the original layout. Scanned PDFs need an existing text layer. Save legacy DOC and PPT files as DOCX or PPTX first.</p></div><div class="about-block"><h2>License</h2><p>Copyright © 2026 Nordik.dev. FileBow is free software under GPL-3.0-or-later. You may redistribute and modify it under the GNU GPL. There is no warranty.</p><p>FileBow uses Electron, .NET, Python, FFmpeg (LGPL), and the HEIF codec x265 (GPL), among other libraries. Third-party components retain their own licenses.</p><button id="licenses">View licenses</button></div><p class="muted">Missing a feature or found a bug? <button id="issues" class="text-button">Report an issue ↗</button></p></section> <section id="page-about" hidden><header><div><div class="eyebrow">FILE TOOLS FOR WINDOWS</div><h1>FileBow</h1></div><img class="about-icon" src="../../../assets/icon.png" alt="FileBow"></header><p>Convert, compress and edit files from the radial menu or the app window.</p><div class="about-block"><h2>Privacy</h2><p>FileBow processes files on this device. No account is required, and no files or usage data are uploaded. You can turn off history in Settings.</p></div><div class="about-block"><h2>Supported formats</h2><p>Images: JPEG, PNG, WebP, AVIF, TIFF, BMP, GIF, HEIC/HEIF and ICO.<br>Video: MP4, MOV, MKV, AVI, WebM and other FFmpeg formats.<br>Audio: MP3, WAV, FLAC, AAC/M4A, OGG and Opus.<br>Documents: PDF, TXT, Markdown, DOCX, XLS/XLSX, PPTX, RTF and EPUB.</p><p class="muted">Document conversions extract text without preserving the original layout. Scanned PDFs need an existing text layer. Save legacy DOC and PPT files as DOCX or PPTX first.</p></div><div class="about-block"><h2>License</h2><p>Copyright © 2026 Nordik.dev. FileBow is free software under GPL-3.0-or-later. You may redistribute and modify it under the GNU GPL. There is no warranty.</p><p>FileBow uses Electron, .NET, Python, FFmpeg (LGPL), and the HEIF codec x265 (GPL), among other libraries. Third-party components retain their own licenses.</p><button id="licenses">View licenses</button></div><p class="muted">Missing a feature or found a bug? <button id="contact" class="text-button">Email filebow@nordik.dev ↗</button></p></section>
</main><div id="job" hidden role="status"><div><strong id="job-label"></strong><p id="job-detail"></p></div><progress id="job-progress" max="100"></progress><button id="cancel-job">Cancel</button></div><div id="toast" role="status" hidden></div><script src="index.js"></script></body></html> </main><div id="job" hidden role="status"><div><strong id="job-label"></strong><p id="job-detail"></p></div><progress id="job-progress" max="100"></progress><button id="cancel-job">Cancel</button></div><div id="toast" role="status" hidden></div><script src="index.js"></script></body></html>
+1 -1
View File
@@ -25,7 +25,7 @@ $('#pick').onclick=$('#drop-pick').onclick=()=>invoke(()=>api.pickFiles());$('#c
$('#tab-quick').onclick=()=>{mode='quick';render(state);};$('#tab-tools').onclick=()=>{mode='tools';render(state);};$('#wheel-open').onclick=()=>invoke(()=>api.wheel(mode));$('#all-history').onclick=()=>navigate('history');$('#clear-history').onclick=()=>invoke(()=>api.clearHistory());$('#cancel-job').onclick=()=>invoke(()=>api.cancel()); $('#tab-quick').onclick=()=>{mode='quick';render(state);};$('#tab-tools').onclick=()=>{mode='tools';render(state);};$('#wheel-open').onclick=()=>invoke(()=>api.wheel(mode));$('#all-history').onclick=()=>navigate('history');$('#clear-history').onclick=()=>invoke(()=>api.clearHistory());$('#cancel-job').onclick=()=>invoke(()=>api.cancel());
$('#theme').onchange=e=>invoke(()=>api.settings({theme:e.target.value}));for(const input of document.querySelectorAll('[data-setting]'))input.onchange=()=>invoke(()=>api.settings({[input.dataset.setting]:input.checked})); $('#theme').onchange=e=>invoke(()=>api.settings({theme:e.target.value}));for(const input of document.querySelectorAll('[data-setting]'))input.onchange=()=>invoke(()=>api.settings({[input.dataset.setting]:input.checked}));
$('#support').onclick=()=>invoke(()=>api.support()); $('#support').onclick=()=>invoke(()=>api.support());
$('#issues').onclick=()=>invoke(()=>api.issues()); $('#contact').onclick=()=>invoke(()=>api.contact());
$('#licenses').onclick=()=>invoke(()=>api.licenses()); $('#licenses').onclick=()=>invoke(()=>api.licenses());
document.addEventListener('dragover',event=>{event.preventDefault();$('#dropzone').classList.add('dragover');});document.addEventListener('dragleave',()=>$('#dropzone').classList.remove('dragover'));document.addEventListener('drop',event=>{event.preventDefault();$('#dropzone').classList.remove('dragover');const paths=api.pathsForFiles(event.dataTransfer.files);if(paths.length){navigate('files');invoke(()=>api.selectFiles(paths));}}); document.addEventListener('dragover',event=>{event.preventDefault();$('#dropzone').classList.add('dragover');});document.addEventListener('dragleave',()=>$('#dropzone').classList.remove('dragover'));document.addEventListener('drop',event=>{event.preventDefault();$('#dropzone').classList.remove('dragover');const paths=api.pathsForFiles(event.dataTransfer.files);if(paths.length){navigate('files');invoke(()=>api.selectFiles(paths));}});
api.onState(render);api.onNotice(({message,error})=>toast(message,error));invoke(async()=>render(await api.state())); api.onState(render);api.onNotice(({message,error})=>toast(message,error));invoke(async()=>render(await api.state()));
+3 -3
View File
@@ -11,7 +11,7 @@ The app and manifest use English (`en-US`). Store copy is in `listing.en-US.json
## Publisher details to complete ## Publisher details to complete
- Publish the privacy notice and add its URL to `listing.en-US.json`. Complete the provider and contact fields in `privacy-policy.en-US.md` first. - Publish the privacy notice and add its URL to `listing.en-US.json`. Complete the provider and contact fields in `privacy-policy.en-US.md` first.
- Confirm the support URL, website and copyright notice. The public issue tracker is configured as the support URL. - Confirm the support email, website and copyright notice. Support email: filebow@nordik.dev.
- Select age rating, category, price, markets and availability in Partner Center. - Select age rating, category, price, markets and availability in Partner Center.
## Build and submit ## Build and submit
@@ -32,7 +32,7 @@ Do not submit `identity.dev.json` or `FileBow-Development.cer`. The private deve
- Install, launch, update and uninstall the MSIX on a clean Windows test installation. Package installation has not yet been validated. - Install, launch, update and uninstall the MSIX on a clean Windows test installation. Package installation has not yet been validated.
- Run Windows App Certification Kit (WACK) on the final package. WACK and Store certification remain outstanding. - Run Windows App Certification Kit (WACK) on the final package. WACK and Store certification remain outstanding.
- Verify MSIX startup after sign-out/sign-in, including disabled-by-user and disabled-by-policy states. The StartupTask integration is implemented, but an installed-package sign-in cycle is not yet confirmed. - Verify MSIX startup after sign-out/sign-in, including disabled-by-user and disabled-by-policy states. The StartupTask integration is implemented, but an installed-package sign-in cycle is not yet confirmed.
- Validate Explorer dragging with a real mouse, multiple tabs, multiple displays and 100/150/200% scaling. Selection and keyboard shortcuts have been checked live; automated dragging did not provide a reliable result. Desktop selection is not implemented. - Validate Explorer dragging with a real mouse, multiple displays and 100/150/200% scaling. Active-tab selection has been checked with two tabs and another Explorer window open, including multiple selected files, no selection and switching back. Keyboard shortcuts have been checked live; automated dragging did not provide a reliable result. Desktop selection is not implemented.
- Complete the corresponding-source review for all bundled native third-party components. FFmpeg source and build-script archives and license notices are included, but complete source coverage of bundled FFmpeg dependencies and native codecs in Python wheels has not been established. Do not describe the existing archives as a complete compliance package. - Complete the corresponding-source review for all bundled native third-party components. FFmpeg source and build-script archives and license notices are included, but complete source coverage of bundled FFmpeg dependencies and native codecs in Python wheels has not been established. Do not describe the existing archives as a complete compliance package.
- FileBow is licensed under GPL-3.0-or-later; see the root LICENSE and COPYRIGHT.md. Complete the dependency source bundle and native notice review described in licenses/README.md, then rebuild the binaries. The existing RC ZIP and MSIX predate these license changes. - FileBow is licensed under GPL-3.0-or-later; see the root LICENSE and COPYRIGHT.md. Complete the dependency source bundle and native notice review described in licenses/README.md, then rebuild the binaries. The existing RC ZIP and MSIX predate these license changes.
- Review the English screenshots and listing text before uploading them. - Review the English screenshots and listing text before uploading them.
@@ -45,7 +45,7 @@ Do not submit `identity.dev.json` or `FileBow-Development.cer`. The private deve
No test account or purchase is required. Select a PNG or JPEG and convert it to another image format. A new output is saved beside the original. Select a text file in File Explorer, press Ctrl + Space and choose PDF. Alt + Space opens tools. Shortcuts and background operation can be disabled in Settings. Choose Quit from the tray menu to exit completely. No test account or purchase is required. Select a PNG or JPEG and convert it to another image format. A new output is saved beside the original. Select a text file in File Explorer, press Ctrl + Space and choose PDF. Alt + Space opens tools. Shortcuts and background operation can be disabled in Settings. Choose Quit from the tray menu to exit completely.
The sidebar includes an optional Ko-fi link; About FileBow links to the public issue tracker. They open fixed HTTPS destinations in the default browser. Ko-fi support does not unlock features or remove limits. FileBow does not process payment details. Declare the third-party payment flow during submission; see [Store policy 10.8](https://learn.microsoft.com/en-us/windows/apps/publish/store-policies#108-financial-transactions). The sidebar includes an optional Ko-fi link; About FileBow opens a new email to filebow@nordik.dev in the default mail app. The Ko-fi link opens its fixed HTTPS address in the default browser. No message is sent automatically. Ko-fi support does not unlock features or remove limits. FileBow does not process payment details. Declare the third-party payment flow during submission; see [Store policy 10.8](https://learn.microsoft.com/en-us/windows/apps/publish/store-policies#108-financial-transactions).
## References ## References
+1 -1
View File
@@ -12,7 +12,7 @@
"Dark, light and system themes" "Dark, light and system themes"
], ],
"keywords": ["file converter", "PDF", "images", "compression", "video", "audio", "radial menu"], "keywords": ["file converter", "PDF", "images", "compression", "video", "audio", "radial menu"],
"supportUrl": "https://git.nordik.dev/nordik/FileBow/issues", "supportEmail": "filebow@nordik.dev",
"privacyPolicyUrl": "", "privacyPolicyUrl": "",
"websiteUrl": "https://git.nordik.dev/nordik/FileBow", "websiteUrl": "https://git.nordik.dev/nordik/FileBow",
"copyright": "" "copyright": ""
+2 -2
View File
@@ -2,7 +2,7 @@
Provider: **[complete before publication]** Provider: **[complete before publication]**
Contact: **[complete before publication]** Contact: [filebow@nordik.dev](mailto:filebow@nordik.dev)
FileBow converts and edits selected files on your device. It does not send file contents, filenames, passwords or usage statistics to the provider. There is no user account, advertising, analytics or tracking service. FileBow converts and edits selected files on your device. It does not send file contents, filenames, passwords or usage statistics to the provider. There is no user account, advertising, analytics or tracking service.
@@ -12,6 +12,6 @@ Processing creates temporary job data and intermediate files. For PDF password o
When Explorer integration and keyboard shortcuts are enabled, FileBow reads the files you select. Optional drag detection observes mouse movement locally to open the radial menu. This data is not logged or uploaded. Both shortcuts and drag detection can be disabled in Settings. When Explorer integration and keyboard shortcuts are enabled, FileBow reads the files you select. Optional drag detection observes mouse movement locally to open the radial menu. This data is not logged or uploaded. Both shortcuts and drag detection can be disabled in Settings.
The optional support link in the sidebar and issue link under About FileBow open Ko-fi or the public issue tracker in your default browser only when clicked. The websites process visits and any information you submit under their own privacy notices. FileBow does not send selected files or job data to these websites and does not process payment details. Information you choose to post in the public issue tracker is public. The optional support link in the sidebar opens Ko-fi in your default browser. Ko-fi processes visits and any information you submit under its own privacy notice. The contact link under About FileBow opens your default mail app with filebow@nordik.dev as the recipient. FileBow does not send a message automatically or attach files, logs or job data. If you send an email, its contents and your email address are used to respond to your request. FileBow does not process payment details.
Microsoft Store and Windows may process their own installation, update and diagnostic data under their respective privacy notices. That processing is outside FileBow. Microsoft Store and Windows may process their own installation, update and diagnostic data under their respective privacy notices. That processing is outside FileBow.
+44
View File
@@ -0,0 +1,44 @@
// Windows integration check. Leave the intended Explorer tab in the foreground.
// node tests/explorer-selection.cjs --expect C:\path\file.txt [--expect ...]
// node tests/explorer-selection.cjs --empty
const {spawn} = require('node:child_process');
const path = require('node:path');
const fs = require('node:fs');
const assert = require('node:assert/strict');
const root = path.resolve(__dirname, '..');
const args = process.argv.slice(2), expected = [];
let helper = path.join(root, 'vendor/windows/FileBow.Windows.exe'), log, empty = false;
for (let i = 0; i < args.length; i++) {
if (args[i] === '--expect' && args[i+1]) expected.push(path.resolve(args[++i]));
else if (args[i] === '--helper' && args[i+1]) helper = path.resolve(args[++i]);
else if (args[i] === '--log' && args[i+1]) log = path.resolve(args[++i]);
else if (args[i] === '--empty') empty = true;
else throw new Error(`Unknown or incomplete argument: ${args[i]}`);
}
assert.ok(empty !== (expected.length > 0), 'Use --expect paths or --empty, exclusively.');
const child = spawn(helper, [], {windowsHide:true, stdio:['pipe','pipe','pipe']});
const timer = setTimeout(() => { child.kill(); throw new Error('Selection check timed out'); }, 15000);
let buffer = '', replied = false;
child.stdout.setEncoding('utf8');
child.stderr.pipe(process.stderr);
child.on('error', error => { clearTimeout(timer); console.error(error); process.exitCode = 1; });
child.stdout.on('data', chunk => {
buffer += chunk;
const lines = buffer.split(/\r?\n/); buffer = lines.pop();
for (const line of lines) {
const message = JSON.parse(line);
if (message.type === 'ready') child.stdin.write(JSON.stringify({id:1,command:'selection'})+'\n');
if (message.id !== 1) continue;
replied = true; clearTimeout(timer); child.stdin.end();
const normalized = values => values.map(value => path.resolve(value).toLowerCase()).sort();
const result = {helper, expected, actual:message.result, error:message.error};
try {
assert.equal(message.error, undefined);
assert.deepEqual(normalized(message.result), normalized(expected));
result.passed = true;
} catch (error) { result.passed = false; console.error(error.message); process.exitCode = 1; }
if (log) { fs.mkdirSync(path.dirname(log), {recursive:true}); fs.writeFileSync(log, JSON.stringify(result,null,2)); }
console.log(JSON.stringify(result));
}
});
child.on('exit', () => { clearTimeout(timer); if (!replied) { console.error('Helper exited without a selection result'); process.exitCode=1; } });
+2 -2
View File
@@ -59,8 +59,8 @@ const root=path.resolve(__dirname,'..'),out=path.join(root,'test-results');
await app.evaluate(({shell})=>{global.__supportUrls=[];shell.openExternal=async url=>{global.__supportUrls.push(url);};}); await app.evaluate(({shell})=>{global.__supportUrls=[];shell.openExternal=async url=>{global.__supportUrls.push(url);};});
assert.equal(await page.locator('aside #support').count(),1); assert.equal(await page.locator('aside #support').count(),1);
await page.locator('aside #support').click(); await page.locator('aside #support').click();
await page.locator('#issues').click(); await page.locator('#contact').click();
assert.deepEqual(await app.evaluate(()=>global.__supportUrls),['https://ko-fi.com/E0Z827VO8I','https://git.nordik.dev/nordik/FileBow/issues']); assert.deepEqual(await app.evaluate(()=>global.__supportUrls),['https://ko-fi.com/E0Z827VO8I','mailto:filebow@nordik.dev']);
await page.screenshot({path:path.join(out,'07-about.png')}); await page.screenshot({path:path.join(out,'07-about.png')});
const hiddenInTray=await app.evaluate(({BrowserWindow})=>{ const hiddenInTray=await app.evaluate(({BrowserWindow})=>{
const main=BrowserWindow.getAllWindows().find(window=>window.getTitle()==='FileBow'); const main=BrowserWindow.getAllWindows().find(window=>window.getTitle()==='FileBow');