Clipboard access functions don't return #f as documented
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 42/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 领域
- desktop
调研方向
首先复现 issue 中的 get-clipboard-data Linux 示例,并将结果与链接的剪贴板文档中记录的行为进行比较。跟踪请求的格式如何与可用的剪贴板格式进行比较;当缺失的格式返回 #f 而不是空字节字符串时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
The function get-clipboard-data says:
Gets the current clipboard contents in a specific format, returning #f if the clipboard does not contain data in the requested format.
In practice, on Linux, I can't get it to return #f:
> (require racket/gui)
> (send the-clipboard set-clipboard-string "hello, world" (current-seconds))
> (send the-clipboard get-clipboard-data "image/jpeg" (current-seconds))
#""
I've confirmed that after calling set-clipboard-string, the only types on the clipboard are "COMPOUND_TEXT", "STRING", "TEXT", "text/plain", "text/plain;charset=utf-8", and "UTF8_STRING". I don't know what comparison algorithm it's using for comparing formats, but by any reasonable measure, there's no JPEG image here.
- 主要语言
- Racket
- 星标
- 68
- 派生
- 83
- 平均合并
- 9 天 8 小时
- 30 天内合并 PR
- 4
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
racket/gui 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 65/100
-
难度 4/5 3-5 天 新手友好度 35/100
-
难度 4/5 3-5 天 新手友好度 45/100
-
难度 4/5 3-5 天 新手友好度 45/100
-
难度 4/5 3-5 天 新手友好度 35/100
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 66/100
lyswhut/lx-music-desktop#3026 ·
-
bug triage
难度 2/5 1-3 小时 新手友好度 68/100
secondlife/viewer#6507 ·
维护者通常 1 天内回复
-
Area - Azure SQL Containers Bug Team-filed (internal) Triage: Needed
难度 2/5 1-3 小时 新手友好度 72/100
microsoft/vscode-mssql#23152 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
-
Zenmap
难度 2/5 1-3 小时 新手友好度 65/100
维护者通常 3 天内回复