Closed janetat closed 4 years ago
any details? like which distro, save to where, full log or other informations that may helps?
My distro is: Linux xx-PC 4.15.0-30deepin-generic #31 SMP Fri Nov 30 04:29:02 UTC 2018 x86_64 GNU/Linux deepin 15.11
前几天截图还可以工作。但是现在无论保存在哪里(指定文件夹或者桌面),都提示“保存失败。请保存在当前用户目录下”。
另外,请问一下deepin-screenshot的日志在哪里看?/var/log/里面找不到
~/.cache/deepin/deepin-screenshot/deepin-screenshot.log
不过不清楚你用的会不会是 flatpak 之类的版本,可以先确认一下(个人不推荐使用 flatpak 版),以及 log 内容和你终端直接执行对应的可执行程序所得到的输出是一样的。
2020-01-09, 12:59:46.156 [Warning] [ 0] QImage::scaled: Image is a null image 2020-01-09, 12:59:46.156 [Warning] [ 0] QImage::pixel: coordinate (1941,306) out of range 2020-01-09, 12:59:46.156 [Warning] [ 0] QPixmap::scaled: Pixmap is a null pixmap 2020-01-09, 12:59:46.156 [Warning] [ 0] QPixmap::scaled: Pixmap is a null pixmap 2020-01-09, 12:59:46.166 [Warning] [ 0] QImage::scaled: Image is a null image 2020-01-09, 12:59:46.166 [Warning] [ 0] QImage::pixel: coordinate (1942,306) out of range 2020-01-09, 12:59:46.166 [Warning] [ 0] QPixmap::scaled: Pixmap is a null pixmap 2020-01-09, 12:59:46.166 [Warning] [ 0] QPixmap::scaled: Pixmap is a null pixmap 2020-01-09, 12:59:46.173 [Warning] [ 0] QImage::scaled: Image is a null image 2020-01-09, 12:59:46.173 [Warning] [ 0] QImage::pixel: coordinate (1942,306) out of range 2020-01-09, 12:59:46.173 [Warning] [ 0] QPixmap::scaled: Pixmap is a null pixmap 2020-01-09, 12:59:46.173 [Warning] [ 0] QPixmap::scaled: Pixmap is a null pixmap 2020-01-09, 12:59:46.203 [Debug ] [ 0] MainWindow mouseReleaseEvent 2020-01-09, 12:59:46.991 [Debug ] [ 0] subToolBar shape: "saveList" 2020-01-09, 12:59:46.991 [Debug ] [ 0] show shapesWidget 2020-01-09, 12:59:46.995 [Debug ] [ 0] hoveredShape type: "" 2020-01-09, 12:59:48.381 [Debug ] [ 0] ConfigSettings: "save" "save_op" QVariant(uint, 2) 2020-01-09, 12:59:48.381 [Debug ] [ 0] release event !!! 2020-01-09, 12:59:48.381 [Debug ] [ 0] keyboardGrabbed: true 2020-01-09, 12:59:48.381 [Debug ] [ 0] ShapesWidget saveActionTriggered! 2020-01-09, 12:59:48.381 [Debug ] [ 0] clear selected!!! 2020-01-09, 12:59:48.382 [Debug ] [ 0] hoveredShape type: "" 2020-01-09, 12:59:48.385 [Debug ] [ 0] hoveredShape type: "" 2020-01-09, 12:59:48.482 [Debug ] [ 0] shotCurrentImg shotFullScreen 2020-01-09, 12:59:48.482 [Debug ] [ 0] release event !!! 2020-01-09, 12:59:48.482 [Debug ] [ 0] keyboardGrabbed: true 2020-01-09, 12:59:51.203 [Debug ] [ 0] ConfigSettings: "common" "default_savepath" QVariant(QString, "/home/allin/Desktop")
终端执行
which deepin-screenshot
和
dpkg -S `which deepin-screenshot`
输出是?
和#79 的问题类似。
:joy: 好,顺便 v20 版本中截图和录屏合并成一个项目了(合并到了录屏中),不知道这个问题会不会随之处理(我没多屏可用),可以期待一下。
When I save an image, it gives me an error: Save failed. Please save it in your home directory. How to solve it?