Define optional additional system integration data/code
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 18/100
- Issue 类型
- 功能
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- linux
调研方向
未指定文件、测试或实现入口。首先审阅当前的 AppImage 规范和相关 issue #22,然后比较列出的 KRunner、小部件、索引器和缩略图生成示例。完成要求是为部署、清理、冲突以及平台或版本变体确定一致的格式和生命周期。
由索引模型根据 Issue 内容生成。
描述
Some Linux workspaces/desktop systems have hooks for integration with the system besides application launcher system or process metadata like for windows of an application (already in current spec) or custom MIME type registration (#22).
Those hooks might not be only by data, but also by code. The latter as in-process as well as out-of-process extensions of the system.
The extensions are often closely coupled with a given version of an application software (due to used private API of internal application libraries or used private format of application specific data). So shipping the system integration extensions bundled with the actual application lowers the risk for users of running into incompatible combinations of application and integration extensions.
The additional extensions are often also desktop/workspace-specific, where either no cross-desktop/workspace freedesktop.org or other specification has been established, or where extensions are highly dependant on the unique capabilities of a desktop/workspace product line.
For an improved experience with AppImage-based applications it would be interesting to extend the AppImage specification to allow bundling also of solution-specific system integration extensions
Some Challenges
Conflicting extensions with multiple (AppImage) versions of the same application
Possibly needs to be fixed by having a system where only one version of the AppImages can be the currently integrated one. Might also be a fix for the similar challenge with the custom MIME type registration (which icon version is used for files with that MIME type and which AppImage as handler).
Additionally the same application might also be installed in a version from non-AppImages (e.g. distribution packages), that needs to be handled as well somehow.
Who deploys solution-specific system extensions
To deploy an integration extension which is only usable with a given workspace/desktop system solution, needs special knowledge about that system.
One solution might be to have the AppImage itself do that, as the creator knows what specific extensions they added and for which systems. That though comes both with the disadvantage of code duplication as well as having to trust the code of the AppImage not to do bad things on deploying the system extensions. And then it completely will miss to do any clean-up if an AppImage is simply deleted.
Another solution is to extend the AppImage system integration tools (like appimaged) to learn about specific desktop/workspace solutions, to recognize any specific system integration extensions in an AppImage and to do the needed things for deployment/undeployment. This creates a dependency on the given AppImage system integration tool, which might not yet know about less popular workspace/desktop solutions. The abilities of the tool need to be communicated to the user in some way, so they have a chance to learn why some integration might not be happening for them on their system, while it happens for others, and ideally with pointer to a solution how to fix this for them.
Platform variants & version dependencies might be needed
Given that workspace/desktop specific integration extensions are done against a richer API which also tends to be less stable over time (stable vs. feature progress), the compile-once-run-everywhere approach of AppImage might not work that well with such extensions.
One approach might be to allow multiple variants of the same extension in one AppImage, tagged with version & platform dependencies. Needs more thinking.
Examples for additional system hooks
- global search plugins (e.g. Plasma's KRunner)
- applets/gadgets/widgets for quick access to app managed data
- indexer plugins (e.g. for tracker or Plasma's Baloo) for custom MIME types
- file thumbnailing plugins for custom MIME types
Example for an application with solution-specific system integration extensions
The IDE KDevelop provides the following extensions, where a "session" is an application instance profile with a set of projects loaded and specific settings:
- KRunner plugin to directly launch existing KDevelop sessions or get their window activated if already running
- Plasma widget to see a list of existing KDevelop sessions to quickly launch them or get their window activated
- 主要语言
- 没有语言数据
- 星标
- 94
- 派生
- 30
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
AppImage/AppImageSpec 的其他 Issue
-
难度 5/5 一周以上 新手友好度 25/100
AppImage/AppImageSpec#60 · 7 条评论 ·
-
难度 5/5 一周以上 新手友好度 25/100
AppImage/AppImageSpec#59 · 15 条评论 · 2 个 reaction ·
-
难度 4/5 3-5 天 新手友好度 35/100
AppImage/AppImageSpec#48 · 2 条评论 ·
-
help wanted
难度 5/5 一周以上 新手友好度 25/100
AppImage/AppImageSpec#44 · 10 条评论 · 1 个 reaction ·
-
难度 5/5 一周以上 新手友好度 35/100
AppImage/AppImageSpec#40 · 1 条评论 ·
查看 AppImage/AppImageSpec 的全部 Issue
相似的 Issue
-
Chat UI: Message actions dropdown is cut off beneath composer when message is near bottom of chat可能已有人在做 @koeria 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
milind-soni/OpenMausBot#8023 ·
维护者通常 1 天内回复
-
area:ryoku bug type:bug
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
enhancement from-app needs-triage
难度 2/5 1-3 小时 新手友好度 68/100
nightly-labs/openbot#19162 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
FriendsofECCE/ECCE#1358 ·
-
难度 2/5 1-3 小时 新手友好度 88/100
omdsh-dev/DSH-better-sidebar#1290 ·
维护者通常 1 天内回复