[kdeconnect] [Bug 476551] Clipboard is sent to phone when reconnecting after disabling clipboard autoshare

2024-03-31 Thread Albert Vaca Cintora
https://bugs.kde.org/show_bug.cgi?id=476551

Albert Vaca Cintora  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED
  Latest Commit||https://invent.kde.org/netw
   ||ork/kdeconnect-kde/-/commit
   ||/642c99056837053d943aa04ebd
   ||6a487c25d2bd56

--- Comment #8 from Albert Vaca Cintora  ---
Git commit 642c99056837053d943aa04ebd6a487c25d2bd56 by Albert Vaca Cintora, on
behalf of Marx Zhu.
Committed on 31/03/2024 at 14:48.
Pushed by albertvaka into branch 'master'.

fix: do not send NetworkPacket if autoshare is disabled when connecting

M  +8-1plugins/clipboard/clipboardplugin.cpp

https://invent.kde.org/network/kdeconnect-kde/-/commit/642c99056837053d943aa04ebd6a487c25d2bd56

-- 
You are receiving this mail because:
You are watching all bug changes.

[kdeconnect] [Bug 476551] Clipboard is sent to phone when reconnecting after disabling clipboard autoshare

2024-03-25 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=476551

--- Comment #7 from Bug Janitor Service  ---
A possibly relevant merge request was started @
https://invent.kde.org/network/kdeconnect-android/-/merge_requests/419

-- 
You are receiving this mail because:
You are watching all bug changes.

[kdeconnect] [Bug 476551] Clipboard is sent to phone when reconnecting after disabling clipboard autoshare

2024-03-25 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=476551

--- Comment #6 from Bug Janitor Service  ---
A possibly relevant merge request was started @
https://invent.kde.org/network/kdeconnect-android/-/merge_requests/419

-- 
You are receiving this mail because:
You are watching all bug changes.

[kdeconnect] [Bug 476551] Clipboard is sent to phone when reconnecting after disabling clipboard autoshare

2024-03-25 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=476551

--- Comment #5 from Bug Janitor Service  ---
A possibly relevant merge request was started @
https://invent.kde.org/network/kdeconnect-kde/-/merge_requests/661

-- 
You are receiving this mail because:
You are watching all bug changes.

[kdeconnect] [Bug 476551] Clipboard is sent to phone when reconnecting after disabling clipboard autoshare

2024-03-25 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=476551

--- Comment #4 from Bug Janitor Service  ---
A possibly relevant merge request was started @
https://invent.kde.org/network/kdeconnect-kde/-/merge_requests/661

-- 
You are receiving this mail because:
You are watching all bug changes.

[kdeconnect] [Bug 476551] Clipboard is sent to phone when reconnecting after disabling clipboard autoshare

2024-03-24 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=476551

--- Comment #3 from Bug Janitor Service  ---
A possibly relevant merge request was started @
https://invent.kde.org/network/kdeconnect-kde/-/merge_requests/660

-- 
You are receiving this mail because:
You are watching all bug changes.

[kdeconnect] [Bug 476551] Clipboard is sent to phone when reconnecting after disabling clipboard autoshare

2024-03-24 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=476551

Bug Janitor Service  changed:

   What|Removed |Added

 Status|CONFIRMED   |ASSIGNED

--- Comment #2 from Bug Janitor Service  ---
A possibly relevant merge request was started @
https://invent.kde.org/network/kdeconnect-kde/-/merge_requests/660

-- 
You are receiving this mail because:
You are watching all bug changes.

[kdeconnect] [Bug 476551] Clipboard is sent to phone when reconnecting after disabling clipboard autoshare

2024-03-22 Thread Will
https://bugs.kde.org/show_bug.cgi?id=476551

Will  changed:

   What|Removed |Added

 CC||i474y...@duck.com
 Status|REPORTED|CONFIRMED
 Ever confirmed|0   |1

--- Comment #1 from Will  ---
On the connection event, the current contents are unconditionally sent to the
device:
https://github.com/KDE/kdeconnect-kde/blob/69d6c172142dbec0db4251ecb0aa0ecc2d194193/plugins/clipboard/clipboardplugin.cpp#L74

On the changed event (post-connection), the autoshare and password preferences
are checked before the contents are sent:
https://github.com/KDE/kdeconnect-kde/blob/69d6c172142dbec0db4251ecb0aa0ecc2d194193/plugins/clipboard/clipboardplugin.cpp#L34

-- 
You are receiving this mail because:
You are watching all bug changes.