Archive for the ‘Development’ Category

Default Folder X 6.1.1 improves Quick Search and other features, fixes issues with Sequoia

Friday, November 1st, 2024

A free update is available for Default Folder X 6, adding improvements to existing features and fixing a bunch of issues that have come to light since the release of macOS 15 Sequoia.

Feature Enhancements

Quick Search: The Quick Search keyboard shortcut can now be used to both show and hide the Quick Search window – a minor detail that’s actually very convenient. And when you perform a search, the priority of matching sequential characters is now higher than matching capital letters. This makes the ranking of search results more intuitive. Displaying your Quick Search results is also a little gentler on the CPU – it doesn’t madly try to generate all of the preview icons it needs all at once.

Reveal in File Dialogs: You can now reveal items in file dialogs by holding down the Command key while choosing an item from one of Default Folder X’s menus. This is handy, for example, when you want to open a file that’s in the same folder as one of the files in your Recent Files menu. Command-selecting that file will switch the file dialog to the folder that contains it.

Finder Labels: The Label menu in Default Folder X’s Information panel is now customized with your favorite labels as defined in your Finder settings, rather than showing the system’s 7 default colors. It will also correctly show the label assigned to files stored on iCloud, even though iCloud mucks with the Finder attributes and sets the stored label to “gray” for all files saved to or moved to iCloud.

Bug Fixes

Format Menu: Sequoia contains a redesigned Save As dialog that optionally puts the file format near the top of the dialog, just below the filename. This could confuse Default Folder X 6.1 – it would replace the format menu with its customized path menu, rather than replacing the system-supplied path menu like it’s supposed to. Version 6.1.1 no longer gets confused when that redesigned dialog shows up in TextEdit, Bean, Skim or any other app that uses it.

Sequoia Accessibility Bug: A much bigger issue has been a bug in Sequoia that causes part of the system’s Accessibility API to fail when multiple apps are using it. We’ve found that running either uBar or SideBar stops Sequoia from informing Default Folder X when UI elements are destroyed. This results in DFX’s controls in file dialogs failing to update; its Finder Windows menu and Finder-click feature show windows that are no longer there; and various processes within DFX fail unexpectedly. It basically just gets confused – sometimes really confused. Thanks to help from Oliver Tuerk, developer of Sidebar, and code from Åsmund Vikane, developer of Yabai, I’ve put together a workaround that allows Default Folder X to function correctly even when Sequoia doesn’t.

Finder Toolbar Buttons: Sequoia brought a minor change to the Finder’s preference file contents that could result in Default Folder X resetting the positions of its buttons in your Finder toolbar after you’ve manually rearranged them. Sorry about that – I know it’s annoying and maddening for you folks that take the time to make your Mac setup perfect. Anyway, Default Folder X deals with it now – and in the process I was surprised to run into Classic Mac OS style alias records in the Finder prefs. I had to break out a bunch of deprecated Carbon API calls to resolve those aliases 😳

Miscellaneous Other Stuff: There are also fixes for Default Folder X’s drawer not working correctly in certain Stage Manager configurations and a few graphical glitches.

More Info

As usual, there are release notes and download links on the What’s New page. Or if you’re running Default Folder X on your Mac already, just select “Check for Update” from its menu in your menu bar. You’ll get the release notes and a button to automatically download and install version 6.1.1. Thanks for using and continuing to support Default Folder X!

Sequoia’s weekly permission prompts for screen recording

Wednesday, August 7th, 2024

From 9to5Mac:

With macOS Sequoia this fall, using apps that need access to screen recording permissions will become a little bit more tedious. Apple is rolling out a change that will require you to give explicit permission on a weekly basis to these types of apps, and every time you reboot your Mac.

While I understand Apple’s desire to make it clear that you’ve given apps permission to record your screen, this seems like a nuisance. You have to click “Allow For One Week” each week for every app that’s actively capturing or streaming screen images. As 9to5Mac says, that’s going to get pretty tedious.

And if an app isn’t using Sequoia’s new “screen recording picker”, you’ll see this very technically worded warning. I’m not sure how non-technical users will respond to this:

Of course, the reason I’m grousing about this is because Default Folder X is affected. In some situations, DFX captures an image of an Open or Save dialog and displays it on top of the real file dialog as a “curtain” to hide what it’s doing while it manipulates the dialog. It doesn’t store or transmit the images – it just takes a screenshot of the file dialog, pops it up on the screen to obscure the dialog while it twiddles a menu, then throws away the screenshot.

Now Sequoia is throwing up scary weekly reminders about it recording “personal or sensitive information”. Sigh. Assuming that this new Sequoia “feature” is here to stay, I feel the only workable solution is to remove the screen captured façade and just put up a blank window to hide what Default Folder X is doing. This is … ugly. Here’s a quick illustration:

Here’s what Default Folder X is doing. Notice the menu popping up after opening “Empty Folder”:

 

Here’s what it currently looks like with a captured image overlayed to hide the menu activity. As intended, you don’t see anything at all:

 

Here’s what it looks like without screen recording, using a blank window to hide activity instead. There’s an unpleasant white flash:

I realize it’s not the end of the world – having that blank window flicker on the screen doesn’t change the functionality of Default Folder X. It’s just sloppy looking and aesthetically grating.

How you can take action

If you’d like to help out – and save yourself weekly warnings about the apps you use that capture screen images – please use Feedback Assistant to submit a bug about this to Apple. At the very least, they could add a “Don’t remind me again” checkbox to that warning alert and save us all from being pestered every week.

The bottom line

If Sequoia’s repeated reminders and dire warnings about privacy intrusion are here to stay, I don’t see any way forward except to eliminate the use of captured screen images. This reduces the quality and functionality of my software, but if the warnings are enough to put off some users, removing the dependent features is the only way to stop them from scaring people.

And just for the record, the use of captured screen images isn’t something new. Default Folder X and other applications have used this kind of trick for years to hide unpleasant side effects, clean up graphical glitches, or get information they can only get by looking at the screen. We’ve just come to a point where Apple feels it’s necessary to tell you about it on the off chance that some app is spying on you – which Default Folder X isn’t doing, but I do understand the potential danger.

Default Folder X 6.1b3 beta: Support for Warp, bug fixes and less frequent reminders from Sequoia

Wednesday, July 24th, 2024

The third beta build of Default Folder X 6.1 is available, adding support for the Warp terminal app and fixing several bugs that occurred in the previous beta (and in Default Folder X 6.0.8).

The other notable change is that this build won’t trigger Sequoia’s screen recording reminders nearly as often. Sequoia puts these up several times a day if an app is capturing screen images, which Default Folder X does as part of its normal functioning. Contrary to what this alert implies, DFX isn’t doing anything nefarious, just making its manipulations of Open and Save dialogs less jarring. The details are here. I’ve reduced the frequency of the reminders by abandoning Default Folder X’s automatic detection of dark / light mode in individual Open and Save dialogs, which required capturing an image from the screen.

To explain a bit: Some apps (including QuickTime Player, Affinity Photo, Affinity Designer and Rogue Amoeba Fission) let you change their appearance separately from the system-wide light / dark mode setting. There’s no generic way for another app like Default Folder X to tell which appearance they’re using other than taking a visual snapshot of one of the app’s file dialogs and checking to see whether it’s dark or light. I know that may sound stupid, but that’s the way macOS works – and honestly, for most normal, stand-alone applications this capability isn’t necessary, so I can understand why Apple doesn’t provide any sort of API to query an app’s appearance mode.

Anyway, without that information, Default Folder X may end up with the wrong light / dark mode for its toolbar around a file dialog, as well as for some of the controls within it – like this:

It doesn’t change the functionality that you get from Default Folder X, but it’s a bit jarring – and ugly. So, that’s the tradeoff – to stop Sequoia from whining at you every day, Default Folder X has to be less capable (and yes, I’ve filed a bug with Apple, but unless they get a lot of complaints I don’t think they’ll change this “feature” in Sequoia).

Default Folder X attempts to detect these situations using a different, application-specific method, and will currently do the right thing with the above-mentioned apps (QuickTime, Affinity apps and Fission). If you encounter this mismatch in other apps, let me know at DefaultFolderX@stclairsoft.com and I’ll do my best to find a way to detect the appearance for that app.

Grumble.

At any rate, a full change history and download links for Default Folder X 6.1b3 are available on the Beta Testing page.

Default Folder X 6.1b1: Initial Sequoia compatibility and more

Tuesday, June 18th, 2024

Last week, Apple dropped the first developer preview of macOS 15 Sequoia. The current release of Default Folder X – version 6.0.7 – does not support Sequoia because, prior to last week, I didn’t have any more information about it than you did.

Now that the first build of Sequoia is out, I’ve done some testing and made a few necessary adjustments. A new Sequoia-compatible public beta of Default Folder X is available on the Default Folder X Testing page. If you’re running Sequoia, this will get you back up and running with DFX. As usual, keep an eye out for updates because pre-release macOS builds are a moving target. More changes will probably be necessary as Sequoia progresses towards completion.

Default Folder X 6.1b1 also sports some new features that I’ve added based on user requests and my own personal needs. You can now preview audio and video files right in an Open dialog, even if you’re not using Column View.

And you can save web URLs as favorites, allowing you to quickly open often-used websites from Default Folder X’s menu or by using a keyboard shortcut. Display of very long filenames and their metadata has also been improved, and a few shortcomings (bugs, to be less generous) have been fixed.

Head on over to the Default Folder X Testing page for all the details, as well as download links.

App Tamer 2.8b1: I’m looking for people to test “Don’t slow when sound is playing”

Wednesday, August 9th, 2023

I’ve come up with a solution to an annoying issue in App Tamer. When you throttle the CPU usage of apps, their attempts to play audio can result in the sound stuttering or cutting out if they’re getting too few CPU cycles. In some cases, this can even affect the sound played by other apps.

Version 2.8 of App Tamer adds a new checkbox to an app’s settings: “Don’t stop or slow when sound is playing”. App Tamer detects when there’s audio playing and runs those apps at full speed until the audio stops. This lets you throttle a web browser to 2% CPU when it’s in the background, but if you’re playing a YouTube video and put it in the background, the video will continue playing normally instead of (possibly) slowing down and stuttering.

So far this works very well – at the expense of letting those apps use more CPU while sound is playing, of course – but I’d like to get more feedback before officially releasing it.

The biggest issue is that there seems to be a bug in Monterey, Ventura and Sonoma that prevents apps from determining whether sound is playing when playback is going through AirPods or other Bluetooth devices. I’ve worked around the problem so it correctly handles all the devices I have here, but I’d really like to have more testing done with other system configurations and devices.

So – it’d be really helpful if you would:

  1. Download the beta build of App Tamer and launch it.
  2. Check the settings for the web browser you’re using – the “when sound is playing” checkbox should be turned on by default.
  3. Play some audio. You’ll see a little speaker next to the app in the process list (see the image over there → ).
  4. Make sure this works with a number of different audio output devices. Use your Mac’s speakers, your AirPods, AirPlay devices, Bluetooth speakers – whatever you’ve got.
  5. Shoot me an email at AppTamer@stclairsoft.com and let me know what version of macOS you’re using and what works and what doesn’t. Hopefully there aren’t any reports in the latter category 🙂

Thank you!

Default Folder X 6.0a3 improves Quick Search and iCloud Sync

Wednesday, May 17th, 2023

A new build of Default Folder X 6 is available for testing. If you’re just getting on board, this is a preview release of the next version of Default Folder X, which includes a number of major new features. There’s a full description of the new features here, including instructions for configuring and using them (one of the things still coming is the on-boarding when you run it for the first time).

Version 6.0a3 brings a host of refinements to the new Quick Search feature, including support for non-roman languages and non-English-speaking locales. Searching is also more responsive, user interaction is much smoother – it just works better all around. Please give Quick Search a try and let me know what you think!

I’ve also addressed issues with the synchronization of Default Folder X’s settings between multiple Macs over iCloud. There’s still testing to be done here – mostly in terms of detecting and diagnosing iCloud configuration problems. I’d welcome more people who have an identical (or similar) file and folder structure on two different Macs and want to have your recent and favorite items up-to-date and available on both machines.

6.0a3 also brings bug fixes and support for the beta version of ForkLift 4, and support for older versions of macOS (I’ve tested as far back as Mojave so far, but it should work fine on High Sierra too). A full list of changes is on the Default Folder X Testing page, and you can download it directly here.

Default Folder X 6.0d24 previews new drag-and-drop and quick search features

Monday, February 27th, 2023

I’m pretty excited about this preview release of Default Folder X 6 – it includes two new features that have really boosted productivity for me personally.

First, you can now drag and drop files and folders onto Default Folder X’s icon in your menu bar to copy or move them anywhere. Default Folder X pops up its main menu so you can show it where the dropped items should go. Select a folder from your Favorites, Recent Folders, or anywhere in the filesystem by navigating with DFX’s hierarchical menus. Once you choose a folder, the item is moved or copied, and the destination folder is opened to show you the item’s new location.

Dragging a Read Me file to Default Folder X’s icon, then using its menu to move it to the Sample Files folder.

Second, Default Folder X’s new keyboard-driven mode has gotten smarter. To review a bit, there’s a “quick search” window that pops up with a keyboard shortcut. You type in a few letters, and it shows you all your recently-used folders, files and apps that match what you typed. For me, this gets me to 90% of the items I want with a couple of keypresses.

Now, however, the list of results shows a “>” button next to folders. Clicking on that or hitting the Right Arrow key on the keyboard “drills down” into that folder to show its contents, and then typing a few more letters matches items within the folder.

As before, hitting the Return key opens whatever is selected, but now you can also Control-click a result to get a contextual menu so you can Open, Reveal or Copy the item’s path. If it’s a folder, the contextual menu also includes a Contents submenu that lets you more rapidly descend into subfolders using Default Folder X’s hierarchical menus.

Honestly, the best way to understand it is just to try it for yourself. Download the latest build and launch it. The accompanying Read Me file contains more details on setting up and using the new features, though they pretty much just work. Hit Command+Option+Spacebar to invoke the quick search window – that’s all you really need to know.

Default Folder X 6.0d19 : Better drag-and-drop in the Finder

Thursday, December 29th, 2022

A new pre-release build of Default Folder X version 6 is available! Click here to download it. If you haven’t been following along, previous posts have covered new features like the wider filename edit box in Save dialogs, new Quick Entry window, and post-save actions.

In this build I’ve rewritten the drawer that Default Folder X (optionally) attaches to Finder windows. It now properly supports dragging to reorder items, selection and multi-selection of items in the drawer, dragging items into folders that you’ve added to the drawer, and more.

This makes the drawer much more helpful as a temporary “shelf” when moving items between folders, as well as a handy place to organize files and folders while you’re working with them. They’re easy to get to, even if they’re actually located in multiple different folders.

One of the challenges with the drawer was finding a way to make it scale as you add more items to it. It shrinks the icons as more are added, then as you mouse through them, spreads them apart so you can read their filenames.

I’ve been experimenting with this for quite a while, and I’d appreciate feedback on how it works for you in practice. Suggestions are more than welcome!

Default Folder X 6 progress

Monday, October 17th, 2022

After making intermittent progress on version 6 of Default Folder X for months, I’m hoping to get things moving faster so I can get the new features out to a wider audience soon. The new capabilities make Open and Save dialogs even faster and easier to use, as well as speeding access to recently used files and folders in the Finder.

Among the features I find most useful are a wider edit field in Save dialogs, so you can actually see and edit long filenames:

and a “quick entry” pop-up where you can type a few letters in the name of a folder or file you want to access:

I outlined the details of these features in a previous post.

In addition, the latest build synchronizes your preferences and history between multiple Macs, so you’ll have access to your favorite and recently used files and folders regardless of which Mac you’re using. The caveat here is that synced Macs must have their files and folders synchronized so that Default Folder X can find the items on both machines – if it can’t, those items will be grayed out in its menus.

DFX 6 also offers “post-save” actions that you can use to automatically handle files after saving them. Built-in actions include immediately opening a saved file, attaching it to an email, or running an AppleScript or Automator workflow on it.

If you’d like to give the new features a spin, you can download the latest development build here. While it’s not feature-complete, the features above are working well and are stable. Please see the Read Me file for details on enabling the new features, and if you’ve got suggestions, feedback or bug reports, send them to DefaultFolderX@stclairsoft.com

Default Folder X 5.7 public beta 2 gets in sync with Ventura

Wednesday, July 27th, 2022

Among other things, the second public beta of Default Folder X 5.7, otherwise known as version 5.7b2, adopts Ventura‘s use of the term “Settings” rather than “Preferences.” Seems like that wouldn’t be a big deal, right? It turns out that those terms occur more frequently than you’d think in various dialogs and error messages, and have to be substituted on the fly to match the version of macOS you’re running. So I spent a couple of days bringing all that into conformance, then testing and localizing, and now it DFX fits in properly on Ventura.

Version 5.7b2 also adds a couple more interesting things, like support for Thomas Tempelmann’s Find Any File application. When you’re in an Open or Save dialog, you can now search with Find Any File from Default Folder X’s utility menu.

Find Any File can be helpful because it performs an exhaustive search based on a file’s name, modification date, and other filesystem properties. While Spotlight indexes these same properties as well as the contents of documents, it won’t always find all files – Spotlight omits the contents of some folders, as well as files contained within application packages and other special locations.

Default Folder X 5.7b2 also fixes a problem with its Recent File and Recent Folder tracking on Microsoft OneDrive that could result in files or folders being listed twice when they’re updated on OneDrive.

If you’re already running an earlier beta of Default Folder X 5.7, just choose “Check for Update” from its menu in your menu bar. If you’re not, head over to the Default Folder X Testing page to download a copy!