Repository navigation
feat(providers): add direct sharing to KDE Connect devices - #1704
Merged
l0gicgate merged 14 commits intoOct 18, 2026
Merged
Conversation
HopelessBhai
force-pushed
the
feat/1703-kdeconnect-provider
branch
from
October 16, 2026 04:06
0052c33 to
5baa999
Compare
Contributor
|
@HopelessBhai please upload video evidence |
This was referenced Oct 18, 2026
…provider # Conflicts: # typos.toml
…ns catalog The provider now ships as integrations/kdeconnect with a catalog entry maintained by @HopelessBhai, so it is installed, updated and removed from Settings → Integrations instead of install.py. The page checks for kdeconnect-cli and PyGObject and shows the package for each distribution. Tests move under tests/ so they are not installed and run in the Integrations workflow, which replaces the E2E unit wrapper; the GUI scenario stays. The entry's name and description are added to every Strata catalog. Refs lgse#1703
zh_HK and zh_MO map to Traditional Chinese, as they do in Strata.
Missing requirements get the play button Diagnostics already offers, moved into a shared helper so each page says what to do once the command finishes. The page no longer shows each entry's maintainer; catalog.toml still records it for the repository.
Rows and cards used 9px or 0 vertical against 18px horizontal padding, and an Integrations rule never applied because the generic one came later. Every settings box now uses 18px on all sides, or 10px in the compact layout, and minimum heights that stacked on top of the padding are removed.
The mock ran in the worker's process group, so terminate() signalled a group that did not exist and the mock kept owning org.kde.kdeconnect on the shared session bus. The next scenario's mock could not start. ManagedProcess gives it its own session.
Installed registrations, from the catalog or by hand, are listed first with their switch, Update and Remove. The catalog follows as a grid of equal-height cards with category filters and search, built from the theme library's search field and the action library's filter chips. Each card shows Install or Installed and a requirements footer that names what is missing and expands to the checks and install command.
The catalog loses its search, cards their category tag, and installed rows their tags and subtitle. The requirements footer shows a check or an X instead of naming what is missing; expanding it still lists every requirement and the install command.
Each eligible device is now a send-to destination named after the device, grouped under KDE Connect in Send to…, instead of a direct "Send to <device> via KDE Connect" action or a "Send via KDE Connect" submenu. Devices still appear and disappear live, and activation keeps its exact-device routing and staleness checks.
Installed rows show "Installed via catalog" or "Manually installed" under their name.
Destinations a provider places in Send to… now sit in a submenu named after the provider, like a removable drive, instead of under a muted group heading. The submenu shows the provider's artwork, or an icon for the category catalog installs now record in provider.json, so KDE Connect gets a phone.
This was referenced Oct 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Add an opt-in KDE Connect external provider under
contrib/providers/kdeconnect, with installation instructions and localized messages. With one paired, reachable sharing device, Send to via KDE Connect submits the whole file selection directly. With multiple devices, Send via KDE Connect opens Strata's native hover/keyboard submenu. No device-picker window opens; no eligible devices means no sharing entry.Activation rechecks the exact files and device, pins the daemon's unique D-Bus owner, and consumes its selection token before submission. Uncertain sends are never retried automatically. This uses the existing provider protocol and adds no default KDE/Python dependency. It supports regular native UTF-8 files, up to 200 files and 63 devices. Submission is not confirmed receipt; physical-device delivery remains unverified.
Visual evidence
How to test
/usr/bin/python3 contrib/providers/kdeconnect/install.py. Close all Strata windows and reopen it.Expected result: device choice stays in the context menu. Accepted submissions produce only a brief notice; failures and uncertain results remain explicit. Normal installations remain unchanged until the provider is installed.
Related issue
Closes #1703