Skip to content

Manjaro KDE 6.2.5 Unable to get the image saved to the pasteboard by screenshot tool #2424

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
czcn opened this issue Feb 18, 2025 · 7 comments
Assignees
Labels
Bug Something isn't working Linux linux

Comments

@czcn
Copy link

czcn commented Feb 18, 2025

How frequently does the bug occur?

Always

Description

Manjaro KDE 6.2.5 无法获取截图工具保存到粘贴板的图片,但可以截取看图工具打开文件复制到粘贴板的图片。
用snipaste截图保存粘贴板的,日志出现

2025-02-18 15:40:22,913 INFO [DefaultDispatcher-worker-6] c.c.p.LinuxPasteboardService [LinuxPasteboardService.kt:104] notify change event
2025-02-18 15:40:22,914 ERROR [DefaultDispatcher-worker-6] c.c.p.l.a.WMCtrl [WMCtrl.kt:459] Cannot get WM_CLASS property.

用spectacle截图保存粘贴板的,日志出现

2025-02-18 15:40:51,417 INFO [DefaultDispatcher-worker-6] c.c.p.LinuxPasteboardService [LinuxPasteboardService.kt:104] notify change event

然后都不能出现在CrossPaste的粘贴板列表中。
但是如果Gwenview打开图片,复制到粘贴板,是可以产生成粘贴板列表的。
在Windows下,用snipaste保存粘贴板,可以正常的。

Stacktrace & log output

Can you reproduce the bug?

Always

Reproduction Steps

No response

Version

1.1.1(1232)

OS

Manjaro KDE 6.2.5

@CompileFuture2024 CompileFuture2024 changed the title Manjaro KDE 6.2.5 无法获取截图工具保存到粘贴板的图片 Manjaro KDE 6.2.5 Unable to get the image saved to the pasteboard by screenshot tool Feb 18, 2025
@guiyanakuang guiyanakuang self-assigned this Feb 18, 2025
@guiyanakuang guiyanakuang added Bug Something isn't working Linux linux labels Feb 18, 2025
@guiyanakuang guiyanakuang added this to the CrossPaste 1.1.2 milestone Feb 18, 2025
@guiyanakuang
Copy link
Member

@czcn. Thank you for reporting these issues. We will investigate the cause of the bug

@czcn
Copy link
Author

czcn commented Feb 28, 2025

再用着用着就闪退,systemtray消失,不知是否和这个图片复制出错有关。

@CompileFuture2024
Copy link

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


As I used it, it crashed and the systemtray disappeared. I wonder if it was related to the error in copying this image.

@guiyanakuang
Copy link
Member

@czcn Could you please upload logs to help confirm the issue? The log path for Linux is ~/.local/shard/.crosspaste/logs/crosspaste.log

@czcn
Copy link
Author

czcn commented Feb 28, 2025

crosspaste.zip

@guiyanakuang
Copy link
Member

Sorry, according to the logs, the application seems to have exited normally after completing all cleanup tasks, rather than crashing unexpectedly. Therefore, we cannot currently pinpoint the cause of the issue. For future versions, we may need to implement a feature that preserves the application state during crashes.

2025-02-28 13:48:46,788 INFO [DefaultDispatcher-worker-6] c.c.CrossPaste [CrossPaste.kt:300] AppUpdateService stop completed
2025-02-28 13:48:46,788 INFO [DefaultDispatcher-worker-7] c.c.CrossPaste [CrossPaste.kt:295] RenderingService stop completed
2025-02-28 13:48:46,790 INFO [DefaultDispatcher-worker-12] c.c.CrossPaste [CrossPaste.kt:300] PasteboardService stop completed
2025-02-28 13:48:46,790 INFO [DefaultDispatcher-worker-11] c.c.CrossPaste [CrossPaste.kt:300] CleanPasteScheduler stop completed
2025-02-28 13:48:46,798 INFO [DefaultDispatcher-worker-13] c.c.CrossPaste [CrossPaste.kt:300] GlobalListener stop completed
2025-02-28 13:48:46,799 INFO [DefaultDispatcher-worker-15] c.c.CrossPaste [CrossPaste.kt:300] UserDataPathProvider stop completed
2025-02-28 13:48:46,800 INFO [DefaultDispatcher-worker-16] c.c.CrossPaste [CrossPaste.kt:300] RealmManager stop completed
2025-02-28 13:48:46,803 INFO [DefaultDispatcher-worker-7] c.c.n.c.SyncClientApi [SyncClientApi.kt:379] response status: http://192.168.8.58:13129/sync/notifyExit 200 OK
2025-02-28 13:48:46,803 INFO [DefaultDispatcher-worker-7] c.c.CrossPaste [CrossPaste.kt:300] SyncManager stop completed
2025-02-28 13:48:46,866 INFO [DefaultDispatcher-worker-9] c.c.CrossPaste [CrossPaste.kt:295] RenderingService stop completed
2025-02-28 13:48:47,802 INFO [DefaultDispatcher-worker-2] c.c.CrossPaste [CrossPaste.kt:300] PasteServer stop completed
2025-02-28 13:48:50,791 INFO [DefaultDispatcher-worker-6] c.c.CrossPaste [CrossPaste.kt:300] PasteBonjourService stop completed
2025-02-28 13:48:50,792 INFO [DefaultDispatcher-worker-6] c.c.CrossPaste [CrossPaste.kt:158] beforeReleaseLockList execution completed
2025-02-28 13:48:50,792 INFO [DefaultDispatcher-worker-6] c.c.a.DesktopAppLaunch [DesktopAppLaunch.kt:64] Application lock released.
2025-02-28 13:48:50,792 INFO [DefaultDispatcher-worker-6] c.c.CrossPaste [CrossPaste.kt:160] AppLock release completed

@luxutao
Copy link

luxutao commented Apr 9, 2025

I hava same question. and I have temporary solution. I monitor image dir and open new image from gwenview by use script. Open new image and CTRL C, sleep 3 second auto exit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Linux linux
Projects
None yet
Development

No branches or pull requests

4 participants