Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • KDE Connect KDE Connect
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Bugzilla
    • Bugzilla
  • Merge requests 23
    • Merge requests 23
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • NetworkNetwork
  • KDE ConnectKDE Connect
  • Merge requests
  • !474

Add a global switch on the PC side

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Jin Liu requested to merge genericity/kdeconnect-kde:work/global-switch into master Jun 09, 2022
  • Overview 6
  • Commits 3
  • Pipelines 4
  • Changes 19

Scenario: Sometimes, someone else is using my PC while I'm nearby. So temporarily I don't want my phone messages to appear on the PC. Currently this can be done by unpair the phone, and re-pair later.

Proposed Change: I think it might be more convenient to have a global switch on the PC (and perhaps on the phone too), which when switched off, disconnects any phone currently connected, and doesn't auto-connect with paired phones. It's much like the bluetooth applet's "Enable Bluetooth" checkbox.

Implementation:

  1. Add a "enabled" property to the dbus interface. When enabled=off, all links are suspended. When enabled=on, all links are resumed.
  2. Add a "Enable KDE Connect" checkbox to the plasmoid, kcm and app.

Pending problems:

  1. Adding the checkbox to the app makes the header unaligned. Plasmoid and kcm are fine though.

applet Applet

kcm KCM

app App

Edited Jun 12, 2022 by Jin Liu
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: work/global-switch