Skip to content

[Bug] Preserve source images when importing avatars - #150

Open
dajiaohuang wants to merge 1 commit into
Richasy:mainfrom
dajiaohuang:fix/issue-148-avatar-drag-copy
Open

dajiaohuang wants to merge 1 commit into
Richasy:mainfrom
dajiaohuang:fix/issue-148-avatar-drag-copy

Conversation

@dajiaohuang

Copy link
Copy Markdown

Close #148

Description

Both agent and group avatar drop targets returned Move while only reading the dropped image and saving a separate cropped avatar. Return Copy so dragging an image into the app leaves the original file in place.

PR Type

  • Bug fix

Checklist

  • Source files retain the existing copyright header.
  • No breaking change.
  • Desktop x64 build succeeds with MSIX packaging disabled.

Notes

Validated with dotnet build src/Desktop/RodelAgent.UI/RodelAgent.UI.csproj --no-restore -p:Platform=x64 -p:EnableMsixTooling=false -p:WindowsPackageType=None (7 projects, 0 errors, 0 warnings). Runtime drag-and-drop was not run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Avatar drag-and-drop can move the original image

1 participant