Skip to content

gui: Fix missing sharing device when adding pending folder. - #7227

Merged
imsodin merged 2 commits into
syncthing:mainfrom
acolomb:fix-gui-addFolderAndShare
Dec 22, 2020
Merged

imsodin merged 2 commits into
syncthing:mainfrom
acolomb:fix-gui-addFolderAndShare

Conversation

@acolomb

@acolomb acolomb commented Dec 22, 2020 •

Copy link
Copy Markdown
Member

When adding a folder from the pending folder from another device
through the Add button on the "New Folder" notification panel, the
offering device should be preselected for sharing with. The selection
works, but the checkmark for that device is not shown at all.

Do not filter out the preselected device ID when building the
currentSharing.unrelated member in addFolderAndShare() to actually
show all devices under the "Unshared Devices" heading.

Testing

Tested with local development instance where several folders are pending from other devices. Offering device appears again, with the checkmark pre-selected. Also verified on the "untrusted" GUI variant.

When adding a folder from the pending folder from another device
through the Add button on the "New Folder" notification panel, the
offering device should be preselected for sharing with.  The selection
works, but the checkmark for that device is not shown at all.

Do not filter out the preselected device ID when building the
currentSharing.unrelated member in addFolderAndShare() to actually
show all devices under the "Unshared Devices" heading.
@imsodin
imsodin merged commit 07618f8 into syncthing:main Dec 22, 2020
@acolomb
acolomb deleted the fix-gui-addFolderAndShare branch December 22, 2020 21:51
calmh added a commit to calmh/syncthing that referenced this pull request Dec 26, 2020
* main:
  lib/model: Remove obsolete return val from ccHandleFolders (ref syncthing#6443) (syncthing#7229)
  gui, man, authors: Update docs, translations, and contributors
  gui: Fix missing sharing device when adding pending folder (syncthing#7227)
  cmd/stevents: Add command line argument for event type filtering. (syncthing#7226)
  lib/ur: Send unreported failures on shutdown (syncthing#7164)
  gui: Fix nonfunctional ignore button on pending folder notification (syncthing#7224)
@calmh calmh added this to the v1.13.0 milestone Jan 11, 2021
hiqua pushed a commit to hiqua/syncthing that referenced this pull request Jan 11, 2021
@st-review st-review added the frozen-due-to-age Issues closed and untouched for a long time, together with being locked for discussion label Dec 23, 2021
@syncthing syncthing locked and limited conversation to collaborators Dec 23, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

frozen-due-to-age Issues closed and untouched for a long time, together with being locked for discussion

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants