{"id":3173,"date":"2014-10-16T20:53:53","date_gmt":"2014-10-17T03:53:53","guid":{"rendered":"http:\/\/manytricks.com\/blog\/?p=3173"},"modified":"2015-09-06T06:32:33","modified_gmt":"2015-09-06T13:32:33","slug":"a-workaround-for-a-yosemitewitch-issue","status":"publish","type":"post","link":"https:\/\/manytricks.com\/blog\/?p=3173","title":{"rendered":"A workaround for a Yosemite\/Witch issue"},"content":{"rendered":"<p><!--RGSupportContent-->Over the course of the Yosemite beta, we&#8217;ve had a few reports of users not being able to make <a href=\"\/witch\">Witch<\/a> work properly. If you&#8217;ve got this problem, you&#8217;ll know, because you&#8217;ll see this dialog <em>every time<\/em> you try to call up the Witch switcher panel:<\/p>\n<div align=\"center\"><img decoding=\"async\" src=\"\/images\/blogimages\/witch_warn.png\" width=\"545px\"><\/div>\n<p>For the sake of search engines, the text reads:<\/p>\n<blockquote><p><b>&#8220;witchdaemon&#8221; would like to control this computer using accessibility features<\/b><\/p>\n<p>Grant access to this application in Security &#038; Privacy preferences, located in System Preferences.<\/p><\/blockquote>\n<p>You&#8217;ll see that even after you think you&#8217;ve done what it asks you to do, and then you&#8217;ll get frustrated and upset and angry and blame us and send me nasty emails. And I completely feel your pain. And I wish I could tell you that it&#8217;s a bug in our code that&#8217;s causing the problem, so that we could fix it. But it&#8217;s not.<\/p>\n<p>Instead, it&#8217;s an issue with Yosemite and how it handles (or rather, doesn&#8217;t handle) granting Accessibility access to helper apps that are included within another app&#8217;s bundle. So as much as I&#8217;d love to tell you we&#8217;re working on a fix, this isn&#8217;t something we can fix. (We may be able to work around the OS X issue, which is what we&#8217;re trying to do now. But that&#8217;s not fixing the problem, it&#8217;s avoiding the problem.)<\/p>\n<p>The good news is that you can get Witch functioning again, even before Apple fixes the issue (or we manage to work around it). Here&#8217;s how&hellip;<\/p>\n<p><!--more--><\/p>\n<p>The problem is caused by OS X not adding Witch&#8217;s helper application&mdash;named witchdaemon&mdash;to the Privacy tab of the Security &#038; Privacy System Preferences panel. At least, it doesn&#8217;t appear it&#8217;s being added. We believe it <em>is<\/em> being added, but it&#8217;s invisible&mdash;which is just as bad as not adding it, because you can&#8217;t put a check mark in an invisible check box next to an invisible item.<\/p>\n<p>The workaround is to add the helper app to the panel yourself. This won&#8217;t solve the invisibility problem&mdash;it&#8217;s still not going to show up, even after you add it&mdash;but it will get Witch working again. That&#8217;s because when you add an app to the panel yourself, OS X adds it with the (invisible) check box already (invisibly) checked.<\/p>\n<h4>A video walkthrough<\/h4>\n<p>If you prefer visual guides, watch the video below; it walks through the entire process <b>for the App Store version of Witch<\/b>. (If you&#8217;d prefer, you can <a href=\"\/images\/blogvideos\/witch_yosemite_big.m4v\">watch the 1280&#215;800 version<\/a> instead.)<\/p>\n<div class=\"stickynote\" style=\"text-align:justify\">Direct customers: The direct version of Witch is a System Preferences panel; it won&#8217;t be found in Applications, but in either your user&#8217;s Library > PreferencePanes folder, or the top-level Library > PreferencePanes folder. One of the two will contain a file named Witch.prefPane.<br \/>&nbsp;<br \/>\nOpen the proper folder, then follow along in the video ignoring the bits about the Applications folder. Also note that you&#8217;ll only have to open the pref pane&#8217;s app bundle to find witchdaemon, unlike App Store buyers who have to open two app bundles. See the written instructions below for more help if needed.<\/div>\n<div align=\"center\">\n<video width=\"560\" height=\"396\" controls=\"controls\"><source src=\"\/images\/blogvideos\/witch_yosemite_small.m4v\" type=\"video\/mp4\" \/>Sorry, but your browser does not support the &lt;video&gt; tag; <a href=\"\/images\/blogvideos\/witch_yosemite_small.m4v\">here&#8217;s a link<\/a> to the movie.<\/video>\n<\/div>\n<p>And now, on to the written instructions&hellip;<\/p>\n<h4>App Store customers<\/h4>\n<ol>\n<li>Open System Preferences, and go to Security &#038; Privacy, then click on the Privacy tab. Click on Accessibility in the sidebar. Leave this window open somewhere onscreen.<\/li>\n<li>In Finder, go to the Applications folder, and right-click (or Control-click) on Witch. In the contextual menu that appears, select Show Package Contents. This may or may not open in a new window.<\/li>\n<li>In the new window (or the same window, if a new one didn&#8217;t open), double-click Contents, and then PlugIns within contents. This will reveal a Witch.prefPane entry as the only contents of that folder.<\/li>\n<li>Right-click (or Control-click) on Witch.prefPane and choose Show Package Contents. Again, this may or may not open in a new window.<\/li>\n<li>Double-click Contents, then Helpers, and you&#8217;ll see witchdaemon as the only item in that folder. Leave this window open.<\/li>\n<li>Switch back to the System Preferences app, as opened in step one.<\/li>\n<li>Click the lock icon and enter your admin password, so you can make changes.<\/li>\n<li>Click the plus sign at the bottom of the &#8220;Allow the apps below to control your computer&#8221; area of the window. (You could also simply drag the file into the &#8220;well&#8221; area without going through the &#8220;open file dialog.)<\/li>\n<li>This will present the standard &#8220;open file&#8221; dialog; click and drag witchdaemon from the open window in step five into the open file dialog, then click Open.<\/li>\n<\/ol>\n<p>That&#8217;s it, you&#8217;re done. <\/p>\n<h4>Direct customers<\/h4>\n<ol>\n<li>Open System Preferences, and go to Security &#038; Privacy, then click on the Privacy tab. Click on Accessibility in the sidebar. Leave this window open somewhere onscreen.<\/li>\n<li>In Finder, hold down the Option key and select Go > Library. In the Library folder, double-click on PreferencePanes. If you see Witch.prefPane, you&#8217;re in the right spot&mdash;skip to step four.<\/li>\n<li>If you don&#8217;t see Witch.prefPane here, you must have installed it for all users. Select Go > Go to Folder, and enter \/Library\/PreferencePanes. This is the system-level Library, and you should see Witch.prefPane here. (If you don&#8217;t, it means you either don&#8217;t have Witch installed, or you have the App Store version installed.<\/li>\n<li>Right-click (or Control-click) on Witch.prefPane and choose Show Package Contents. This may or may not open in a new window.<\/li>\n<li>Double-click Contents, then Helpers, and you&#8217;ll see witchdaemon as the only item in that folder. Leave this window open.<\/li>\n<li>Switch back to the System Preferences app, as opened in step one.<\/li>\n<li>Click the lock icon and enter your admin password, so you can make changes.<\/li>\n<li>Click the plus sign at the bottom of the &#8220;Allow the apps below to control your computer&#8221; area of the window. (You could also simply drag the file into the &#8220;well&#8221; area without going through the &#8220;open file dialog.)<\/li>\n<li>This will present the standard &#8220;open file&#8221; dialog; click and drag witchdaemon from the open window in step five into the open file dialog, then click Open.<\/li>\n<\/ol>\n<p>That&#8217;s it, you&#8217;re done.<\/p>\n<h4>But nothing changed!<\/h4>\n<p>You may think this failed, because nothing will look different about the Privacy panel (as witchdaemon is still invisible). But because you added the app yourself, the invisible checkbox has already been checked for you. Invoke Witch now, and it should just work. (Assuming you have already added Witch.app (App Store buyers) or System Preferences (direct buyers) to that panel. This happens the first time you launch the app\/pref pane, and the entry is <em>not<\/em> invisible.)<\/p>\n<p>We are trying to put together a repeatable use case for Apple (because they pretty much require those for their bug reports), but it&#8217;s tricky&mdash;this bug is only hitting a small number of our users at present, and we&#8217;re not sure why. Hopefully we&#8217;ll be able to figure out a workaround and issue an app update to resolve the problem, but at least you can still get Witch working in the interim.<!--\/RGSupportContent--><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Over the course of the Yosemite beta, we&#8217;ve had a few reports of users not being able to make Witch work properly. If you&#8217;ve got this problem, you&#8217;ll know, because you&#8217;ll see this dialog every time you try to call up the Witch switcher panel: For the sake of search engines, the text reads: &#8220;witchdaemon&#8221; [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1],"tags":[],"coauthors":[21],"class_list":["post-3173","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/manytricks.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/3173","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/manytricks.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/manytricks.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/manytricks.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/manytricks.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3173"}],"version-history":[{"count":23,"href":"https:\/\/manytricks.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/3173\/revisions"}],"predecessor-version":[{"id":3465,"href":"https:\/\/manytricks.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/3173\/revisions\/3465"}],"wp:attachment":[{"href":"https:\/\/manytricks.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3173"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/manytricks.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3173"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/manytricks.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3173"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/manytricks.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcoauthors&post=3173"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}