-
Notifications
You must be signed in to change notification settings - Fork 849
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
OS X client doesn't integrate with native system text services #463
Comments
Thanks @ostrain - we currently use an electron-context-library to display the context menu. Apart from having a spellchecker (which will be added with #225, hopefully soon) and Google search, are there additional options you're missing? PS: @yuya-oc @jnugh I'm not sure if there are alternate libraries available we could explore? |
I feel there are no alternatives. UI is not consist from native code (at least in our side), so basically os-level integration is not easy. We need a help of electron or native modules. Search: Dictionary: Custom services: |
There is an implementation, https://electron.atom.io/docs/api/menu-item/#new-menuitemoptions |
@ jasonblais - Sorry for the long delay in replying. I use several custom text services that I've defined myself (for example, I use one that lets me select some text that contains one or more JIRA bug IDs, press a keyboard shortcut I've defined, and open those bugs in my browser -- it's a small python script that I wrote). It works in essentially every other app on my Mac including other webview-based apps like Slack and HipChat, so it would be great to have it working in Mattermost too. |
Thanks for the feedback! We actually heard about a similar use case with Jira tickets. I think the |
I just upgraded to 3.7.0 of the Mac desktop app. Spell check and command-shift-d-hover work now. I don't see any text services, but it could be me. |
Just for reference, here's the actual service I was talking about: https://github.com/ostrain/the-talon |
After quick investigation, it seems that electron v3 or v4 will solve this issue (tested on the current master branch: electron/electron@ccd63b5). |
Closing via feature request ticket here: https://mattermost.uservoice.com/forums/306457-general/suggestions/36827626-have-os-x-client-integrate-with-native-system-text. |
I confirm (by marking "x" in the [ ] below):
Summary
OS X client doesn't integrate with native system text services.
Steps to reproduce
Steps to reproduce
Select some text either in the chat history or in the chat input box and right click.
Expected behavior
In all other OS X apps, including Chrome, a variety of standard system services will be available to use with the selected text. For example, looking up the selected word in the dictionary or searching for it on the web. Users can also install custom text services systemwide.
Observed behavior
Instead of these standard options being available, only cut/copy/paste operations appear in the context menu.
Notes
The missing functionality goes beyond the context menu -- these standard operations can also be triggered via keyboard shortcuts or multitouch gestures in some cases.
This seems related to #225
The text was updated successfully, but these errors were encountered: