[BUG] Screenshot generates mismatch between contents of the file vs. it's extension

未关闭
#1,682 11 条评论 1 个 reaction 已指派 1 人 在 GitHub 查看

维护者通常 1 天内回复

@mylinuxforwork 已经在做这个了。

开始于 2026年6月28日。

评估

这个 Issue 还没有评估数据。

描述

bug
Describe the bug

I have taken a screenshot which I would like to upload to imglink.cc
This upload results in an error message : "File content does not match its extension"

Steps to reproduce
  1. SUPER PrtScr
  2. Immediate
  3. Capture Active Display
  4. Copy & Save
  5. upload file to imglink.cc
Expected behavior

I would expect that uploading to imglink.cc would not pose a problem

Screenshots

Screenshot in question: this file

Screenshot of error message: this

Distribution

Other (please specify below)

If Other, specify

CachyOS

Additional context

To be able to upload the screenshot in question nevertheless, I convert the file:

magick screenshot.jpg screenshot.png

and use the png version to upload to imglink.cc

Also, when I did this, I was on rolling 2.13.1

I was made aware of an update around the screenshot facility.
So I tried it again after updating to 2.14.0
Same result

Code of Conduct
  • I agree to follow this project's Code of Conduct
主要语言
QML
星标
5.1k
派生
386
平均合并
16 小时 45 分钟
30 天内合并 PR
14

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 有 Pull Request 模板
  • 没有贡献指南

从这里开始

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

mylinuxforwork/dotfiles 的其他 Issue

查看 mylinuxforwork/dotfiles 的全部 Issue

把新 issue 发到你的邮箱

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