This beta should do two things:
1) Fix the bug that caused generated Tag Folders not to work properly
on Snow Leopard. It turns out that this bug has been around for a long
time in TF's code, but the Finder was much more forgiving prior to
Snow Leopard.
Specifically, there was an error in how the raw queries were generated
when creating a new Tag Folder. In Leopard, Finder required the raw
query to be defined in the .savedsearch XML file but did not actually
process it; instead, Finder apparently just used the data structure
from the user interface section of the XML to generate its search. In
Snow Leopard, the raw query data is not ignored, so the mismatch
between the raw query and the GUI data structure was causing errors.
2) Make Tag Folders compatible with any version of the OpenMeta
specification. Until now, Tag Folders only worked properly with
versions 1.x and 2.x of OpenMeta.
This was the harder one to fix. OpenMeta version 3.0 changed the
internal naming system used for OpenMeta tags in the Spotlight
database. Among other problems, this caused any Smart Folders with
explicitly defined OpenMeta search criteria that were created using
earlier versions of OpenMeta to fail when opened by Finder (and under
some circumstances inducing graphical glitches and occasional crashes
in Finder) after upgrading to OpenMeta 3.0. Since Tag Folders use such
Smart Folders, this rendered the software inoperable.
At first I simply wanted to install OpenMeta 3.0 and update all
existing Tag Folders to use the new nomenclature, but due to an
interesting quirk in the way OpenMeta is implemented, it proved
impossible to reliably force Spotlight to update its internal schema
with the new nomenclature. Eventually Spotlight would do so of its own
accord, but there was no predicting when that would happen. This made
upgrading OpenMeta not a viable solution; in fact, in some
circumstances it would induce problems where previously there had been
none.
So in the end what I've done is make Tag Folders adapt themselves on
the fly to use the nomenclature of the currently installed version of
OpenMeta. The Tag Folders software will now look at runtime to see
what version of OpenMeta is currently in use and will update the Smart
Folder contained within the Tag Folder applet as necessary. Similarly,
the installer will only install the OpenMetaSpotlight.mdimporter if
none is currently installed. The bundled version of the mdimporter is
OpenMeta version 3.0, so new users will automatically be given the
latest version. Users who already have OpenMeta installed will have to
take care of upgrades (or downgrades) on their own, and Tag Folders
will adapt to those changes as they happen.
Jon
Thanks for that.
peter
Jon Stovell07/06/2010 01:53