V2: Register as appstream:// handler so Plasma's "Uninstall or Manage Add-ons…" works with Package Installer
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 55/100
Hướng nghiên cứu
The launcher entry is the cachyos-pi.desktop file, which currently has only Exec=/usr/bin/cachyos-pi with no MimeType line and no %u field. Start by checking how the C++ entry point parses command-line arguments and how it opens a package's page, since an appstream:// URL has to be routed to that same page. Done means the desktop file declares x-scheme-handler/appstream, and launching the app with an appstream:// link opens the matching app page.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
On Plasma, right-clicking an app in the launcher shows "Uninstall or Manage Add-ons…", but only if some installed app handles appstream:// links. Other stores like Shelly and Bazaar register for this (with Bazaar I think it only works for Flatpak apps), so the option shows up and opens the app's page in them.
Package Installer doesn't register for it. cachyos-pi.desktop only has Exec=/usr/bin/cachyos-pi, no MimeType and no %u. So if it's the only store installed, the option doesn't show up at all.
Would be great if Package Installer registered x-scheme-handler/appstream and opened the app's page when launched with an appstream:// link. Then people on KDE could use it from the launcher like any other store.
Side note: Plasma's /usr/share/applications/kde-mimeapps.list sets x-scheme-handler/appstream=org.kde.discover.urlhandler.desktop, so if Discover is installed it would still win. Maybe CachyOS could set cachyos-pi as the default in /etc/xdg/mimeapps.list once it supports the scheme.
Tested on CachyOS, Plasma 6.8.3, Package Installer 2.0.0.
- Ngôn ngữ chính
- C++
- Star
- 43
- Fork
- 39
- Merge trung bình
- 1 ngày 6 giờ
- Pull request đã merge (30 ngày)
- 12
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của CachyOS/packageinstaller
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
CachyOS/packageinstaller#144 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 75/100
CachyOS/packageinstaller#133 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
CachyOS/packageinstaller#76 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
SIGSEGV in ~QMessageBox on Plasma - native message dialog helper is used after freeCó thể đã có người làm @wehrwolfmann đã nhận 92 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
CachyOS/packageinstaller#68 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
CachyOS/packageinstaller#136 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của CachyOS/packageinstaller
Issue tương tự
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 82/100
psi29a/d2decomped#691 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
prio:low type:bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
NatronGitHub/Natron#1638 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
-
documentation
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
TomerAberbach/profiler-md#951 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area:readers low-priority
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
NatronGitHub/openfx-arena#214 ·
Maintainer thường phản hồi trong vòng 1 ngày