[已解决]深度截图在Kubuntu20.04无法复制到剪贴板
Tofloor
poster avatar
zerofancy
deepin
2020-04-26 00:44
Author
本帖最后由 zerofancy 于 2020-4-26 16:58 编辑

这两天趁Ubuntu20.04发布,趁这个机会换Kubuntu试试。习惯了深度截图,然而装上后发现无法使用“复制到剪贴板”(提示成功但实际不成功)。之前在Ubuntu18.04(gnome)下正常。

确定系统剪贴板正常。

在终端输出的调试信息如下:

➜  ~ deepin-screenshot
load translate "/usr/share/libdtk-2.1.1/DWidget/translations/dtkwidget_zh_CN"
load translate "/usr/share/deepin-screenshot/translations/deepin-screenshot_zh_CN"
2020-04-25, 16:38:14.814 [Debug  ] [                                                         0] m_keyboardGrabbed: false
2020-04-25, 16:38:14.814 [Debug  ] [                                                         0] m_keyboardGrabbed: false
2020-04-25, 16:38:14.814 [Debug  ] [                                                         0] m_keyboardGrabbed: false
2020-04-25, 16:38:14.814 [Debug  ] [                                                         0] m_keyboardGrabbed: false
2020-04-25, 16:38:14.851 [Debug  ] [                                                         0] m_keyboardGrabbed: false
2020-04-25, 16:38:14.851 [Debug  ] [                                                         0] m_keyboardGrabbed: false
2020-04-25, 16:38:14.851 [Debug  ] [                                                         0] m_keyboardGrabbed: false
2020-04-25, 16:38:14.852 [Debug  ] [                                                         0] m_keyboardGrabbed: false
2020-04-25, 16:38:14.854 [Debug  ] [                                                         0] m_keyboardGrabbed: true
2020-04-25, 16:38:14.940 [Debug  ] [                                                         0] ConfigSettings: "effect" "is_blur" QVariant(bool, false)
2020-04-25, 16:38:14.945 [Debug  ] [                                                         0] ConfigSettings: "effect" "is_mosaic" QVariant(bool, false)
2020-04-25, 16:38:14.946 [Debug  ] [                                                         0] Setting file: "/home/zero/.config/deepin/deepin-screenshot.conf"
2020-04-25, 16:38:14.946 [Debug  ] [                                                         0] ~~~~~~ QSize(276, 28)
2020-04-25, 16:38:14.989 [Debug  ] [                                                         0] ConfigSettings: "save" "save_quality" QVariant(int, 100)
2020-04-25, 16:38:14.990 [Warning] [                                                         0] QStackedWidget::setCurrentWidget: widget 0x0 not contained in stack
2020-04-25, 16:38:16.666 [Debug  ] [                                                         0] MainWindow mouseReleaseEvent
2020-04-25, 16:38:17.246 [Debug  ] [                                                         0] specificedPath isEmpty!
2020-04-25, 16:38:17.246 [Debug  ] [                                                         0] release event !!!
2020-04-25, 16:38:17.246 [Debug  ] [                                                         0] keyboardGrabbed: true
2020-04-25, 16:38:17.347 [Debug  ] [                                                         0] shotCurrentImg shotFullScreen
2020-04-25, 16:38:17.374 [Debug  ] [                                                         0] release event !!!
2020-04-25, 16:38:17.374 [Debug  ] [                                                         0] keyboardGrabbed: true
2020-04-25, 16:38:17.379 [Debug  ] [                                                         0] ConfigSettings: "common" "default_savepath" QVariant(QString, "clipboard")
2020-04-25, 16:38:17.385 [Debug  ] [                                                         0] saveFilePath: ""
No appenders registered with logger
[Warning] <> QFileSystemWatcher::removePaths: list is empty
[Warning] <> QFileSystemWatcher::removePaths: list is empty
[Warning] <> QObject::startTimer: Timers can only be used with threads started with QThread
➜  ~ deepin-screenshot --version
load translate "/usr/share/libdtk-2.1.1/DWidget/translations/dtkwidget_zh_CN"
load translate "/usr/share/deepin-screenshot/translations/deepin-screenshot_zh_CN"
deepin-screenshot 4.0
➜  ~



Reply Favorite View the author
All Replies
avatar
zerofancy
deepin
2020-04-27 00:54
#1
好吧,问题解决

https://github.com/linuxdeepin/deepin-screenshot/issues/8#issuecomment-525113137
Reply View the author
avatar
zerofancy
deepin
2020-04-27 02:14
#2
不过并没有完全解决,只要没有KColourPaint这种可以粘贴图像的应用存在就无法复制到剪贴板。看同类“FlameShot”实现的方式是截图后应用不退出,也许能做参考。
Reply View the author