Skip to content

QBrowse v1.4.1

Choose a tag to compare

@github-actions github-actions released this 08 Nov 22:20
· 32 commits to main since this release

QBrowse v1.4.1 — Native Rust Adblock DFA Engine, Cross-Window Tab Drag & Drop, Layout Wireframes & Master Polish

Welcome to QBrowse v1.4.1! This milestone release represents a massive overhaul of QBrowse’s performance, privacy engine, multitasking capabilities, and design language.

It introduces Brave Software's native compiled Rust DFA adblock engine (adblock-rs), full OS-level cross-window tab drag and drop with window tear-off, interactive miniature browser wireframes in onboarding and settings, a high-resolution dual zoom system, and over 60 architectural bug fixes and polish items.


🌟 Major Highlights

⚡ 1. Brave Native Rust Adblock Engine (adblock-rs) & Clean Cosmetic Collapser

  • Sub-Microsecond DFA URL Matching: Replaced synchronous JavaScript regex/array iterations with Brave Software's native compiled Rust DFA engine (adblock-rs v0.13.5). Evaluates URLs in ~3.7 microseconds per check across 200,000+ rules from EasyList, EasyPrivacy, and uBlock.
  • Pre-Compiled Binary Snapshot Serialization: Compiled filter trees serialize directly to binary snapshots (userData/adblock_cache/engine.bin), enabling instant < 1ms startup and immediate hydration without re-parsing massive text lists on launch.
  • Site-Specific Cosmetic Element Hiding: Automatically queries engine.urlCosmeticResources(url) on navigation to extract and inject site-specific CSS hiding rules (hide_selectors, style_selectors) on did-start-navigation before DOM parsing, preventing ad flashing and layout shifts.
  • DOM Placeholder & Empty Sponsor Collapser: Added an adaptive MutationObserver in the guest preload that collapses empty ad placeholders (ins.adsbygoogle, [data-ad-slot], iframe[id*="google_ads"]) and collapses orphaned parent "Advertisement" containers so article layouts reflow seamlessly.
  • Identity & Auth Fast-Path Safeguards: Retains strict whitelisting for Google Accounts, Gmail, OAuth flows, Apple ID, Cloudflare Turnstile, and reCAPTCHA.

🪟 2. Cross-Window Tab Drag & Drop, Multitasking & Window Tear-off

  • Cross-Window Tab Handshake: Seamlessly drag and drop tabs between separate QBrowse windows.
  • OS-Level DataTransfer Protocol: Encodes application/qbrowse-tab containing the tab payload, space type, and source window ID, complemented by a native floating drag chip that tracks the cursor across screens.
  • Instant Target Mount & Source Cleanup: The destination window inserts the tab into the exact drop position (tab list, folder, or root), activates it, and notifies the source window via IPC (tab-transferred) to remove the tab and activate the nearest neighbor.
  • Global Drag Shield: Added body.is-dragging-global webview { pointer-events: none !important; } so hovering over guest <webview> elements never swallows drag/drop events.
  • Tab Tear-off to New Window: Dragging a tab outside any window boundary and releasing it detaches the tab into a brand-new QBrowse window positioned at your cursor.

🎨 3. Flagship Setup Journey & Settings Layout Wireframes

  • Interactive Miniature Layout Wireframes (PresetLayoutWireframe): Real-time CSS mini browser window previews for every preset illustrating top bar vs bottom bar, left sidebar vs right sidebar, active tab illumination, and custom viewports (Developer code preview, Privacy Sentinel shield).
  • Spacious & Breathable Architecture: Expanded Step 0 of onboarding to max-w-4xl (896px) with zero text truncation (line-clamp-1 trailing ... removed) and curated 1-line human taglines.
  • Settings Modal Presets Overhaul: Brought compact h-20 layout wireframes into Settings → Browsing Presets & Layouts, complete with active status badges, smooth preset activation, and integrated Duplicate/Edit/Delete actions.
  • Restrained Studio Actions: Replaced bright high-contrast yellow buttons with understated Preset Studio → secondary links.

🔍 4. Next-Gen Dual Zoom Engine: Page Zoom & Canvas Loupe

  • 180ms Apple Spring Reflow Curve: Immediate frame-0 wv.setZoomFactor(targetFactor) reflow coupled with a buttery 180ms spring expansion/contraction animation (cubic-bezier(0.22, 1, 0.36, 1)). Added synchronous layout flushes and chained matrix interpolation for rapid keystrokes without jumping.
  • Chromium Standard Zoom Ladder: Standardized zoom steps (25% to 500%) with a subtle 90ms opacity dip cushioning layout paints.
  • Precision Touchpad Pinch & Settle-to-Sharp Canvas Loupe: Continuous Precision Touchpad pinch gestures scale the visual canvas magnifier 1:1, settling into vector-sharp clarity after 120ms without altering page reflow, media queries, or words-per-line.
  • Shortcut Disentanglement: Standard Ctrl + Scroll strictly controls website page zoom; Ctrl + Alt + Scroll and precision touchpad pinch control canvas zoom.
  • Mouse Navigation: Added Middle-Mouse drag and Spacebar hand-tool panning across magnified canvas views.
  • HUD Isolation: Isolated the Zoom HUD to prevent recursive scaling and unified popup/OAuth window zoom styling.

🛠️ Complete Bug Fixes & Polish Log (All 62 Items)

Window, Navigation & Webview Interaction

  • Right-Click Context Menu Reliability: Fixed Copy, Cut, Paste, and Copy Image inside webviews and UI inputs.
  • External Window Routing: Fixed target="_blank", window.open, and external link routing so websites open in the active QBrowse tab rather than spawning orphaned windows.
  • F11 Fullscreen Refinements: Prevented Escape key from accidentally closing fullscreen; fixed strange TopBar background styling in F11 mode; and decoupled URL bar focus so suggestions never float alone.
  • TopBar Live Backdrop Blur: Maintained active backdrop-filter: blur throughout the entire top bar slide/peek transition.
  • F5 & Ctrl+R Reload Binding: Globally bound F5 and Ctrl+R in both host UI and guest webviews to reliably reload active tabs.
  • Click-Outside Omnibox Dismissal: Fixed click-outside detection when clicking from the Omnibox into the guest webview.
  • Session Restoration Setting: Added toggle to choose between restoring previous tabs on launch or starting fresh.
  • Eco Mode Transparent Background: Fixed transparent background glitches when Battery Saver / Eco Mode is active.

Workspaces, Custom Spaces & GitHub Integration

  • Workspace Reordering Performance: Eliminated severe lag and freezes when reordering spaces by swapping live <webview> DOM nodes via CSS flex order instead of unmounting and remounting them.
  • Spaces Switcher Drag-to-Reorder: Fixed bottom sidebar pill drag-and-drop reordering in Electron.
  • Workspace Icon Picker Root-Cause Fix: Anchored the icon picker directly in-tree inside the scrolling container with backdrop-filter: blur(28px), fixing Chromium compositor black-buffer decoupling and window transparency leaks.
  • GitHub Live Folder Layout: Fixed tab counter badge overflows and label clipping ("Reviews", "PRs", "Issues") with container box transition animations.
  • GitHub Glance Popover: Fixed click-outside dismissal, open/close spring transitions, and liquid glass styling.
  • Sidebar Right-Dock Button Order: Corrected navigation button layout when the sidebar is docked on the right side.
  • Tool Hub Custom Spaces Scoping: Integrated Tool Hub Notes with custom workspaces so notes filter cleanly per space.
  • Tool Hub Closing Transition: Added smooth spring unmount animations to the Tool Hub drawer.
  • Add Pin Modal Glass: Added backdrop-blur liquid glass styling to the Pin App to Sidebar modal.

Security, Tor & Cloud Sync

  • QVault Autofill & WebAuthn Interception: Intercepted WebAuthn / Passkey requests to handle them natively in QVault instead of triggering unexpected Windows Hello popups.
  • Forgot Password Lockup: Resolved freeze/lockup condition when triggering website password reset flows.
  • Tor Mode Switching Lifecycle: Resolved Tor mode proxy binding races, circuit handshakes, and state transitions. Removed the redundant inline Tor button from the Incognito header.
  • Cloud Sync Throttling & Architecture: Debounced cloud sync triggers to eliminate excessive network churn. Added custom presets, active preset, and layout architecture settings to cloud synchronization.
  • Cross-Device Cloud Tabs: Fixed edge cases in remote tab sync so "Tabs from other devices" display reliably in settings and popovers.

Performance, Memory & Engine Stability

  • Eliminated App Jitter & Hitching: Removed 1-second full MainFrame re-renders, 60–120fps dragover state churn, and unstable selector references across the app.
  • Settings Modal Lazy-Mounting: Isolated the 5,500-line Settings modal behind a single-boolean selector gate, deferred tab mounting by 1 frame, and compressed default stock wallpapers to 640px async thumbnails.
  • Tab Suspending Timer Enforcement: Eliminated premature tab suspension by enforcing strict inactivity thresholds and safeguarding active/recent tabs.
  • Llama Local AI Context Sizing: Fixed llama.cpp context window (-c / n_ctx) calculation, CustomSelect dropdown layout width, and server restart race conditions.
  • AI Webpage Summarization: Fixed the DOM text extraction context pipeline for AI page summaries.
  • Node Undici TLS Assertion Fix: Replaced native filter list downloads with core streaming https.get clients, eliminating Node AssertionError: assert(!this.paused) socket crashes.
  • HTML5 Tokenizer & Reader Mode: Fixed missing HTML5 tokenizer errors in Reader Mode article parsing.
  • Custom Liquid Glass Tooltip Engine: Replaced native Windows OS title="..." tooltips with a lightweight custom liquid-glass tooltip system.
  • Snappy Ctrl+Tab Switcher: Replaced sluggish fade transitions on the tab switcher overlay with an instant-response preview transition.