I am currently fixing the remaining bug for my first plugin Guten Tag. The issue I am currently facing is that Glyphs 3 seems to modify the internals of the NSTokenField
class such that the menu chevron sits atop the token text:
↑ The disclosure chevron sits atop the text of the token, partially hiding the g and s, respectively.
I can see no such visual bug in other applications. Glyphs 2 does this instead:
The tokens are quite wide by default but their style can be changed to this:
Much nicer than the overlap in Glyphs 3:
Currently I circumvent the issue by adding three spaces to the end of the token string, as shown in the GitHub issue.
That works, but feels hacky. Is Glyphs 3 changing the internals of how some parts of NSTokenField
work? I see the compact token style all over Glyphs 3 as compared to version 2. For example, Glyphs 2:
… vs. Glyphs 3:
Does this mean that Glyphs 3 is somehow globally removing the spacing left and right and thereby breaking the disclosure chevron?
I do like the compact style (NSTokenStyleSquared
) over the Glyphs 2 style (NSTokenStyleRounded
), but the disclosure chevron is now broken in Glyphs 3.
Here is the test-plugin that works in both Glyphs 2 and Glyphs 3:
Test.glyphsPalette.zip (176.2 KB)
Glyphs 3.0.3 (3065) & 2.6.7 (1354), macOS 11.2.1 (20D74)