Snipaste / feedback

Feedback & wiki for Snipaste https://snipaste.com
3.1k stars 197 forks source link

截圖窗口顯示不完整 #2921

Open TheSnowfield opened 7 months ago

TheSnowfield commented 7 months ago

联系方式

No response

发生了什么?

使用KDE Plasma 5, Debian 12 bookworm x86_64 Linux shizuku 6.8.6-surface-1 #1 SMP PREEMPT_DYNAMIC Tue Apr 16 12:48:24 UTC 2024 x86_64 GNU/Linux X11

以任何方式進入到截圖模式。 image

經過測試發現,如果以 root 權限啓動 Snipaste,則不會出現此問題。 image

值得注意的是,當截圖窗口發生"殘缺"時,有以下特性:

使用xprop探測窗口

NET_WM_USER_TIME(CARDINAL) = 69563656
_NET_WM_STATE(ATOM) = _NET_WM_STATE_SKIP_TASKBAR, _NET_WM_STATE_SKIP_PAGER, _NET_WM_STATE_ABOVE, _NET_WM_STATE_STAYS_ON_TOP, _NET_WM_STATE_ABOVE, _NET_WM_STATE_STAYS_ON_TOP, _NET_WM_STATE_ABOVE, _NET_WM_STATE_STAYS_ON_TOP, _NET_WM_STATE_ABOVE, _NET_WM_STATE_STAYS_ON_TOP, _NET_WM_STATE_ABOVE, _NET_WM_STATE_STAYS_ON_TOP, _NET_WM_STATE_ABOVE, _NET_WM_STATE_STAYS_ON_TOP, _NET_WM_STATE_ABOVE, _NET_WM_STATE_STAYS_ON_TOP, _NET_WM_STATE_ABOVE, _NET_WM_STATE_STAYS_ON_TOP, _NET_WM_STATE_ABOVE, _NET_WM_STATE_STAYS_ON_TOP, _NET_WM_STATE_ABOVE, _NET_WM_STATE_STAYS_ON_TOP, _NET_WM_STATE_ABOVE, _NET_WM_STATE_STAYS_ON_TOP, _NET_WM_STATE_ABOVE, _NET_WM_STATE_STAYS_ON_TOP, _NET_WM_STATE_ABOVE, _NET_WM_STATE_STAYS_ON_TOP, _NET_WM_STATE_ABOVE, _NET_WM_STATE_STAYS_ON_TOP, _NET_WM_STATE_ABOVE, _NET_WM_STATE_STAYS_ON_TOP, _NET_WM_STATE_ABOVE, _NET_WM_STATE_STAYS_ON_TOP, _NET_WM_STATE_ABOVE, _NET_WM_STATE_STAYS_ON_TOP, _NET_WM_STATE_ABOVE, _NET_WM_STATE_STAYS_ON_TOP, _NET_WM_STATE_ABOVE, _NET_WM_STATE_STAYS_ON_TOP, _NET_WM_STATE_ABOVE, _NET_WM_STATE_STAYS_ON_TOP, _NET_WM_STATE_ABOVE, _NET_WM_STATE_STAYS_ON_TOP, _NET_WM_STATE_ABOVE, _NET_WM_STATE_STAYS_ON_TOP, _NET_WM_STATE_ABOVE, _NET_WM_STATE_STAYS_ON_TOP, _NET_WM_STATE_ABOVE, _NET_WM_STATE_STAYS_ON_TOP, _NET_WM_STATE_ABOVE, _NET_WM_STATE_STAYS_ON_TOP, _NET_WM_STATE_ABOVE, _NET_WM_STATE_STAYS_ON_TOP, _NET_WM_STATE_ABOVE, _NET_WM_STATE_STAYS_ON_TOP, _NET_WM_STATE_ABOVE, _NET_WM_STATE_STAYS_ON_TOP
_NET_WM_ICON_NAME(UTF8_STRING) = 
_NET_WM_ICON(CARDINAL) =        Icon (49 x 49):
XdndAware(ATOM) = BITMAP
WM_NAME(STRING) = "Snipper - Snipaste"
_NET_WM_NAME(UTF8_STRING) = "Snipper - Snipaste"
_MOTIF_WM_HINTS(_MOTIF_WM_HINTS) = 0x2, 0x1, 0x0, 0x0, 0x0
_NET_WM_WINDOW_TYPE(ATOM) = _KDE_NET_WM_WINDOW_TYPE_OVERRIDE, _NET_WM_WINDOW_TYPE_NORMAL
_XEMBED_INFO(_XEMBED_INFO) = 0x0, 0x1
WM_CLIENT_LEADER(WINDOW): window id # 0xb000012
WM_HINTS(WM_HINTS):
                Client accepts input or input focus: True
                window id # of group leader: 0xb000012
WM_CLIENT_MACHINE(STRING) = "shizuku"
_NET_WM_PID(CARDINAL) = 483603
_NET_WM_SYNC_REQUEST_COUNTER(CARDINAL) = 184549393
_GTK_APPLICATION_ID(UTF8_STRING) = "com.snipaste.Snipaste"
_KDE_NET_WM_DESKTOP_FILE(UTF8_STRING) = "com.snipaste.Snipaste"
WM_CLASS(STRING) = "Snipaste", "Snipaste"
WM_PROTOCOLS(ATOM): protocols  WM_DELETE_WINDOW, WM_TAKE_FOCUS, _NET_WM_PING, _NET_WM_SYNC_REQUEST
WM_NORMAL_HINTS(WM_SIZE_HINTS):
                user specified location: 0, 0
                user specified size: 2882 by 1922
                program specified resize increment: 2 by 2
                window gravity: Static

运行平台

Linux

软件版本

Snipaste-Linux-2.9-Beta-x86_64

liulex commented 7 months ago

那就先用 root 运行吧 (🤦🏻‍♂️

TheSnowfield commented 7 months ago

那就先用 root 运行吧 (🤦🏻‍♂️

XDDXDXD 如果之後需要更多診斷數據或者協助調試,請隨時提出。 再次感謝你的努力!

ShadowUnderMoon commented 5 months ago

这个问题我在Linux下经常遇到,在flameshot下也遇到过,反而qq等软件没有这个问题

XSANElimos commented 4 months ago

Windows下也出现了这个问题 同样使用管理员权限重新打开就好了 1722218401968

TheSnowfield commented 2 months ago

更新到 v2.10.1 之後,問題得到了一些改善。 原來顯示不完整的地方會不斷閃爍,偶爾帶有一些花屏的glitch。

https://github.com/user-attachments/assets/f50292ab-d3ab-4420-bb54-4798c98abcdc