Replies: 7 comments 21 replies
-
|
Would this help with Discord IPC and Currently Playing as well? I tried the Discord Flatpak but couldn't find the game I want to show on my Activity through their process selector. The alternative was using arrpc and vencord but that still required poking some holes in the sandbox too. |
Beta Was this translation helpful? Give feedback.
-
|
Why not? But:
|
Beta Was this translation helpful? Give feedback.
-
|
Why would authors of hundreds of webextensions care to support linux-specific non-portable messaging system? |
Beta Was this translation helpful? Give feedback.
-
|
Wouldn't it be better to have an app that indicates which app to communicate with than to have to indicate an extension? While I don't know how Discord operates, it will allow apps to ask to communicate with Discord, because I doubt Discord is using a list of allowed apps. This will allow this portal to do more things, and avoid developing something specifically for web browsers, namely searching for the app that has the extension given by the browser as allowed. However, this would mean that extensions would have to indicate which app to communicate with. As an advantage, this allows developers to have a trusted model where a specific app can be specified as the app ID + repository + branch, for example. |
Beta Was this translation helpful? Give feedback.
-
|
Another thing: Data exchange allowed when app has the focus. What would be interesting to know is if it is only for the requesting app or also for the requested app. |
Beta Was this translation helpful? Give feedback.
-
|
I think what is also wanted is to be able to disallow the use of portal permissions and/or to redisplay portal windows when an app receives data from another app. |
Beta Was this translation helpful? Give feedback.
-
|
There is a problem I just thought about. I designed my proposals for neighboring files so that an app uses the right proposal for its case: it's case exclusivity. Here, native messaging allows to get credentials and, I guess, to exchange files. There were already discussion and code for a credential portal, and we know that a portal should be used to exchange files between apps. Thus, with native messaging, it does not seem possible to ensure case exclusivity. I don't know, at least currently, how this could be handled (I'm just reporting the problem). |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
With improvements in dbus it should become possible it the future again for flatpaked or otherwise sandboxed apps to talk to each other. When support for this lands, we can add a new native messaging system to browsers which uses dbus to open the pipe, as outlined in this comment: #705 (comment)
The need for a WebExtensions portal will then be limited to apps native messaging servers which did not upgrade to the new mechanism and can eventually be removed.
Beta Was this translation helpful? Give feedback.
All reactions