Skip to content

armgit / Filee

Public Imported from GitHub
0

Free, open-source file converter. Convert 263 formats offline by drag & drop — images, PDF, Word, Excel, PowerPoint, HWP/HWPX, video, audio, e-books and archives. No upload, no Office needed.

No audit document; issue tests live with their engines

KnifeLemon6a5bd693a2ec
diff --git a/docs/issue-audit-2026-10-20.json b/docs/issue-audit-2026-10-20.json
deleted file mode 100644
index 7ca03492..00000000
--- a/docs/issue-audit-2026-10-20.json
+++ /dev/null
@@ -1,879 +0,0 @@
-{
- "audit_date": "2026-10-20",
- "repository": "https://github.com/KnifeLemon/Filee",
- "scope": "All 71 open issues at the final issue refresh (68 initially, plus #294, #295 and #296 opened during the audit), including available discussions and public samples. This is not a claim that all historical closed issues were reviewed or every open request has been implemented.",
- "issue_snapshot_refreshed_at": "2026-10-20T18:33:51.124836+03:00",
- "status": "audit_complete_with_verified_fixes_and_documented_remaining_work",
- "base_commit": "c63a261",
- "environment": {
- "os": "Windows x64",
- "sdk": ".NET 10 isolated SDK",
- "engines": [
- "rhwp 0.8.7",
- "LibreOffice 26.2.6",
- "7-Zip 26.03",
- "installed FFmpeg",
- "built-in Magick and document readers"
- ]
- },
- "rules": [
- "A successful process exit is insufficient: generated conversion results are opened/decoded or their content inspected.",
- "Existing support is not counted as a new fix.",
- "Native macOS, Linux Wayland, ARM64, Intel GPU and real phone behavior is not claimed from Windows tests.",
- "No issues were automatically closed and no issue comments were posted."
- ],
- "additional_corrections": [
- "Arabic now matches all 794 English keys, including new release slides and the merge chooser; changing language retains the left-to-right layout.",
- "Visual review found missing ellipsis glyphs with an Arabic primary font. A failing regression confirmed it; Latin remains primary for UI symbols and Arabic uses the embedded shaping-capable fallback. The corrected render was inspected.",
- "CLI format-list test no longer assumes optional engines must be missing on Windows. The media progress fixture uses a longer software encode while retaining its original progress-count assertions. The lost-frame test allows actual elapsed animation time while retaining its original highlight threshold."
- ],
- "validation": [
- {
- "project": "Filee.Core.Tests",
- "trx": "artifacts/issue-audit/test-results/core-final-wbpz/3D_DESKTOP-OKH12RP_2026-10-20_18_36_53.trx",
- "total": 436,
- "passed": 434,
- "failed": 0,
- "skipped": 2,
- "failures": []
- },
- {
- "project": "Filee.Cli.Tests",
- "trx": "artifacts/issue-audit/test-results/cli-final/3D_DESKTOP-OKH12RP_2026-10-20_18_30_57.trx",
- "total": 28,
- "passed": 27,
- "failed": 0,
- "skipped": 1,
- "failures": []
- },
- {
- "project": "Filee.App.Tests",
- "trx": "artifacts/issue-audit/test-results/app-final/3D_DESKTOP-OKH12RP_2026-10-20_18_29_52.trx",
- "total": 603,
- "passed": 600,
- "failed": 0,
- "skipped": 3,
- "failures": []
- },
- {
- "project": "Filee.Platform.Tests",
- "trx": "artifacts/issue-audit/test-results/final/3D_DESKTOP-OKH12RP_2026-10-20_18_20_27.trx",
- "total": 51,
- "passed": 48,
- "failed": 0,
- "skipped": 3,
- "failures": []
- },
- {
- "project": "Filee.Engines.Tests",
- "trx": "artifacts/issue-audit/test-results/final/3D_DESKTOP-OKH12RP_2026-10-20_18_20_32[1].trx",
- "total": 1444,
- "passed": 1429,
- "failed": 2,
- "skipped": 13,
- "failures": [
- {
- "test": "Filee.Engines.Tests.MarkdownTests.LibreOffice_warm_up_prepares_every_profile_once",
- "message": "System.TimeoutException : soffice.exe did not finish within 180 s."
- },
- {
- "test": "Filee.Engines.Tests.ComplexScriptTests.A_gujarati_document_goes_to_libreoffice_or_is_refused_with_the_reason",
- "message": "Assert.Equal() Failure: Values differ\r\nExpected: Done\r\nActual: Failed"
- }
- ]
- },
- {
- "project": "Filee.Engines.Tests",
- "trx": "artifacts/issue-audit/test-results/native-recheck-final/3D_DESKTOP-OKH12RP_2026-10-20_18_32_19.trx",
- "total": 15,
- "passed": 15,
- "failed": 0,
- "skipped": 0,
- "failures": []
- },
- {
- "project": "Filee.Engines.Tests",
- "trx": "artifacts/issue-audit/test-results/archive-and-real-conversions-final/3D_DESKTOP-OKH12RP_2026-10-20_18_35_38.trx",
- "total": 72,
- "passed": 72,
- "failed": 0,
- "skipped": 0,
- "failures": []
- }
- ],
- "validation_limitations": [
- "The full engine run had two LibreOffice timeouts (warm-up and Gujarati conversion). Both passed in the final focused recheck, along with all 13 then-existing reported-issue conversion cases (15/15). The broad-run failures remain recorded and are not relabeled as a clean full run.",
- "After the final WBPZ addition, archive and reported-issue integration tests passed 72/72, including its two new cases; core tests were run again. The earlier full engine run does not include those two new WBPZ tests.",
- "Skipped checks require unavailable optional engines, a case-sensitive volume, native macOS/Linux, or built Explorer artifacts. Skips are not counted as verification.",
- "WBPZ payload tests use a generated standard ZIP container based on vendor confirmation; the public vendor project sample download returned HTTP 403."
- ],
- "open_pull_request_review": {
- "scope": "Read-only text merge compatibility against c63a261 plus shared UI/localization/migration contracts. Independent PR features were not incorporated or certified by this review.",
- "pulls": [
- {
- "number": 275,
- "head": "5f6786adebe1ad94e0410fed7ea20c4010fcfcd3",
- "mergeClean": false,
- "conflicts": [
- "src/Filee.App/ViewModels/Pages/ThemePageViewModel.cs",
- "src/Filee.App/Views/Pages/ThemePage.axaml",
- "src/Filee.Engines/Media/FfmpegConverter.cs"
- ],
- "baselineConflicts": [
- "src/Filee.Engines/Media/FfmpegConverter.cs"
- ],
- "newEnglishKeysNeedingArabic": [
- "home.open_file",
- "home.open_with",
- "theme.style",
- "theme.style.material_you_hint",
- "theme.style.MaterialYou",
- "theme.style.Soft",
- "theme.style.soft_hint",
- "theme.tonal_palette"
- ],
- "integration_notes": "Keep the visual picker and one opacity control/view-model contract. The FFmpeg conflict already exists against main: preserve main's picture-to-audio exclusion and the PR's independent picture-to-subtitle exclusion. Translate its eight added UI keys into Arabic when integrating."
- },
- {
- "number": 282,
- "head": "3251b3a34d0a49110b99ec52da7280b7efe70ac2",
- "mergeClean": false,
- "conflicts": [
- "src/Filee.App/Services/LocalizationService.cs",
- "src/Filee.App/Services/ThemeService.cs"
- ],
- "baselineConflicts": [],
- "newEnglishKeysNeedingArabic": [
- "installer.done.engines",
- "installer.done.launch",
- "installer.done.text",
- "installer.done.title",
- "installer.done.updated",
- "installer.engines.when",
- "installer.error.copied",
- "installer.error.copy",
- "installer.error.damaged",
- "installer.error.files",
- "installer.error.log",
- "installer.error.nothing_changed",
- "installer.error.rolled_back",
- "installer.error.space",
- "installer.error.title",
- "installer.error.undone",
- "installer.error.unexpected",
- "installer.error.uninstall_title",
- "installer.error.windows",
- "installer.install",
- "installer.language",
- "installer.minimize",
- "installer.options.browse",
- "installer.options.folder",
- "installer.options.hide",
- "installer.options.later",
- "installer.options.space",
- "installer.options.title",
- "installer.options.update_note",
- "installer.progress.install",
- "installer.progress.update",
- "installer.status.closing",
- "installer.status.copying",
- "installer.status.explorer_menu",
- "installer.status.finishing",
- "installer.status.removing",
- "installer.status.removing_old",
- "installer.status.rolling_back",
- "installer.status.verifying",
- "installer.task.cli",
- "installer.task.desktop_icon",
- "installer.task.modern_menu",
- "installer.title",
- "installer.uninstall.button",
- "installer.uninstall.delete_settings",
- "installer.uninstall.done",
- "installer.uninstall.done_title",
- "installer.uninstall.not_installed",
- "installer.uninstall.progress",
- "installer.uninstall.settings_kept",
- "installer.uninstall.settings_where",
- "installer.uninstall.text",
- "installer.uninstall.title",
- "installer.update",
- "installer.warning.explorer_menu",
- "installer.warning.runtime",
- "installer.welcome.fresh",
- "installer.welcome.license",
- "installer.welcome.update"
- ],
- "integration_notes": "Carry Arabic registration into AppLanguages.All and retain Noto Sans first with embedded Arabic fallback so trimming ellipses render. Translate the 59 English keys absent from this branch into Arabic. Native installer/UAC checks remain that PR's own release requirement."
- },
- {
- "number": 283,
- "head": "32f605b55980fcd6f3a84ab66ab4c13359127b33",
- "mergeClean": false,
- "conflicts": [
- "src/Filee.Core/Settings/UserDataStore.cs"
- ],
- "baselineConflicts": [],
- "newEnglishKeysNeedingArabic": [
- "error.live_photo_hdr",
- "error.live_photo_start",
- "notice.live_photo_pair",
- "preset.live_photo_iphone",
- "preset.motion_photo_android",
- "presets.group.live_photo",
- "presets.live_photo",
- "presets.live_photo_cover",
- "presets.live_photo_hint.android",
- "presets.live_photo_hint.apple",
- "presets.live_photo_length",
- "presets.live_photo_quality",
- "presets.live_photo_start",
- "presets.live_photo_video_quality",
- "presets.live_photo.Android",
- "presets.live_photo.Apple",
- "presets.live_photo.None"
- ],
- "integration_notes": "Both patches currently allocate settings schema 31. Renumber the later migration and test sequential upgrades from a store already saved by the earlier patch; simply merging both v31 blocks would skip the later upgrade for those users. Translate 17 new keys into Arabic; retain the real-phone validation requirement."
- },
- {
- "number": 242,
- "head": "8e13dd6e757f170561b593cede9d384832405b6a",
- "mergeClean": false,
- "conflicts": [
- "README.ko.md",
- "README.md",
- "README.zh-CN.md"
- ],
- "baselineConflicts": [
- "README.ko.md",
- "README.md",
- "README.zh-CN.md"
- ],
- "newEnglishKeysNeedingArabic": [],
- "integration_notes": "README conflicts already exist against unchanged main. Preserve Arabic UI availability, new source/archive aliases and merge-order instructions while updating translated READMEs."
- },
- {
- "number": 249,
- "head": "5fd3fff07155e368052b8a84d71bdcb5861ed1aa",
- "mergeClean": true,
- "conflicts": [],
- "baselineConflicts": [],
- "newEnglishKeysNeedingArabic": [],
- "integration_notes": "Clean text merge and no overlapping runtime files; this is not a claim that its automation has been executed on GitHub."
- }
- ],
- "already_merged_upstream": [
- 286,
- 293
- ]
- },
- "summary": {
- "partial_fixed_verified": 3,
- "feature_pending": 11,
- "fixed_verified": 8,
- "not_a_format_conversion": 1,
- "needs_sample": 14,
- "reproduced_partial_upstream": 1,
- "native_reproduction_pending": 5,
- "feature_pending_duplicate": 1,
- "feature_pending_existing_work": 1,
- "external_release_requirement": 5,
- "feature_pending_partial_existing": 5,
- "existing_support": 4,
- "mixed_request_partial_existing": 1,
- "unsupported_protected_format": 2,
- "feature_pending_native": 2,
- "existing_support_native_unverified": 1,
- "sample_verified_existing_support": 1,
- "reporter_confirmed_workaround": 1,
- "needs_sample_known_limitation": 1,
- "feature_pending_existing_pr": 1,
- "existing_attempt_native_unverified": 1,
- "reproduced_upstream": 1
- },
- "fully_fixed_issues": [
- 294,
- 292,
- 284,
- 276,
- 273,
- 268,
- 254,
- 234
- ],
- "partially_addressed_issues": [
- 296,
- 290,
- 238
- ],
- "issues": [
- {
- "number": 296,
- "title": "Merge PDF",
- "url": "https://github.com/KnifeLemon/Filee/issues/296",
- "assessment": "partial_fixed_verified",
- "findings": "The new merge-order chooser covers rearranging three or more input PDF files, verified by inspecting the resulting page sequence. This duplicates the file-order portion of #268. Reordering individual pages within source PDFs is not provided by this chooser.",
- "evidence": "MergeOrderTests real three-PDF confirmation/cancellation test"
- },
- {
- "number": 295,
- "title": "Format request: .sldprt",
- "url": "https://github.com/KnifeLemon/Filee/issues/295",
- "assessment": "feature_pending",
- "findings": "SLDPRT is a SolidWorks part document, while STEP and IGES require B-rep/CAD translators. Current mesh and DWG/DXF converters are not such a reader/writer. No SLDPRT reader, representative file or STEP/IGES writer is available here.",
- "evidence": null
- },
- {
- "number": 294,
- "title": "Format request: .wbpz",
- "url": "https://github.com/KnifeLemon/Filee/issues/294",
- "assessment": "fixed_verified",
- "findings": "Recognize WBPZ as a ZIP container and export it through the archive engine. A generated Workbench-shaped ZIP fixture retains every nested binary/text payload, Unicode name and empty folder byte-for-byte; the source hash is unchanged. Nonarchive data is refused. This is container conversion, not a claim that a synthetic project opens in Workbench. The vendor sample download returned HTTP 403.",
- "evidence": "ReportedIssueTests.Issue294_*; https://innovationspace.ansys.com/forum/forums/topic/ansys-mechanical-archive-vs-project/"
- },
- {
- "number": 292,
- "title": "Format request: .dat",
- "url": "https://github.com/KnifeLemon/Filee/issues/292",
- "assessment": "fixed_verified",
- "findings": "Video CD MPEG .DAT files were not recognized. Added the extension to MPEG video. Real PAL VCD clips convert to MP4 and MKV; FFmpeg fully decodes both audio and video. An unrelated .dat file fails without producing a claimed result.",
- "evidence": "ReportedIssueTests.Issue292_*"
- },
- {
- "number": 290,
- "title": "Format request: .command",
- "url": "https://github.com/KnifeLemon/Filee/issues/290",
- "assessment": "partial_fixed_verified",
- "findings": "COMMAND shell-script source can now be exported as UTF-8 TXT, with exact Unicode content and nonexecution checks. This does not turn a script or the XD Pool application into every requested output format; application-specific output still needs a sample and target.",
- "evidence": "ReportedIssueTests source export and nonexecution cases"
- },
- {
- "number": 289,
- "title": "Format request: .exe",
- "url": "https://github.com/KnifeLemon/Filee/issues/289",
- "assessment": "not_a_format_conversion",
- "findings": "EXE to APK requires porting an application between Windows and Android, including its APIs and architecture. Renaming or repackaging the executable would not make a working Android application.",
- "evidence": null
- },
- {
- "number": 288,
- "title": "Feature Request: Implement OCR engine for text recognition in image-based PDFs",
- "url": "https://github.com/KnifeLemon/Filee/issues/288",
- "assessment": "feature_pending",
- "findings": "Image-only PDFs need a real OCR engine before editable text can be produced. Current readers preserve scans as images and read an existing text layer; this is not OCR. No OCR implementation is included in this patch.",
- "evidence": "PdfReaderTests; docs/ENGINES.md PDF reader limitations"
- },
- {
- "number": 287,
- "title": "Format request: .paint",
- "url": "https://github.com/KnifeLemon/Filee/issues/287",
- "assessment": "needs_sample",
- "findings": "The .paint extension alone does not identify a documented format. Need the creating application, a non-private sample and the intended output.",
- "evidence": null
- },
- {
- "number": 284,
- "title": "Format request: .log",
- "url": "https://github.com/KnifeLemon/Filee/issues/284",
- "assessment": "fixed_verified",
- "findings": "Recognize LOG as plain text and write UTF-8 TXT without stripping markup-like characters. Unicode source and original-file preservation tested through the real conversion queue.",
- "evidence": "ReportedIssueTests.Reported_plain_text_extensions_*"
- },
- {
- "number": 280,
- "title": "中文1.5倍行距小四字体Word转PDF排版问题",
- "url": "https://github.com/KnifeLemon/Filee/issues/280",
- "assessment": "reproduced_partial_upstream",
- "findings": "The attached 12 pt Chinese DOCX produces one page with the current default route. LibreOffice 26.2.6 still produces two pages with expanded spacing. This does not establish WPS-equivalent layout and the LibreOffice mode remains unresolved.",
- "evidence": "Public issue280.docx; rendered current default and LibreOffice PDFs; PyMuPDF page counts and text coordinates"
- },
- {
- "number": 276,
- "title": "Bug Report & UI Enhancement: Theme Settings - Opaque Slider Preview and Text Label",
- "url": "https://github.com/KnifeLemon/Filee/issues/276",
- "assessment": "fixed_verified",
- "findings": "The Theme preview slider had a static value and no label. It now edits persisted donut opacity, changes the preview and displays its percentage and localized label. Real page controls tested at 30% and 100% in light and dark themes; screenshots inspected.",
- "evidence": "ThemeOpacityTests"
- },
- {
- "number": 274,
- "title": "Format request: .skp",
- "url": "https://github.com/KnifeLemon/Filee/issues/274",
- "assessment": "feature_pending",
- "findings": "SKP needs a SketchUp-compatible reader and renderer before PNG output is possible. No working SKP reader is present; adding only the extension would be false support.",
- "evidence": null
- },
- {
- "number": 273,
- "title": "Format request: .py",
- "url": "https://github.com/KnifeLemon/Filee/issues/273",
- "assessment": "fixed_verified",
- "findings": "Recognize Python PY source as plain text and convert to UTF-8 TXT. Source is read as data and never executed; Unicode and markup-like text are preserved.",
- "evidence": "ReportedIssueTests.Reported_plain_text_extensions_*"
- },
- {
- "number": 272,
- "title": "Format request: .pcraft",
- "url": "https://github.com/KnifeLemon/Filee/issues/272",
- "assessment": "needs_sample",
- "findings": "The .pcraft producer and format specification are not identified. Need a sample and the creating application before choosing a decoder.",
- "evidence": null
- },
- {
- "number": 271,
- "title": "Format request: .clip",
- "url": "https://github.com/KnifeLemon/Filee/issues/271",
- "assessment": "feature_pending",
- "findings": "CLIP appears to request Clip Studio Paint documents. Reading layers and rendering a complete document needs an appropriate decoder and representative files; no implementation is claimed.",
- "evidence": null
- },
- {
- "number": 270,
- "title": "Format request: .vectorcraft",
- "url": "https://github.com/KnifeLemon/Filee/issues/270",
- "assessment": "needs_sample",
- "findings": "The .vectorcraft producer and file structure are not identified. Need the actual application and sample.",
- "evidence": null
- },
- {
- "number": 269,
- "title": "Donut toolbar has an opaque rectangular background on Windows 11",
- "url": "https://github.com/KnifeLemon/Filee/issues/269",
- "assessment": "native_reproduction_pending",
- "findings": "Windows/NVIDIA opaque-background report is plausible. RadialWindow already requests transparent composition and a transparent root. No matching GPU/compositor reproduction was established; headless screenshots cannot verify native window transparency.",
- "evidence": "RadialWindow.axaml; RadialWindow.axaml.cs"
- },
- {
- "number": 268,
- "title": "pdf合并顺序的选择",
- "url": "https://github.com/KnifeLemon/Filee/issues/268",
- "assessment": "fixed_verified",
- "findings": "Choosing Merge PDF from the donut with multiple files now opens an order-review window. Mouse buttons and Alt+Up/Down rearrange the selection; confirmation merges that order, and cancellation starts no job. End-to-end tests inspect the actual merged PDF page sequence. Long paths and all nine current languages rendered at minimum width.",
- "evidence": "MergeOrderTests; JobQueueTests.Merge_converts_to_pdf_then_merges_in_order"
- },
- {
- "number": 267,
- "title": "pdf 转excel",
- "url": "https://github.com/KnifeLemon/Filee/issues/267",
- "assessment": "feature_pending_duplicate",
- "findings": "PDF to editable spreadsheet tables is missing. Duplicate feature area of #233; PDF text/table-to-DOCX support is not an XLSX exporter.",
- "evidence": null
- },
- {
- "number": 266,
- "title": "툴바: 고른 도넛에서 쓸 수 있는 프리셋만 보여 주고, 종류별 탭으로 묶기",
- "url": "https://github.com/KnifeLemon/Filee/issues/266",
- "assessment": "feature_pending_existing_work",
- "findings": "Preset-palette filtering by selected donut and grouping by category are valid UI requests. The discussion says another contributor is implementing the accepted approach; no speculative duplicate implementation was added.",
- "evidence": "Issue discussion; ToolbarPageViewModel"
- },
- {
- "number": 265,
- "title": "MacOS flags the downloaded release as malware",
- "url": "https://github.com/KnifeLemon/Filee/issues/265",
- "assessment": "external_release_requirement",
- "findings": "macOS malware/unidentified-developer rejection needs release signing/notarization and validation of the actual downloaded artifact. Those publisher credentials and a Mac are unavailable here.",
- "evidence": null
- },
- {
- "number": 263,
- "title": "Format request: .exe",
- "url": "https://github.com/KnifeLemon/Filee/issues/263",
- "assessment": "needs_sample",
- "findings": "The EXE report does not establish whether the file is an application, self-extracting archive or packaged document. Need an inert sample or file metadata and intended output. No EXE attachment was executed.",
- "evidence": null
- },
- {
- "number": 259,
- "title": "一转多应该新建同名文件夹",
- "url": "https://github.com/KnifeLemon/Filee/issues/259",
- "assessment": "feature_pending_partial_existing",
- "findings": "Output rules already allow a named subfolder, including {name}, and ZIP results. Automatic folder grouping by default for every one-to-many conversion is not implemented or claimed.",
- "evidence": "OutputRule; OutputAllocator; existing output-rule tests"
- },
- {
- "number": 257,
- "title": "适配文件夹压缩成不能的格式",
- "url": "https://github.com/KnifeLemon/Filee/issues/257",
- "assessment": "existing_support",
- "findings": "Folder packing is already implemented by archive-combiner presets, including One ZIP and other supported archive writers. This is not a format alias. Existing tests inspect packed folder contents.",
- "evidence": "ArchiveTests.Zip_all_packs_a_folder_from_the_command_line_with_its_content; ArchiveTests.Combine_into_other_archive_formats"
- },
- {
- "number": 256,
- "title": "Format request: .scad, .exe, .md, .pdf",
- "url": "https://github.com/KnifeLemon/Filee/issues/256",
- "assessment": "mixed_request_partial_existing",
- "findings": "Markdown and PDF routes already exist. SCAD rendering needs OpenSCAD or an equivalent interpreter; EXE needs its actual container identified; RAR writing is not implemented. One compound report cannot be marked fully solved by the existing Markdown route.",
- "evidence": null
- },
- {
- "number": 254,
- "title": "Format request: .pac",
- "url": "https://github.com/KnifeLemon/Filee/issues/254",
- "assessment": "fixed_verified",
- "findings": "PAC proxy-configuration scripts are recognized as plain text and exported to UTF-8 TXT without evaluation. Real queue tests verify exact Unicode content and the unchanged source.",
- "evidence": "ReportedIssueTests.Reported_plain_text_extensions_*"
- },
- {
- "number": 253,
- "title": "图片格式如:.jpg.png等格式无法转换成zip等压缩格式",
- "url": "https://github.com/KnifeLemon/Filee/issues/253",
- "assessment": "existing_support",
- "findings": "One ZIP already packs images and other files unchanged. It is an archive-combiner preset rather than changing an image extension to ZIP. Existing tests inspect stored files.",
- "evidence": "ArchiveTests.Zip_all_packs_any_files_as_they_are"
- },
- {
- "number": 252,
- "title": "Format request: .ofd",
- "url": "https://github.com/KnifeLemon/Filee/issues/252",
- "assessment": "existing_support",
- "findings": "OFD reading is already implemented on main and routes to PDF through the document model. The issue supplies no failing sample that demonstrates a remaining defect.",
- "evidence": "OfdTests; OfdReader; docs/ENGINES.md OFD"
- },
- {
- "number": 251,
- "title": "[MacOS] Donut Toolbar bug",
- "url": "https://github.com/KnifeLemon/Filee/issues/251",
- "assessment": "native_reproduction_pending",
- "findings": "Fullscreen Finder/donut behavior requires a Mac and real Spaces/fullscreen interaction. Existing background/Dock support is relevant but does not prove this report fixed.",
- "evidence": null
- },
- {
- "number": 245,
- "title": "转换之后内容丢失",
- "url": "https://github.com/KnifeLemon/Filee/issues/245",
- "assessment": "needs_sample",
- "findings": "Content-loss report has no reproducible input, target, settings or comparison. A passing generated document cannot establish preservation of the missing private document.",
- "evidence": null
- },
- {
- "number": 244,
- "title": "Format request: .grib",
- "url": "https://github.com/KnifeLemon/Filee/issues/244",
- "assessment": "feature_pending",
- "findings": "GRIB to NetCDF requires scientific-data decoding and preservation of grids, variables, times and metadata. No GRIB or NetCDF engine is implemented.",
- "evidence": null
- },
- {
- "number": 243,
- "title": "Format request:",
- "url": "https://github.com/KnifeLemon/Filee/issues/243",
- "assessment": "unsupported_protected_format",
- "findings": "Request concerns the NetEase NCM music wrapper. It is not an ordinary audio codec; current plain media converters do not establish support for protected vendor files.",
- "evidence": null
- },
- {
- "number": 241,
- "title": "Format request: .kgm",
- "url": "https://github.com/KnifeLemon/Filee/issues/241",
- "assessment": "unsupported_protected_format",
- "findings": "KGM is a vendor music wrapper rather than ordinary MP3 data. No validated decoder or unprotected representative input is available, and no conversion is claimed.",
- "evidence": null
- },
- {
- "number": 240,
- "title": "PDF formatting and alignment differ from the original Word document",
- "url": "https://github.com/KnifeLemon/Filee/issues/240",
- "assessment": "needs_sample",
- "findings": "DOCX/PDF alignment complaint lacks a reproducing document. The attached #280 sample was investigated separately; it cannot substitute for this reporter's missing file.",
- "evidence": null
- },
- {
- "number": 238,
- "title": "Format request: .lnk, .bat, .blend",
- "url": "https://github.com/KnifeLemon/Filee/issues/238",
- "assessment": "partial_fixed_verified",
- "findings": "BAT script source can now be exported as UTF-8 TXT without running it; exact content and a nonexecution marker are checked. LNK is a shortcut (already resolved when opening the donut on Windows), while BLEND needs a Blender reader/renderer. The compound request is not fully solved.",
- "evidence": "ReportedIssueTests source export and nonexecution cases; Windows shortcut resolution"
- },
- {
- "number": 236,
- "title": "Add Windows on ARM (ARM64) Support",
- "url": "https://github.com/KnifeLemon/Filee/issues/236",
- "assessment": "feature_pending_native",
- "findings": "Windows ARM64 needs a supported build plus ARM64-compatible native engines, COM extension and runtime verification. An x64 build on this machine is not proof of ARM64 support.",
- "evidence": null
- },
- {
- "number": 235,
- "title": "Format request: .indd",
- "url": "https://github.com/KnifeLemon/Filee/issues/235",
- "assessment": "feature_pending",
- "findings": "INDD reading requires an InDesign-compatible document reader or an export workflow. No INDD reader or sample is present.",
- "evidence": null
- },
- {
- "number": 234,
- "title": "自动抓换文件夹,有个bug,要监视的文件夹和转换后的文件,必须不同的目录。",
- "url": "https://github.com/KnifeLemon/Filee/issues/234",
- "assessment": "fixed_verified",
- "findings": "Output-folder exclusion incorrectly rejected the entire input root when both folders were equal. Shared-folder results are now excluded by their generated file versions, persisted across restarts. Real WEBP to JPEG tested for Keep and Move originals; JPEG decoded and dimensions verified.",
- "evidence": "FolderWatcherTests shared-root, trailing-separator, restart and replacement cases; ReportedIssueTests.Issue234_*"
- },
- {
- "number": 233,
- "title": "Format request:",
- "url": "https://github.com/KnifeLemon/Filee/issues/233",
- "assessment": "feature_pending",
- "findings": "PDF to XLSX needs an actual spreadsheet writer for reconstructed tables. Ruled-table reconstruction for DOCX is not the requested output. Related #267 remains the same feature area.",
- "evidence": null
- },
- {
- "number": 232,
- "title": "mac版本,让应用后台运行后,想打开应用面板进行设置,无法打开。必须退出应用重新打开应用才可以。",
- "url": "https://github.com/KnifeLemon/Filee/issues/232",
- "assessment": "native_reproduction_pending",
- "findings": "Reopening Settings after backgrounding is a macOS lifecycle report. ShowMain/TrayService already recreate or reveal the main window; a real Mac reproduction is still needed.",
- "evidence": "WindowService; TrayService"
- },
- {
- "number": 231,
- "title": "Format request: .caj",
- "url": "https://github.com/KnifeLemon/Filee/issues/231",
- "assessment": "feature_pending",
- "findings": "CAJ decoding is not implemented. Need a documented reader and representative samples before PDF conversion can be verified.",
- "evidence": null
- },
- {
- "number": 229,
- "title": "mac安装不方便,需要解压后,把应用拖拽到应用程序中,并且还需要重新授权",
- "url": "https://github.com/KnifeLemon/Filee/issues/229",
- "assessment": "external_release_requirement",
- "findings": "DMG installation, app placement and permission continuity concern macOS release packaging/signing. They need publisher assets and a Mac; changing converter code cannot validate them.",
- "evidence": null
- },
- {
- "number": 228,
- "title": "mac版本不支持后台静默启动,会在dock栏上留下应用图标",
- "url": "https://github.com/KnifeLemon/Filee/issues/228",
- "assessment": "existing_support_native_unverified",
- "findings": "Show in Dock is already a macOS setting, preloaded before startup and delegated to platform code. Real background launch and Dock behavior were not exercised on this Windows machine.",
- "evidence": "GeneralPageViewModel.SupportsDockVisibility; Program; macOS platform implementation"
- },
- {
- "number": 227,
- "title": "Format request: .aep",
- "url": "https://github.com/KnifeLemon/Filee/issues/227",
- "assessment": "needs_sample",
- "findings": "AEP is an After Effects project although the report names Premiere. Need the actual source application, sample and whether the intended PDF contains frames or project data.",
- "evidence": null
- },
- {
- "number": 226,
- "title": "When converting from PDF to docx file, it is only a file format conversion",
- "url": "https://github.com/KnifeLemon/Filee/issues/226",
- "assessment": "feature_pending_partial_existing",
- "findings": "Text PDFs already produce editable text. A scan without a text layer remains an image; editable scanned content needs OCR, as requested by #288. No OCR success is claimed.",
- "evidence": "PdfReaderTests; document reader scan fallback"
- },
- {
- "number": 222,
- "title": "Feature Request: Add Filee to Microsoft Store, WinGet, and Scoop",
- "url": "https://github.com/KnifeLemon/Filee/issues/222",
- "assessment": "external_release_requirement",
- "findings": "Store and package-manager publication needs package ownership, distribution manifests and release validation. It is not resolved by local converter tests; overlap with #217.",
- "evidence": null
- },
- {
- "number": 217,
- "title": "Publish Filee to the Microsoft Store",
- "url": "https://github.com/KnifeLemon/Filee/issues/217",
- "assessment": "external_release_requirement",
- "findings": "Microsoft Store publication needs the publisher account, certification and submission. No Store submission was made.",
- "evidence": null
- },
- {
- "number": 216,
- "title": "Bug when converting a Hebrew docx file to pdf",
- "url": "https://github.com/KnifeLemon/Filee/issues/216",
- "assessment": "sample_verified_existing_support",
- "findings": "The attached Hebrew TXT converts to a one-page PDF using current main and installed LibreOffice. Extracted PDF text equals the source and the rendered Hebrew was inspected. This verifies that sample, not every Hebrew DOCX layout or a machine without LibreOffice.",
- "evidence": "Public issue216.txt; actual CLI conversion; PDF text comparison and rendered page"
- },
- {
- "number": 215,
- "title": "Format request: . ✨__#indiantraditions #festivecolours #ethnicfashion #indianculture #kadamcolors",
- "url": "https://github.com/KnifeLemon/Filee/issues/215",
- "assessment": "needs_sample",
- "findings": "The supplied extension is a social-media caption/hashtag string. Need the real filename extension and source file metadata.",
- "evidence": null
- },
- {
- "number": 214,
- "title": "Feature Request: Add \"Zip\" option when Ctrl+Dragging multiple files",
- "url": "https://github.com/KnifeLemon/Filee/issues/214",
- "assessment": "existing_support",
- "findings": "Multiple files and folders can already be packed with One ZIP. Existing integration tests inspect archive entries and file contents; actual gesture behavior on another OS is a separate native check.",
- "evidence": "ArchiveTests.Zip_all_packs_any_files_as_they_are; JobQueue combiner tests"
- },
- {
- "number": 196,
- "title": "视频转码无法调用intel核显",
- "url": "https://github.com/KnifeLemon/Filee/issues/196",
- "assessment": "feature_pending_partial_existing",
- "findings": "H.264 and HEVC already have Intel QSV candidates. The discussion selects AV1, which the hardware candidate list does not implement. No Intel GPU execution is claimed from this machine.",
- "evidence": "HardwareVideo.Candidates"
- },
- {
- "number": 195,
- "title": "Adding more feature with more Modifier triggering keys",
- "url": "https://github.com/KnifeLemon/Filee/issues/195",
- "assessment": "feature_pending",
- "findings": "Trigger-specific toolbars and nonconversion actions are broader product features. Some compression actions already exist; that does not implement all requested automation.",
- "evidence": null
- },
- {
- "number": 190,
- "title": "Windows:v1.12.0 win-portable 稀疏外部位置包无法部署,报错 0x80073D2B",
- "url": "https://github.com/KnifeLemon/Filee/issues/190",
- "assessment": "reporter_confirmed_workaround",
- "findings": "Reporter says elevated package registration worked. Portable Filee itself does not require that Explorer package. The historical 0x80073D2B deployment report was not recreated by installing packages on this machine.",
- "evidence": "Issue discussion; ExplorerMenuRegistration"
- },
- {
- "number": 189,
- "title": "Global input detection remains stopped on macOS after enabling permissions",
- "url": "https://github.com/KnifeLemon/Filee/issues/189",
- "assessment": "native_reproduction_pending",
- "findings": "The latest report says gestures work but the stopped status is wrong after permissions. Needs real macOS permission transitions and hook logs; Windows unit tests cannot validate that state.",
- "evidence": "Issue discussion; TriggerService"
- },
- {
- "number": 188,
- "title": "Format request: .rec",
- "url": "https://github.com/KnifeLemon/Filee/issues/188",
- "assessment": "needs_sample",
- "findings": "REC is used by multiple unrelated recording applications. Need the producer, sample and desired output.",
- "evidence": null
- },
- {
- "number": 183,
- "title": "Background Remover Produces Poor Results on White Backgrounds",
- "url": "https://github.com/KnifeLemon/Filee/issues/183",
- "assessment": "needs_sample_known_limitation",
- "findings": "Current background removal is backdrop-color removal with an enclosed-background option, not semantic AI segmentation. No failing photo is attached. Accurate foreground segmentation is a separate algorithmic feature.",
- "evidence": "Issue discussion; background-removal options"
- },
- {
- "number": 182,
- "title": "Format request: .cinimatic portrait - copy",
- "url": "https://github.com/KnifeLemon/Filee/issues/182",
- "assessment": "needs_sample",
- "findings": "cinimatic portrait - copy is a filename description, not an identified format. Maintainer already requested the real extension.",
- "evidence": "Issue discussion"
- },
- {
- "number": 178,
- "title": "PPT转PDF会有文字重叠",
- "url": "https://github.com/KnifeLemon/Filee/issues/178",
- "assessment": "needs_sample",
- "findings": "PPT/PDF overlap needs the failing presentation and a comparison. Current main can use LibreOffice for slides, but that alone does not establish that this sample is fixed.",
- "evidence": "LibreOfficeRouteTests"
- },
- {
- "number": 177,
- "title": "Format request: .fon",
- "url": "https://github.com/KnifeLemon/Filee/issues/177",
- "assessment": "feature_pending",
- "findings": "Bitmap Windows FON to outline TTF/OTF needs a bitmap-font reader and a deliberate outline/vectorization strategy. Current outline-font converters do not read FON.",
- "evidence": null
- },
- {
- "number": 174,
- "title": "Format request: Live/Motion Photo ↔ video (iPhone and Android)",
- "url": "https://github.com/KnifeLemon/Filee/issues/174",
- "assessment": "feature_pending_existing_pr",
- "findings": "Live/Motion Photo video extraction is already supported. Creation is implemented experimentally in draft PR #283 and explicitly awaits real iPhone/Android validation. Do not duplicate or claim phone compatibility from container tests.",
- "evidence": "PR #283 device checklist; existing motion-photo tests"
- },
- {
- "number": 172,
- "title": "CAD to PDF: support multi-page output (split framed model-space regions / export each layout as a page)",
- "url": "https://github.com/KnifeLemon/Filee/issues/172",
- "assessment": "feature_pending",
- "findings": "CAD multi-layout export and framed model-space page detection are missing. Current single-page/model-space or active-layout output does not satisfy multipage CAD publishing.",
- "evidence": "Cad converter implementation; issue discussion"
- },
- {
- "number": 164,
- "title": "Format request: .tpkx",
- "url": "https://github.com/KnifeLemon/Filee/issues/164",
- "assessment": "needs_sample",
- "findings": "The report identifies TPKX as DAP without establishing a reader or producer. Maintainer requested the application and a sample. Need that evidence before treating it as an ArcGIS tile package.",
- "evidence": "Issue discussion"
- },
- {
- "number": 160,
- "title": "macOS: QSpace Pro drags and Services don't deliver file URLs to Filee (donut gets no files)",
- "url": "https://github.com/KnifeLemon/Filee/issues/160",
- "assessment": "existing_attempt_native_unverified",
- "findings": "Main already reads macOS file URLs, legacy NSFilenamesPboardType arrays and text paths for Services, with a QSpace drag compatibility attempt. Real QSpace Pro/Mac validation is still required.",
- "evidence": "MacOSServicesProvider.FilesOn; PasteboardPaths; PR #163 discussion"
- },
- {
- "number": 155,
- "title": "Geospatial formats: Shapefile / GeoJSON / KML / GPX conversion and GeoTIFF band split",
- "url": "https://github.com/KnifeLemon/Filee/issues/155",
- "assessment": "feature_pending_partial_existing",
- "findings": "Shapefile/GeoJSON/KML/KMZ/GPX vectors and CRS conversion are implemented with interoperability fixtures. GeoTIFF band extraction remains missing; generic 8-bit image conversion would lose scientific raster values.",
- "evidence": "GeoFormatTests; GeoShapefileTests; GeoCrsTests; GeoZipTests"
- },
- {
- "number": 138,
- "title": "请求增加「版面感知的 PDF→DOCX 转换」(保留表格、字体、页面结构)",
- "url": "https://github.com/KnifeLemon/Filee/issues/138",
- "assessment": "feature_pending_partial_existing",
- "findings": "Main reconstructs ruled tables, positioned text, fonts and page structure for PDF to DOCX. Borderless tables and arbitrary source layouts remain limited, so this broad request is not declared fully solved.",
- "evidence": "PdfTableTests; PdfReaderTests; PdfDocumentReader.Tables.cs"
- },
- {
- "number": 136,
- "title": "桌面的快捷键会出现问题",
- "url": "https://github.com/KnifeLemon/Filee/issues/136",
- "assessment": "needs_sample",
- "findings": "Desktop shortcut report lacks reproduction steps and version. Historical retry changes do not prove the unreported case fixed.",
- "evidence": "Issue discussion"
- },
- {
- "number": 135,
- "title": "맥os 단축키 툴바가 작동하지 않는 것 같습니다",
- "url": "https://github.com/KnifeLemon/Filee/issues/135",
- "assessment": "native_reproduction_pending",
- "findings": "macOS Option-drag behavior depends on actual Accessibility permissions, file manager and event delivery. A Mac reproduction is required.",
- "evidence": "Issue discussion"
- },
- {
- "number": 121,
- "title": "内容错误",
- "url": "https://github.com/KnifeLemon/Filee/issues/121",
- "assessment": "needs_sample",
- "findings": "PDF to EPUB gibberish/content-loss report has no source PDF. Missing ToUnicode maps and image-only pages are possible causes, not validated diagnoses for this document.",
- "evidence": "Issue discussion"
- },
- {
- "number": 86,
- "title": "i can't use the shortcuts in linux",
- "url": "https://github.com/KnifeLemon/Filee/issues/86",
- "assessment": "feature_pending_native",
- "findings": "Linux Wayland global shortcuts have compositor restrictions. Main offers experimental KDE/KWin or devinput options, but no live Wayland session or portal implementation was validated here.",
- "evidence": "Linux platform code; issue discussion"
- },
- {
- "number": 51,
- "title": "PDF변환에서 헤더가 깨지는 오류가 있습니다!",
- "url": "https://github.com/KnifeLemon/Filee/issues/51",
- "assessment": "reproduced_upstream",
- "findings": "Converted the supplied HWPX with pinned rhwp 0.8.7 and inspected the nine-page PDF. Header/table/body layout remains defective. Maintainer also reproduced the engine issue; it is not corrected by a filename alias or a passing exit code.",
- "evidence": "Public HWPX attachment; actual CLI/rhwp conversion and rendered first page; issue discussion"
- },
- {
- "number": 44,
- "title": "Installer blocked by Windows or antivirus (\"not trusted\"): Filee isn't code-signed yet",
- "url": "https://github.com/KnifeLemon/Filee/issues/44",
- "assessment": "external_release_requirement",
- "findings": "Windows signing/AV reputation requires the publisher signing process and release artifacts. SignPath approval/credentials are external. No antivirus allowlisting or signing success is claimed.",
- "evidence": "Pinned issue discussion; signing policy"
- }
- ]
-}
diff --git a/tests/Filee.App.Tests/DonutHighlightTests.cs b/tests/Filee.App.Tests/DonutHighlightTests.cs
index e352bc5b..dfadefc0 100644
--- a/tests/Filee.App.Tests/DonutHighlightTests.cs
+++ b/tests/Filee.App.Tests/DonutHighlightTests.cs
@@ -29,14 +29,10 @@ public class DonutHighlightTests
Set(donut, "_lastTick", Environment.TickCount64 - DonutMenu.StalledLoopMs * 4);
donut.SetExternalHighlight(2);
- // Forced render ticks use real elapsed time; ninety immediate calls are not ninety 60 Hz frames.
- // Give the spring time to move while still exercising the real frame-request/recovery path.
- var elapsed = System.Diagnostics.Stopwatch.StartNew();
- while (elapsed.Elapsed < TimeSpan.FromSeconds(2) && donut.LitAmount(2) < 0.9)
+ for (var i = 0; i < 90 && donut.LitAmount(2) < 0.9; i++)
{
AvaloniaHeadlessPlatform.ForceRenderTimerTick();
Dispatcher.UIThread.RunJobs();
- Thread.Sleep(5);
}
Assert.True(donut.LitAmount(2) > 0.9, $"lit {donut.LitAmount(2):0.00}");
diff --git a/tests/Filee.Cli.Tests/CliTests.cs b/tests/Filee.Cli.Tests/CliTests.cs
index 9a48b2c2..c268796a 100644
--- a/tests/Filee.Cli.Tests/CliTests.cs
+++ b/tests/Filee.Cli.Tests/CliTests.cs
@@ -259,10 +259,8 @@ public sealed class CliTests : IDisposable
Assert.Equal(Cli.Success, code);
Assert.Equal(OperatingSystem.IsWindows(), output.Contains("png, jpg", StringComparison.Ordinal));
- // Elsewhere no download would help. Windows may have every relevant optional engine installed already,
- // in which case there is correctly no "optional engines" section at all.
- if (!OperatingSystem.IsWindows())
- Assert.DoesNotContain("optional engines", output, StringComparison.Ordinal);
+ // Elsewhere no download would help (on Windows, FFmpeg adds HEIC and video).
+ Assert.Equal(OperatingSystem.IsWindows(), output.Contains("optional engines", StringComparison.Ordinal));
}
/// <summary>Adds presets to the settings folder the CLI runs with.</summary>
diff --git a/tests/Filee.Engines.Tests/ArchiveTests.cs b/tests/Filee.Engines.Tests/ArchiveTests.cs
index 25b25aaf..2bbdb187 100644
--- a/tests/Filee.Engines.Tests/ArchiveTests.cs
+++ b/tests/Filee.Engines.Tests/ArchiveTests.cs
@@ -604,4 +604,53 @@ public class ArchiveTests(EngineFixture fx) : IClassFixture<EngineFixture>
stream.CopyTo(ms);
return ms.ToArray();
}
+
+ // ───────────────────────── ANSYS Workbench archives (issue #294) ─────────────────────────
+
+ [Fact]
+ public async Task A_workbench_wbpz_archive_keeps_every_entry_when_converted_to_zip()
+ {
+ SkipWithout7Zip();
+ var input = Path.Combine(fx.NewFolder(), "project.wbpz");
+ var expected = new Dictionary<string, byte[]>
+ {
+ ["project.wbpj"] = Encoding.UTF8.GetBytes("<?xml version=\"1.0\"?><Project name=\"Archive payload\"/>"),
+ ["project_files/dp0/SYS/MECH/model.dat"] = Enumerable.Range(0, 256).Select(i => (byte)i).ToArray(),
+ ["user_files/ملاحظات.txt"] = Encoding.UTF8.GetBytes("مرحبا 中文 한국어\n"),
+ };
+ using (var archive = ZipFile.Open(input, ZipArchiveMode.Create))
+ {
+ foreach (var (name, bytes) in expected)
+ {
+ using var entry = archive.CreateEntry(name).Open();
+ entry.Write(bytes);
+ }
+ archive.CreateEntry("project_files/empty/");
+ }
+
+ var job = await fx.ConvertAsync([input], new Preset { TargetFormat = "zip" });
+
+ Assert.Equal(JobState.Completed, job.State);
+ using var output = ZipFile.OpenRead(Assert.Single(job.Outputs));
+ Assert.Equal(expected.Keys.Order(), output.Entries.Where(e => !e.FullName.EndsWith('/')).Select(e => e.FullName).Order());
+ foreach (var (name, bytes) in expected)
+ {
+ using var entry = output.GetEntry(name)!.Open();
+ using var data = new MemoryStream();
+ entry.CopyTo(data);
+ Assert.Equal(bytes, data.ToArray());
+ }
+ Assert.NotNull(output.GetEntry("project_files/empty/"));
+ }
+
+ [Fact]
+ public async Task A_wbpz_that_is_no_archive_fails()
+ {
+ SkipWithout7Zip();
+ var input = Path.Combine(fx.NewFolder(), "invalid.wbpz");
+ await File.WriteAllTextAsync(input, "This is not an archive.", TestContext.Current.CancellationToken);
+ var job = await fx.ConvertAsync([input], new Preset { TargetFormat = "zip" });
+ Assert.Equal(JobState.Failed, job.State);
+ Assert.Empty(job.Outputs);
+ }
}
diff --git a/tests/Filee.Engines.Tests/MarkdownTests.cs b/tests/Filee.Engines.Tests/MarkdownTests.cs
index aab80f76..4a802547 100644
--- a/tests/Filee.Engines.Tests/MarkdownTests.cs
+++ b/tests/Filee.Engines.Tests/MarkdownTests.cs
@@ -7,6 +7,7 @@ using Filee.Engines.Infrastructure;
using Filee.Engines.Office;
using Filee.Engines.Text;
using ImageMagick;
+using Filee.Core.Formats;
namespace Filee.Engines.Tests;
@@ -191,4 +192,64 @@ public class MarkdownTests(EngineFixture fx) : IClassFixture<EngineFixture>
{
public void Report(double value) => report(value);
}
+
+ // ───────────────────────── Logs and script source as text (issues #254, #273, #284) ─────────────────────────
+
+ [Theory]
+ [InlineData("log")]
+ [InlineData("py")]
+ [InlineData("pac")]
+ [InlineData("bat")]
+ [InlineData("command")]
+ public async Task Logs_and_script_source_become_utf8_txt_with_the_text_unchanged(string extension)
+ {
+ var input = Path.Combine(fx.NewFolder(), "source." + extension);
+ const string Content = "# Local source text\nprint('مرحبا 中文 한국어')\n<not markup> & \"quoted\" **not bold**\n";
+ await File.WriteAllTextAsync(input, Content, TestContext.Current.CancellationToken);
+ Assert.Equal("txt", FormatRegistry.Detect(input)?.Id);
+
+ var job = await fx.ConvertAsync([input], new Preset { TargetFormat = "txt" });
+
+ Assert.Equal(JobState.Completed, job.State);
+ var output = Assert.Single(job.Outputs);
+ Assert.Equal(".txt", Path.GetExtension(output));
+ Assert.Equal(Content, await File.ReadAllTextAsync(output, TestContext.Current.CancellationToken));
+ }
+
+ [Theory]
+ [InlineData("py")]
+ [InlineData("bat")]
+ [InlineData("command")]
+ public async Task Script_source_is_read_and_never_run(string extension)
+ {
+ var folder = fx.NewFolder();
+ var marker = Path.Combine(folder, "executed.txt").Replace('\\', '/');
+ var input = Path.Combine(folder, "script." + extension);
+ var content = extension switch
+ {
+ "py" => $"from pathlib import Path\nPath(r'{marker}').write_text('executed')\n",
+ "bat" => $"@echo off\r\necho executed>\"{marker}\"\r\n",
+ _ => $"#!/bin/sh\nprintf executed > '{marker}'\n",
+ };
+ await File.WriteAllTextAsync(input, content, TestContext.Current.CancellationToken);
+
+ var job = await fx.ConvertAsync([input], new Preset { TargetFormat = "txt" });
+
+ Assert.Equal(JobState.Completed, job.State);
+ Assert.Equal(content, await File.ReadAllTextAsync(Assert.Single(job.Outputs), TestContext.Current.CancellationToken));
+ Assert.False(File.Exists(marker));
+ }
+
+ [Fact]
+ public async Task A_legacy_korean_text_file_becomes_utf8()
+ {
+ System.Text.Encoding.RegisterProvider(System.Text.CodePagesEncodingProvider.Instance);
+ var input = Path.Combine(fx.NewFolder(), "memo.txt");
+ await File.WriteAllBytesAsync(input, System.Text.Encoding.GetEncoding(949).GetBytes("한글 메모\n"), TestContext.Current.CancellationToken);
+
+ var job = await fx.ConvertAsync([input], new Preset { TargetFormat = "txt" });
+
+ Assert.Equal(JobState.Completed, job.State);
+ Assert.Equal("한글 메모\n", await File.ReadAllTextAsync(Assert.Single(job.Outputs), TestContext.Current.CancellationToken));
+ }
}
diff --git a/tests/Filee.Engines.Tests/MediaTests.cs b/tests/Filee.Engines.Tests/MediaTests.cs
index 39361039..75252bd2 100644
--- a/tests/Filee.Engines.Tests/MediaTests.cs
+++ b/tests/Filee.Engines.Tests/MediaTests.cs
@@ -1147,15 +1147,14 @@ public class MediaTests(EngineFixture fx) : IClassFixture<EngineFixture>
{
SkipUnlessInstalled();
var folder = fx.NewFolder();
- // Keep real work running across several half-second reports. A fast GPU can encode the old 40 s / 360p
- // fixture between reports, even though progress is read correctly. Use software encoding at 720p here.
- var source = await MakeClipAsync(folder, "long.mp4", seconds: 60, size: "1280x720", extra: ["-c:v", "libx264", "-preset", "ultrafast"]);
+ // Long enough for several of FFmpeg's half-second progress reports.
+ var source = await MakeClipAsync(folder, "long.mp4", seconds: 40, size: "640x360", extra: ["-c:v", "libx264", "-preset", "ultrafast"]);
var converter = new FfmpegConverter();
Assert.True(converter.GetStatus().IsAvailable);
var recorder = new Recorder();
// Small: H.264 + AAC in MKV would otherwise only be rewrapped, which takes too little time to report progress.
- var outputs = await converter.ConvertAsync(Step(source, "mp4", "mkv", folder, new MediaOptions { Quality = MediaQuality.Small, HardwareEncoding = false }), recorder, CancellationToken.None);
+ var outputs = await converter.ConvertAsync(Step(source, "mp4", "mkv", folder, new MediaOptions { Quality = MediaQuality.Small }), recorder, CancellationToken.None);
Assert.True(File.Exists(Assert.Single(outputs)));
var values = recorder.Values.ToList();
@@ -1281,4 +1280,42 @@ public class MediaTests(EngineFixture fx) : IClassFixture<EngineFixture>
}
return false;
}
+
+ // ───────────────────────── Video CD (issue #292) ─────────────────────────
+
+ [Theory]
+ [InlineData("mp4")]
+ [InlineData("mkv")]
+ public async Task A_video_cd_dat_file_converts_with_its_picture_and_sound(string target)
+ {
+ SkipUnlessInstalled();
+ var folder = fx.NewFolder();
+ // A Video CD keeps its MPEG-1 streams in MPEGAV/AVSEQ01.DAT.
+ var input = Path.Combine(folder, "AVSEQ01.DAT");
+ var create = await ProcessRunner.RunAsync(Tools!.Value.Ffmpeg,
+ ["-hide_banner", "-loglevel", "error", "-f", "lavfi", "-i", "testsrc2=size=352x288:rate=25",
+ "-f", "lavfi", "-i", "sine=frequency=440:sample_rate=44100", "-t", "0.4",
+ "-target", "pal-vcd", "-f", "mpeg", input], TimeSpan.FromSeconds(30), TestContext.Current.CancellationToken);
+ Assert.True(create.ExitCode == 0, create.StandardError);
+ Assert.Equal("mpg", FormatRegistry.Detect(input)?.Id);
+
+ var job = await fx.ConvertAsync([input], new Preset { TargetFormat = target });
+
+ Assert.True(job.State == JobState.Completed, string.Join("; ", job.Files.Select(f => f.ErrorDetail)));
+ var decode = await ProcessRunner.RunAsync(Tools.Value.Ffmpeg,
+ ["-v", "error", "-i", Assert.Single(job.Outputs), "-map", "0:v:0", "-map", "0:a:0", "-f", "null", "-"],
+ TimeSpan.FromSeconds(30), TestContext.Current.CancellationToken);
+ Assert.True(decode.ExitCode == 0, decode.StandardError);
+ }
+
+ [Fact]
+ public async Task A_dat_file_that_is_no_video_fails()
+ {
+ SkipUnlessInstalled();
+ var input = Path.Combine(fx.NewFolder(), "database.dat");
+ await File.WriteAllTextAsync(input, "This is application data, not a video.", TestContext.Current.CancellationToken);
+ var job = await fx.ConvertAsync([input], new Preset { TargetFormat = "mp4" });
+ Assert.Equal(JobState.Failed, job.State);
+ Assert.Empty(job.Outputs);
+ }
}
diff --git a/tests/Filee.Engines.Tests/ReportedIssueTests.cs b/tests/Filee.Engines.Tests/ReportedIssueTests.cs
deleted file mode 100644
index 39e9d1f3..00000000
--- a/tests/Filee.Engines.Tests/ReportedIssueTests.cs
+++ /dev/null
@@ -1,184 +0,0 @@
-// End-to-end regressions from the public issue audit: real converters and files, checked after conversion.
-
-using System.IO.Compression;
-using System.Security.Cryptography;
-using System.Text;
-using Filee.Core.Conversion;
-using Filee.Core.Formats;
-using Filee.Core.Presets;
-using Filee.Core.Watching;
-using Filee.Engines.Infrastructure;
-using Filee.Engines.Media;
-using ImageMagick;
-
-namespace Filee.Engines.Tests;
-
-public class ReportedIssueTests(EngineFixture fx) : IClassFixture<EngineFixture>
-{
- [Fact]
- public async Task Issue294_workbench_zip_archive_keeps_every_payload_when_exported_as_zip()
- {
- Assert.SkipUnless(fx.Catalog.StatusOf(fx.Converters.Single(c => c.Id == "archive")).IsAvailable,
- "7-Zip is needed for archive reading.");
- var input = Path.Combine(fx.NewFolder(), "project.wbpz");
- var expected = new Dictionary<string, byte[]>
- {
- ["project.wbpj"] = Encoding.UTF8.GetBytes("<?xml version=\"1.0\"?><Project name=\"Archive payload\"/>"),
- ["project_files/dp0/SYS/MECH/model.dat"] = Enumerable.Range(0, 256).Select(i => (byte)i).ToArray(),
- ["user_files/ملاحظات.txt"] = Encoding.UTF8.GetBytes("مرحبا 中文 שלום\n"),
- };
- using (var archive = ZipFile.Open(input, ZipArchiveMode.Create))
- {
- foreach (var (name, bytes) in expected)
- {
- using var entry = archive.CreateEntry(name).Open();
- entry.Write(bytes);
- }
- archive.CreateEntry("project_files/empty/");
- }
- var before = SHA256.HashData(await File.ReadAllBytesAsync(input, TestContext.Current.CancellationToken));
- var job = await fx.ConvertAsync([input], new Preset { TargetFormat = "zip" });
- Assert.Equal(JobState.Completed, job.State);
- using var output = ZipFile.OpenRead(Assert.Single(job.Outputs));
- Assert.Equal(expected.Keys.Order(), output.Entries.Where(e => !e.FullName.EndsWith('/')).Select(e => e.FullName).Order());
- foreach (var (name, bytes) in expected)
- {
- using var entry = output.GetEntry(name)!.Open();
- using var data = new MemoryStream();
- await entry.CopyToAsync(data, TestContext.Current.CancellationToken);
- Assert.Equal(bytes, data.ToArray());
- }
- Assert.NotNull(output.GetEntry("project_files/empty/"));
- Assert.Equal(before, SHA256.HashData(await File.ReadAllBytesAsync(input, TestContext.Current.CancellationToken)));
- }
-
- [Fact]
- public async Task Issue294_a_non_archive_wbpz_is_refused_without_a_claimed_zip_result()
- {
- Assert.SkipUnless(fx.Catalog.StatusOf(fx.Converters.Single(c => c.Id == "archive")).IsAvailable,
- "7-Zip is needed for archive validation.");
- var input = Path.Combine(fx.NewFolder(), "invalid.wbpz");
- await File.WriteAllTextAsync(input, "This is not an archive.", TestContext.Current.CancellationToken);
- var job = await fx.ConvertAsync([input], new Preset { TargetFormat = "zip" });
- Assert.Equal(JobState.Failed, job.State);
- Assert.Empty(job.Outputs);
- Assert.Equal("This is not an archive.", await File.ReadAllTextAsync(input, TestContext.Current.CancellationToken));
- }
-
- [Theory]
- [InlineData("mp4")]
- [InlineData("mkv")]
- public async Task Issue292_video_cd_dat_converts_with_video_and_audio_that_decode(string target)
- {
- var tools = FfmpegConverter.Locate();
- Assert.SkipUnless(tools is not null, "FFmpeg is needed for the Video CD integration test.");
- var folder = fx.NewFolder();
- var input = Path.Combine(folder, "AVSEQ01.DAT");
- var create = await ProcessRunner.RunAsync(tools.Value.Ffmpeg,
- ["-hide_banner", "-loglevel", "error", "-f", "lavfi", "-i", "testsrc2=size=352x288:rate=25",
- "-f", "lavfi", "-i", "sine=frequency=440:sample_rate=44100", "-t", "0.4",
- "-target", "pal-vcd", "-f", "mpeg", input], TimeSpan.FromSeconds(30), TestContext.Current.CancellationToken);
- Assert.True(create.ExitCode == 0, create.StandardError);
-
- var job = await fx.ConvertAsync([input], new Preset { TargetFormat = target });
- Assert.True(job.State == JobState.Completed, string.Join("; ", job.Files.Select(f => f.ErrorDetail)));
- var output = Assert.Single(job.Outputs);
- var decode = await ProcessRunner.RunAsync(tools.Value.Ffmpeg,
- ["-v", "error", "-i", output, "-map", "0:v:0", "-map", "0:a:0", "-f", "null", "-"],
- TimeSpan.FromSeconds(30), TestContext.Current.CancellationToken);
- Assert.True(decode.ExitCode == 0, decode.StandardError);
- Assert.True(File.Exists(input));
- }
-
- [Fact]
- public async Task Issue292_non_video_dat_is_not_reported_as_a_successful_video()
- {
- Assert.SkipUnless(FfmpegConverter.Locate() is not null, "FFmpeg is needed for the DAT validation test.");
- var input = Path.Combine(fx.NewFolder(), "database.dat");
- await File.WriteAllTextAsync(input, "This is application data, not a video.", TestContext.Current.CancellationToken);
- var job = await fx.ConvertAsync([input], new Preset { TargetFormat = "mp4" });
- Assert.Equal(JobState.Failed, job.State);
- Assert.Empty(job.Outputs);
- Assert.True(File.Exists(input));
- }
-
- [Theory]
- [InlineData("py")]
- [InlineData("log")]
- [InlineData("pac")]
- [InlineData("bat")]
- [InlineData("command")]
- public async Task Reported_plain_text_extensions_convert_to_txt_without_executing_or_losing_content(string extension)
- {
- var folder = fx.NewFolder();
- var input = Path.Combine(folder, "source." + extension);
- const string Content = "# Local source text\nprint('مرحبا 中文 שלום')\n<not markup> & \"quoted\"\n";
- await File.WriteAllTextAsync(input, Content, TestContext.Current.CancellationToken);
-
- var job = await fx.ConvertAsync([input], new Preset { TargetFormat = "txt" });
-
- Assert.Equal(JobState.Completed, job.State);
- var output = Assert.Single(job.Outputs);
- Assert.Equal(".txt", Path.GetExtension(output));
- Assert.Equal(Content, await File.ReadAllTextAsync(output, TestContext.Current.CancellationToken));
- Assert.Equal(Content, await File.ReadAllTextAsync(input, TestContext.Current.CancellationToken));
- Assert.Equal("txt", FormatRegistry.Detect(input)?.Id);
- }
-
- [Theory]
- [InlineData("py")]
- [InlineData("bat")]
- [InlineData("command")]
- public async Task Exporting_script_source_never_executes_the_script(string extension)
- {
- var folder = fx.NewFolder();
- var marker = Path.Combine(folder, "executed.txt").Replace('\\', '/');
- var input = Path.Combine(folder, "script." + extension);
- var content = extension switch
- {
- "py" => $"from pathlib import Path\nPath(r'{marker}').write_text('executed')\n",
- "bat" => $"@echo off\r\necho executed>\"{marker}\"\r\n",
- _ => $"#!/bin/sh\nprintf executed > '{marker}'\n",
- };
- await File.WriteAllTextAsync(input, content, TestContext.Current.CancellationToken);
- var job = await fx.ConvertAsync([input], new Preset { TargetFormat = "txt" });
- Assert.Equal(JobState.Completed, job.State);
- Assert.Equal(content, await File.ReadAllTextAsync(Assert.Single(job.Outputs), TestContext.Current.CancellationToken));
- Assert.False(File.Exists(marker));
- }
-
- [Theory]
- [InlineData(AfterConversion.Keep)]
- [InlineData(AfterConversion.MoveToOriginals)]
- public async Task Issue234_webp_becomes_a_readable_jpg_in_the_same_watch_folder(AfterConversion originals)
- {
- var folder = fx.NewFolder();
- var input = EngineFixture.MakeImage(folder, "photo.webp", MagickFormat.WebP);
- var rule = new WatchRule { Folder = folder, OutputFolder = folder, Originals = originals };
- var jobs = new List<ConversionJob>();
- await using var watcher = new FolderWatcher(rule, async (files, _) =>
- {
- var job = await fx.ConvertAsync(files, rule.Apply(new Preset { TargetFormat = "jpg" }));
- jobs.Add(job);
- return job;
- }, settleTime: TimeSpan.Zero);
-
- watcher.Notice(input);
- Assert.Equal(1, await watcher.ProcessPendingAsync());
- var job = Assert.Single(jobs);
- Assert.Equal(JobState.Completed, job.State);
- var output = Assert.Single(job.Outputs);
- Assert.Equal(Path.Combine(folder, "photo.jpg"), output);
- using var image = new MagickImage(output);
- Assert.Equal(MagickFormat.Jpeg, image.Format);
- Assert.Equal(320u, image.Width);
- Assert.Equal(200u, image.Height);
- Assert.Equal(originals == AfterConversion.Keep, File.Exists(input));
- if (originals == AfterConversion.MoveToOriginals)
- Assert.True(File.Exists(Path.Combine(rule.OriginalsFolder, "photo.webp")));
-
- watcher.Notice(output);
- Assert.Equal(0, await watcher.ProcessPendingAsync());
- Assert.Single(jobs);
- }
-}