<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:media="http://search.yahoo.com/mrss/"
>

<channel>
	<title>User Defaults &#8211; Wade Tregaskis</title>
	<atom:link href="https://wadetregaskis.com/tags/user-defaults/feed/" rel="self" type="application/rss+xml" />
	<link>https://wadetregaskis.com</link>
	<description></description>
	<lastBuildDate>Sat, 17 Feb 2024 16:53:43 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://wadetregaskis.com/wp-content/uploads/2016/03/Stitch-512x512-1-256x256.png</url>
	<title>User Defaults &#8211; Wade Tregaskis</title>
	<link>https://wadetregaskis.com</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">226351702</site>	<item>
		<title>Proactive Peek &#038; Reveal on Edge Hover</title>
		<link>https://wadetregaskis.com/proactive-peek-reveal-on-edge-hover/</link>
					<comments>https://wadetregaskis.com/proactive-peek-reveal-on-edge-hover/#respond</comments>
		
		<dc:creator><![CDATA[]]></dc:creator>
		<pubDate>Mon, 12 Feb 2024 22:29:57 +0000</pubDate>
				<category><![CDATA[Howto]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[Broken by design]]></category>
		<category><![CDATA[Proactive Peek]]></category>
		<category><![CDATA[Reveal on Edge Hover]]></category>
		<category><![CDATA[Sad]]></category>
		<category><![CDATA[User Defaults]]></category>
		<guid isPermaLink="false">https://wadetregaskis.com/?p=7692</guid>

					<description><![CDATA[These are two misfeatures that appeared in macOS Sonoma (I believe). They are where a closed sidebar forces its way back into view temporarily, if the mouse comes to rest near the relevant edge of the window. It&#8217;s easy to see how some UI designer thought this was a good idea. Surely if you move&#8230; <a class="read-more-link" href="https://wadetregaskis.com/proactive-peek-reveal-on-edge-hover/" data-wpel-link="internal">Read more</a>]]></description>
										<content:encoded><![CDATA[
<p>These are two misfeatures that appeared in macOS Sonoma (I believe).  They are where a closed sidebar forces its way back into view temporarily, if the mouse comes to rest near the relevant edge of the window.</p>



<figure class="wp-block-video aligncenter fucking-wordpress"><video height="282" style="aspect-ratio: 174 / 282;" width="174" autoplay loop preload="auto" src="https://wadetregaskis.com/wp-content/uploads/2024/02/Proactive-Peek.mp4" playsinline></video></figure>



<p>It&#8217;s easy to see how some UI designer thought this was a good idea.  Surely if you move the mouse near the edge of the window (or the screen, in fullscreen mode) and rest it there, it&#8217;s because you&#8217;re looking forlornly for your lost sidebar?  What could be more helpful and delightful than your missing sidebar popping into view?!</p>



<p>Unfortunately, they have ignored that fact that there is usually already other GUI controls at the edge of the window, not the least of which being the window edge itself (for drag-resizing of the window).  Scrollbars are another common inhabitant of window edges.</p>



<p>&#8220;Proactive Peek&#8221; is the worst of these two because not only does it change what&#8217;s under the mouse cursor <em>just</em> as you&#8217;re likely to click, stealing the click away from its true target, but it actually shrinks the window&#8217;s visible contents.  This leads to layout changes and motion noise, particularly in web pages where it can have knock-on effects like mucking with the scroll position or causing major changes by crossing some &#8220;responsive design&#8221; threshold.</p>



<div class="wp-block-group"><div class="wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained">
<p>I&#8217;m <a href="https://forums.macrumors.com/threads/annoying-window-resizing-when-cursor-is-on-the-left.2408523/" data-wpel-link="external" target="_blank" rel="external noopener">not</a> <a href="https://www.reddit.com/r/MacOS/comments/12x96sg/disable_window_resize_when_moving_mouse_pointer/?rdt=34945" data-wpel-link="external" target="_blank" rel="external noopener">the</a> <a href="https://www.reddit.com/r/MacOS/comments/17ep9sr/when_i_rest_my_mouse_on_the_left_edge_of_safari/" data-wpel-link="external" target="_blank" rel="external noopener">only</a> <a href="https://mastodon.social/@stroughtonsmith/111914161132274876" data-wpel-link="external" target="_blank" rel="external noopener">one</a> to detest this &#8216;feature&#8217;, although it&#8217;s hard to know the sentiments of the overall Mac community since these &#8216;features&#8217; have no official names &#8211; I deduced them from the private method &amp; category names in AppKit &#8211; so they&#8217;re hard to search for.  FWIW, I could not find a single positive comment about these behaviours.</p>
</div></div>



<p>Unfortunately there&#8217;s no way to turn this poorly-considered &#8216;feature&#8217; off completely, although you can effectively disable the &#8220;Reveal on Edge Hover&#8221; piece:</p>



<figure class="wp-block-pullquote"><blockquote><p><code>defaults write -g NSSplitViewItemFullscreenEdgeRevealDelay -float 1e300</code><br><code>defaults write -g NSSplitViewItemTileEdgeRevealDelay -float 1e300</code></p><cite><a href="https://mastodon.social/@stroughtonsmith/111914177378857069" data-wpel-link="external" target="_blank" rel="external noopener">Steve Troughton-Smith</a></cite></blockquote></figure>



<p>If you&#8217;re an app developer it looks like (I haven&#8217;t tested it) you can disable these &#8216;features&#8217; within your own app, at least, by implementing the private <code>NSSplitView</code> delegate method <code>_splitView:canProactivePeekArrangedView:</code> and setting the <code>NSSplitView</code> <code>revealsOnEdgeHoverInFullscreen</code> property to <code>NO</code> (or the <code>NSSplitViewController</code> private property <code>&nbsp;_hasItemToRevealOnEdgeHover</code> to <code>NO</code>, if you&#8217;re using <code>NSSplitViewController</code>).  Or subclassing <code>NSSplitView</code> and overriding <code>_canDoSidebarProactivePeek</code> and <code>_canDoInspectorProactivePeek</code> to return NO &#8211; though that only applies to Proactive Peek.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://wadetregaskis.com/proactive-peek-reveal-on-edge-hover/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		<enclosure url="https://wadetregaskis.com/wp-content/uploads/2024/02/Proactive-Peek.mp4" length="34788" type="video/mp4" />

			<media:content url="https://wadetregaskis.com/wp-content/uploads/2024/02/Proactive-Peek.avif" medium="image" />
<post-id xmlns="com-wordpress:feed-additions:1">7692</post-id>	</item>
	</channel>
</rss>
