TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Fixing QuickLook (2023)

240 pointsby rogual11 months ago

14 comments

AnonC11 months ago
This was quite an interesting read, even though I didn't understand some of the details. QuickLook is basically tampering with the accuracy/completeness of the item by using a border and rounded corners. Whoever designed this may have believed that this looks nicer, but there's no good reason to remove information (even if a little bit) while displaying things.
__d11 months ago
This is lovely.<p>As someone who doesn&#x27;t use ObjC in earnest, it&#x27;s also a good reminder of how nice it is under the hood.
krackers11 months ago
Note that if you&#x27;re just experimenting you can also use LLDB&#x27;s breakpoint commands + &quot;thread ret&quot;&#x2F;reg write to control logic.<p>But I&#x27;ve had some weird issues using &quot;thread ret&quot; (even when using it as the first instruction in a function when it shouldn&#x27;t corrupt the stack), so patching memory is probably cleaner.
dlivingston11 months ago
Cool investigation into the guts of macOS. I had no idea symbols were still present for production builds in macOS and that they are so easily &#x27;hackable&#x27;.<p>I hadn&#x27;t noticed before, but it is very strange to round corners of images in QuickLook. Apple should revert this change.
评论 #40793988 未加载
评论 #40801334 未加载
projektfu11 months ago
I recognized myself in this article, except I usually don&#x27;t get to the solution at the end. Bravo.<p>Anyone have a good way to not be distracted by every egregious annoying thing that appears in your daily routine?
评论 #40793826 未加载
behnamoh11 months ago
90% of macOS is legacy code and programs that worked well in OS X and even NeXT OS. It&#x27;s insane that every once in a while, Apple decides to poke around those areas and make some &quot;improvements&quot;. When I put that next to what Microsoft is doing with Windows, I can only ask:<p><pre><code> Have we lost the art of OS design? </code></pre> I mean, surely there must be designers and programmers in those companies who still know what a good OS experience is like. But are marketing and sales people louder in those companies?
z50011 months ago
This was a great article. I&#x27;ve been playing around with Smalltalk for a few weeks, which I understand is like the spiritual ancestor of Objective-C, and this reminded me a lot of that. It&#x27;s probably mostly down to the oddball calling convention, but I wonder if other GUIs are as easy to introspect and patch.
xhruso0011 months ago
This article is a golden goose for anyone learning lldb or improving on their lldb skills. Thanks!
harel11 months ago
Didn&#x27;t Gnome had this feature too at some point in the past? I have a clear memory of this working in Gnome and then not...
评论 #40806394 未加载
reboot8111 months ago
Nice writeup. Annoying behavior of Apple. But is it worth disabling SIP for? No.
评论 #40801188 未加载
评论 #40801343 未加载
评论 #40799229 未加载
pornel11 months ago
Design of macOS since BigSur took such a nosedive.<p>Buttons are flat text that doesn&#x27;t look clickable, with the best case of having a very faint border, sometimes only on hover. There are multiple ad-hoc checkbox replacements. There&#x27;s a jarring cacophony of old macOS and new iPadOS UI elements — old UI elements with small fonts, small padding, and teeensy disclosure indicators share the screen with big fat round blobs lazily transplanted from a touch screen OS. Some elements react to hover, some don&#x27;t. Some can only be discovered by hovering mouse in a specific location. Menus have varying heights, and varying padding.<p>Such unpolished inconsistent details used to be a tell-tale of non-native UI toolkits, or skins for other OSes faking a Mac OS X look. Now macOS looks like a hasty unfinished reskin of iPadOS ;(
评论 #40795594 未加载
评论 #40795746 未加载
评论 #40799269 未加载
评论 #40796307 未加载
评论 #40795327 未加载
fredsted11 months ago
I&#x27;m puzzled someone in the macOS department made it a priority to fiddle with adding some border to QuickLook when there&#x27;s so much stuff broken in macOS (and QuickLook itself)
评论 #40801123 未加载
评论 #40797639 未加载
评论 #40793420 未加载
a2tech11 months ago
Well that was an interesting journey. I don’t think rounded corners would bother me enough to go digging that deep, but I appreciate that it bothered someone enough that they went to the trouble and wrote it up.
评论 #40795384 未加载
lloydatkinson11 months ago
I know nothing about mac but damn what is Apple playing at? Have they succumbed to the dumb trend ux people are obsessing over of late - removing buttons or making buttons appear unclickable?<p>Look at the left and right screenshot. On the left, I can clearly see the Preview button. On the right, it&#x27;s barely a button. Also, the default window background colour now looks like a washed out water colour brown.<p>What are they thinking?
评论 #40794993 未加载
评论 #40795331 未加载