New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fallbacks #936
Fallbacks #936
Conversation
…'t be loaded Notify the user with a message popup
When copying e.g. an image, no 'dataForType:NSStringPboardType' exists, meaning originally, the dictionary would be created with nil objects (the objects array would start with 'nil') and 13 keys.
There’s only one string ranker and it works with 64-bit, but something like this would have come in handy when I made that change recently, so it’s probably good to leave it in. :-)
I don’t know about this. Of course my personal preference is for wider interfaces that show more text, but that aside, it’s called “Primer” for a reason. I think it’s a bit easier to deal with for new users (labels, buttons, hints, etc.).
Like the pasteboard thing? |
The interface changes, but the one shown in the prefs doesn't. Was that intentional so it will go back when their chosen interface is updated? Fine with me. So I guess this works by checking for the interface in What almost works is to throw an exception in |
That's why I did it, thinking back to our conversation a few weeks back :)
Good point, I'll change it back to Primer. I agree it is much easier to
Yeah, that and just using a consistent
That was intentional. I don't want to change users' settings just because
Yeah, this is the 3rd thing we need to fix. I knew that you'd been looking On 14 June 2012 16:20, Rob McBroom <
|
I’ve stopped, so feel free. :-) I can revisit it, but I’m making good progress on the Spotlight plug-in, so I plan to keep at that for now. |
OK, I think I’ve got a way to detect plug-ins without x86_64. Put something like this at the top of
That prevents non-working interfaces from showing up as choices in Appearance, causes all 32-bit plug-ins to get listed under the Disabled section, and the message from the exception shows as the status in the plug-in’s info panel. Some outstanding issues:
Not saying all of this is your problem, but it seems to fit with the overall goals of this pull request and it depends on some of the changes you’ve already made here. |
Do you really think it's worth having the NSException? It massively clutters up the console. P.S.
works fine for getting the QS running app instance |
Well, the call to
True, so if there is no executable, I guess we have to assume everything’s fine. |
The exceptions seem to just be for Debug builds, which is fine. I've added another commit with your changes (modified slightly) |
Give a useful error message in the plugins preferences and make them greyed out.
OK, looks good, but do you think Are you going to address the unnecessary installation of dependencies and the missing executable stuff, too? If you don’t have time, I can do it after we merge this. |
Merging this in spite of known issues, as I intend to address them today. |
Cool, thanks On 25 June 2012 20:12, Rob McBroom <
|
These changes make the situations when an interface or string ranker doesn't load more graceful:
For both string ranker and interface loading they:
I have made 'Bezel' the default fallback for the interface. It was previously Primer.
A few other bits and bobs have creeped in