Skip to content

Trackora v2.2.0

Choose a tag to compare

@SamXop123 SamXop123 released this 15 Aug 15:33
· 54 commits to main since this release

The Privacy & Performance Update 🚀

[2.2.0] - 2026-08-15

This release introduces the ability to pause tracking and exclude specific applications from being tracked, followed by a major performance engine overhaul ($O(N)$ analytics math & async icon extraction), data protection backups, native Windows High-DPI scaling, and refined UI/UX improvements.

Pause Tracking & Excluded Applications

  • Global Pause Tracking State:
    • Added global tracking pause control accessible from both the System Tray context menu and the Dashboard UI.
    • Automatically finalizes active session recording and displays a dedicated PAUSED pill badge (#f59e0b) while clearing active application timers.
    • Ensures full bi-directional state synchronization between the background daemon service, system tray, and GUI client.
  • Excluded Applications Management:
    • Introduced an interactive Excluded Applications selector in Settings (get_all_detected_applications()) allowing users to pick installed desktop apps or running processes to ignore.
    • Excluded applications are filtered out by the tracking engine before database persistence to maintain strict user privacy.

Performance & Engine Overhaul

  • $O(N)$ Floating-Point Analytics Engine:
    • Replaced nested ISO date string parsing with single-pass floating-point epoch math, speeding up 30-day and 90-day Reports queries from 5 seconds to ~3 ms (over 900x faster).
    • Added SQLite database indexes on session timestamps and app names to eliminate full-table scans.
    • Added smart in-memory query caching with database modification checks for instantaneous range filter switching.
  • Asynchronous Icon Extraction (QThreadPool):
    • Moved Windows shell .exe icon extraction to background worker threads so Application cards render in 0 ms with no UI thread freeze.
    • Indexed Windows Start Menu shortcuts in memory to eliminate repeated directory scans.
  • Instantaneous Tab Navigation:
    • Made sidebar tab switches and navigation instantaneous with deferred data reloads.

Data Protection & Installer Safety

  • Safe Installer & Database Isolation:
    • Updated Inno Setup installer scripts to strictly preserve user tracking database %LOCALAPPDATA%\trackora\trackora.db across re-installations and uninstalls.
    • Added automatic process termination hooks (taskkill) during setup and teardown to prevent locked executable files.
  • Automated Online Rolling Backup:
    • Implemented SQLite online backup engine (trackora/database/sqlite.py) creating non-blocking automatic backups at %LOCALAPPDATA%\trackora\backups\trackora_auto_backup.db.

Dashboard & UI Polish

  • Top Applications Progress Bars:
    • Built a dedicated custom-painted _ProgressBar component with a vibrant electric blue gradient (#3b82f6 $\rightarrow$ #60a5fa), text baseline alignment, and relative scaling.
  • Hourly Bar Chart Tooltip Headroom:
    • Expanded top chart padding to 28px with boundary clamping to prevent tooltip text truncation on peak 58m–60m bars.

Settings & Management Fixes

  • Wipe Database & Reset Today:
    • Fixed SQLite transaction handling for autocommit DELETE and VACUUM commands.
    • Added data_reset_requested signal in MainWindow to instantly reload in-memory caches across all dashboard pages after a reset.

Display & Windows High-DPI Polish

  • Per-Monitor v2 High-DPI Awareness:
    • Configured native Windows Per-Monitor High-DPI awareness (DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2) and pass-through scaling policy.
    • Enabled sub-pixel font anti-aliasing and full hinting, eliminating blurry or pixelated text on high-resolution displays.

Thank you for trying out Trackora ✨