惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Hugging Face - Blog
Hugging Face - Blog
Google DeepMind News
Google DeepMind News
云风的 BLOG
云风的 BLOG
WordPress大学
WordPress大学
Vercel News
Vercel News
Apple Machine Learning Research
Apple Machine Learning Research
T
Tailwind CSS Blog
I
InfoQ
小众软件
小众软件
Recent Announcements
Recent Announcements
博客园 - 【当耐特】
The GitHub Blog
The GitHub Blog
大猫的无限游戏
大猫的无限游戏
美团技术团队
T
The Blog of Author Tim Ferriss
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
酷 壳 – CoolShell
酷 壳 – CoolShell
MongoDB | Blog
MongoDB | Blog
V
V2EX
J
Java Code Geeks
有赞技术团队
有赞技术团队
博客园 - 聂微东
B
Blog RSS Feed
博客园 - 司徒正美

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
RetroWin – Bringing the classic Windows taskbar back, on ...
Pengpeng · 2026-05-14 · via DEV Community

Pengpeng

Why I built this

I switched from Windows to a Mac about three years ago. The Dock has never stopped annoying me, and I think the reasons are objectively interesting, not just nostalgia:

  1. You can't tell which windows are open. A dot under an icon means "running" — but if Chrome has 3 windows you see one dot. To switch to a specific window you right-click → pick from a list, or fall through Mission Control.
  2. Minimized windows vanish. They collapse into a tiny thumbnail at the right edge of the Dock. With a busy Dock, they're effectively invisible. I've watched coworkers lose track of windows for hours.
  3. No window titles. The Dock shows app icons. With four VS Code windows open, good luck telling them apart without hovering.
  4. Notification badges are a red dot. Easy to miss. A flashing button is not.
  5. No system tray. macOS has the menu bar, but it's at the top, space-constrained, and the notch ate half of it. The Windows taskbar — particularly the Win7 / pre-Win11 era — solved these in 1995 and the design has held up. I wanted that on macOS without giving up macOS itself. So: don't replace the Dock, run alongside it.

What it actually does

This isn't a CSS reskin of a Dock replacement. The window-management is real:

  • Tracks every window on every screen via macOS Accessibility API; renders one button per window or per app (your choice).
  • Hover preview of window contents (CGWindowListCreateImage at low frequency).
  • Pin to taskbar, drag-to-reorder, persists across closes.
  • Per-monitor independent taskbars — enable/disable on each display individually.
  • Auto-hide with edge-trigger reveal.
  • System tray with clock, volume slider (with output-device switcher), input-method indicator, custom app tray icons.
  • Notification flash — orange button pulse when an app's badge or banner fires. Detected from the Notification Center DB + dock-tile badge changes.
  • Start Menu per theme: Win98 single column, XP two-column with sidebar, Win7 with search, Win10 tiled grid with live-tile-style pinning.
  • Power menu (Sleep / Restart / Shut Down / Lock / Log Off) with a theme-matching dialog for each — yes, including the XP "It is now safe to turn off your computer" energy.
  • Auto-update via Sparkle.
  • 6 languages (EN, 简中, 繁中, 日本語, 한국어, FR).

The themes are the point

Each theme is a from-scratch render: button bevels, gradient stops, font hinting, the corner radii on Aero glass, the exact pixel offset of the Win98 raised-edge. I rebuilt the assets rather than ripping bitmaps because I wanted everything to scale cleanly from 50% to 200% (a hard constraint on Retina + multi-DPI setups).
Win10 uses NSVisualEffectView for Acrylic. Win7 uses a layered blur stack to fake Aero on macOS (which doesn't expose the same compositor primitives). Win98 / XP are plain Core Graphics — no blur, just bevels and gradients, which oddly turned out to be the most fun to draw.

Honest comparison vs uBar

uBar has owned this niche on macOS for a decade. Worth being upfront:

RetroWin uBar
Look Pixel-perfect Win98 / XP / 7 / 10 Modern, customizable colors
Start Menu Full per-theme menus + search + tiles Simple Start menu
Window preview Yes Yes
Notif flash Win-style orange pulse Badge dot
Price Free core; ~$1.20 Pro $30
Languages 6 2
Vibe Era-accurate retro Clean modern utility

If you want a modern Dock alternative, uBar is great. If you specifically want the Windows taskbar you grew up with, that's where RetroWin fits.

Things I underestimated

A few war stories for any Mac dev considering this kind of project:

  • Accessibility permission and code-signing. I'm not in the Apple Developer Program, so every release ships with a different ad-hoc signature, which means macOS revokes Accessibility every update. There's a documented FAQ workaround (remove + re-add in Privacy settings), but the right fix is buying into the $99/yr program — on the roadmap.
  • Window event polling. AXObserver gives you create/destroy events for windows, but not reliably across all apps. I ended up with a 1Hz reconcile loop on top of event-driven updates. CPU stays under 0.5% on an M2.
  • Notification detection. There's no public API. I read the Notification Center SQLite (~/Library/Group Containers/group.com.apple.usernoted/db2/db) and watch dock-tile badge attributes via AX. Brittle but it works.
  • Multi-monitor + Spaces + fullscreen. Each fullscreen window lives in its own Space. Drawing the taskbar on top requires the right NSWindow.collectionBehavior flags or it just disappears when you swipe between Spaces. Took an embarrassing amount of trial and error.
  • Per-theme everything. It's tempting to share Start Menu code. Don't. The four eras have genuinely different interaction models — search is a first-class verb in Win7+, not in Win98 — and trying to abstract them produced worse code than four parallel implementations. ## What it's not
  • Not a Dock replacement. Run them together, or hide the Dock yourself in System Settings.
  • Not signed/notarized yet. Gatekeeper will warn on first launch — Open Anyway, or xattr -cr /Applications/RetroWin.app.
  • Not open source (yet). The release repo (issues + downloads) is public; the source isn't. Happy to discuss if there's interest.
  • Not a Windows compatibility layer. It's a taskbar. Your apps are still macOS apps. ## Try it Download the latest DMG from the GitHub releases page, drag to Applications, grant Accessibility, pick a theme. I'd genuinely love feedback on:
  • Theme accuracy — if you spot something un-period-correct, file an issue with a screenshot. I will fix it.
  • Edge cases on weird monitor setups (eGPU, mixed Retina/non-Retina, vertical screens).
  • Whether you'd want a Win11 theme. (I keep going back and forth on this. Win11's taskbar is the most controversial of the bunch.) Thanks for reading.