Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Claude discovers a novel enzyme system with CRISPR-like repeats(anthropic.com)
    49comments
  2. Fixing the Portobello Police Station Clock(pointinthecloud.com)
    63comments
  3. A brief history of Windows scroll bar shortcuts(devblogs.microsoft.com/oldnewthing)
    8comments
  4. Italian parliament votes for return to nuclear energy(apnews.com)
    92comments
  5. Radicle: Disclosure of Vulnerability in the Network Protocol(radicle.dev)
    24comments
  6. Gemini 3.8 text-to-speech(blog.google)
    87comments
  7. Jev in 25 Lines of Python(nobodywho.ai)
    166comments
  8. GPT-6 Sol and Luna(openai.com)
    813comments
  9. Claude Opus 5.5(anthropic.com)
    1054comments
  10. Claude Code reads AGENTS.md only when telemetry is on [fixed](szypowi.cz)
    226comments
  11. Cloud Agents Are Inevitable AI Prisons(normanponte.io)
    discuss
  12. Z80 REPL (2018)(abagames.github.io)
    16comments
  13. 28% of job postings on company career sites have been open over 90 days(unlisted.careers)
    182comments
  14. Stripe's Knowledge AI Platform(stripe.dev)
    89comments
  15. I don't want the details(michaelheap.com)
    159comments
  16. Seattle City Council votes to ban surveillance pricing in sale of groceries(consumerreports.org)
    101comments
  17. Tokens Too Cheap to Meter(jyn.dev)
    134comments
  18. Strands Harness(strandsagents.com)
    81comments
  19. QuestDB (YC S20) Is Hiring a Sales Engineer(questdb.com)
    discuss
  20. OpenAI GPT–6 Astra breaks Enigma message that has resisted solution since 2005(cryptocellar.org)
    428comments
  21. Web-based IBM 1620 emulator and IPL-V from 1963(github.com/pkimpel)
    6comments
  22. Transit rewards(waymo.com)
    289comments
  23. GPT-6 Astra has gained the ability to drive a car(drivingbench.com)
    187comments
  24. What California is learning from solar panels built over irrigation canals(kqed.org)
    652comments
  25. How did AMD Ryzen get 50% faster in two years?(lemire.me)
    187comments
  26. UK military jamming other nations' satellites to defend itself, BBC told(bbc.com)
    79comments
  27. The GitHub wiki is an anti-pattern (2022)(michaelheap.com)
    85comments
  28. Microsoft killed FoxPro in 2007. Anyway, here's FoxPro revived(foxscript.org)
    243comments
  29. SAML: A fractal of bad design(trailofbits.com)
    175comments
  30. What to do when your Waymo holds up a Secret Service motorcade(ft.com)
    11comments

A brief history of Windows scroll bar shortcuts

24 pointsby 1h agodevblogs.microsoft.com
8 comments
27m agoHN ↗

You can also left click on the scroll bar to scroll to a place.

15m agoHN ↗

What do you mean? In my experience and according to the article, it scrolls pages at a time when you left click on the gutter.

13m agoHN ↗

I think the article is focusing on the shortcuts.

11m agoHN ↗

If you mean dragging, then that’s more than just a single click. And if you mean clicking in the gutter, then it also doesn’t work with a single click; you have to make use of the auto-repeat functionality, which takes O(n) time, where n is the distance between positions in number of pages. Shift+Click does it instantly in O(1).

16m agoHN ↗

It’s about time that Raymond Chen starts ranting about the increasing amount of UI inconsistencies and loss of formerly ubiquitous features. (Or maybe I missed previous installments.)

16m agoHN ↗

In Linux/GTK, clicking in the gutter navigates to that position, and I have just discovered that Shift+clicking is equivalent to PageUp/PageDown, and that right-clicking seems to also be equivalent to PageUp/PageDown in Firefox, but scrolls at a fixed slow pace while the button is held in LibreOffice (15s per screenful at 6fps in Writer) and Inkscape (3s per screenful, smooth), and that middle-clicking is mostly PageUp/PageDown, but noop in Firefox; and I think those are the only apps I use (maybe even have installed) with regular scroll bars.

Oh yeah, one more, BibleTime which is Qt: it’s fairly Windowsy, click is PageUp/PageDown, right click is context menu (Scroll here, ---, Top, Bottom, ---, Page up, Page down, ---, Scroll up, Scroll down), Shift+click is same as click, middle-click is scroll here.

(These sorts of things are also one reason why you shouldn’t implement your own scroll bars in web pages: different platforms behave differently, and you can’t match it all sanely or sometimes at all.)

14m agoHN ↗

Sadly, almost nobody uses Win32 scroll bars any more. Everybody uses frameworks that provide their own custom scroll bars.

Yeah and, sadly, those framework implementations are all mired in some amount of bollocks due to lack of care, attention, or interest from their creators. And by bollocks I mean they either behave differently or do less.

But I very much miss the days of consistent UX across Windows applications, or indeed applications on any other OS.

I don’t mind if you want a custom look and feel for your application: I very much do mind if your widgets don’t behave like other widgets of the same type or, at least, where any variance is at least a superset of OS level functionality rather than a crippled subset.

I was always frustrated by how hard Microsoft made this as time wore on and they moved through more and more UI frameworks, and then offerings like CEF and Electron entered the mix as well. The UI story on Windows started getting particularly messy around 2007 or so and has been in an awful state of confusion for at least 15 years now.

I literally have no idea what I’d use to develop a Windows desktop app nowadays and, honestly, none of the options fill me with enthusiasm. With more recent desktop experiments, partly because whilst I might want them to run on Windows I don’t primarily work on Windows, I’ve gone the Rust + Qt route simply because it offers native performance and it doesn’t feel like I’m getting rug pulled by either set of creators any time soon.

6m agoHN ↗

I don’t mind if you want a custom look and feel for your application

I would go further and say that I don’t want a custom look and feel for each app unless the app is a game, especially if your app is a regular business logic app. The default Win32 widgets are good enough. The default Cocoa widgets are very good.