Copied files are cleared from the clipboard after any drag-and-drop move

未关闭 适合新手
#3,892 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 2 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
78/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
活跃
技术栈
c
领域
desktop

调研方向

首先追踪 Nemo 对拖放移动的处理,以及报告中提到的剪贴板 URI 冲突检查;将该检查与 Nautilus 的上游修复“clipboard: Fix incorrect item URIs collision check.”进行比较。复制文件 A,通过拖放移动文件 B,然后检查“粘贴”是否仍然可用,以此复现问题。完成的标准是:在这次无关的移动之后,复制的文件仍然可以粘贴。

由索引模型根据 Issue 内容生成。

描述

Distribution

Linux Mint 22.3 Cinnamon

Package version

nemo 6.6.3

Frequency

Always

Bug description

Copied files are cleared from the clipboard after any drag-and-drop move.
After copying a file, moving a different file by drag-and-drop greys out
Paste, and Ctrl+V does nothing.

Steps to reproduce
  1. Copy file A with Ctrl+C.
  2. Drag a different file, B, into another folder to move it.
  3. Right-click an empty spot in any folder.
    Paste is greyed out. The copy of A is gone.
Expected behavior

Paste should still work, because file A was not moved.

Additional information

This matches Nautilus issue #1235, "Clipboard is cleared after any DND
move", fixed upstream in March 2020 by the commit "clipboard: Fix incorrect
item URIs collision check". The check compared the moved items with
themselves instead of with the clipboard contents. Nemo appears to still
carry the original code.

主要语言
C
星标
1.6k
派生
387
平均合并
2 天 19 小时
30 天内合并 PR
4

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

linuxmint/nemo 的其他 Issue

查看 linuxmint/nemo 的全部 Issue

相似的 Issue

更多 C Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。