- Context: GDS Files reads and writes per-file
user.xdg.tagsextended attributes natively in Rust (gds::service::file_tags), while globaltags:/catalog browsing and tag-wide removal integrate with KDE Dolphin's Baloo index. - Compromise: Rather than linking Qt6 / KDE Frameworks C++ libraries into
gds-files(or maintaining a second private file-indexing daemon), GDS invokesbalooctl6/balooctlandkioclient6/kioclientviaargvarrays with a 15-second timeout and task cancellation. - Known trade-offs:
- Baloo 6.31 double-quote bug: Upstream Baloo's
tags:KIO worker returns an empty set when a tag query contains". GDS Files surfaces an explicit error for double-quoted global queries/deletions while keeping per-file xattr editing intact. - Line-oriented, unpaginated CLI output:
kioclient lscannot losslessly represent tag names containing literal newlines (disallowed by GDS's tag validator), returns unpaginated listings unsuitable for massive tag catalogs, and depends on KDE CLI formatting stability.
- Baloo 6.31 double-quote bug: Upstream Baloo's
- Retirement condition: Replace or supplement if KDE exposes a stable pure D-Bus query interface for
tags:/or if GDS introduces an optional native index backend.
- Context: Users expect
.zip,.7z,.tar, and.tar.gzfiles to open predictably today before GDS's built-in archive browser lands. - Compromise: Double-clicking or pressing
Enteron an archive delegates to the desktop's registered handler via the XDGOpenURI/AppChooserPortal without adding partial extract/compress items to Files' menus. Note that upstream Linux 7-Zip releases ship only the7zzCLI binary rather than a GUI.desktophandler, so NixOS/desktop deployments must pair MIME associations with an actual graphical archive manager. - Retirement condition: Superseded once Phase 1 read-only archive browsing and background extraction land (Files Roadmap).
- Context:
scripts/install.sh --nixsupports installinggithub:GanDesktop/gds#gds-filesonto non-NixOS distributions that have Nix installed. - Compromise: Nix-built GUI binaries link against Nixpkgs' Mesa/Vulkan loader rather than the host distribution's
/usr/libgraphics drivers (nixGL/nix-gl-hostterritory). On non-NixOS Wayland desktops (Ubuntu, Fedora, Debian, Arch), native distro packages (.deb,.rpm,.pkg.tar.zst) are therefore always the primary path ininstall.sh, reserving--nixfor NixOS or users who explicitly manage non-NixOS GPU wrappers.
- Context: Common raster images (
image), SVG (resvg), and embedded audio covers (lofty) render in-process in pure Rust without external dependencies. Video frames, PDFs, fonts, 3D models, RAW/HEIC/PSD, and other formats rely on specialized native parsers that GDS should not bundle or maintain in-tree. - Compromise: GDS Files discovers standard XDG FreeDesktop
.thumbnailerdescriptors ($XDG_DATA_HOME/thumbnailersoverriding$XDG_DATA_DIRS/thumbnailers), parsesExec=directly without a shell, enforces process-group timeouts and bounded PNG decoding, and delegates video thumbnails to external tools such asffmpegthumbnailerrather than invokingffmpegdirectly. On Linux, Bubblewrap (bwrap) sandboxing defaults to enabled and is recommended in distro packaging; users may explicitly disable sandboxing in Settings → Extensions (and non-Linux Unix platforms such as FreeBSD default to unsandboxed execution with an explicit notice). - Retirement condition: Revisit if a cross-platform unprivileged sandbox or standardized portal-based thumbnailing service replaces
.thumbnailerhelpers across Linux and BSD desktops.