linuxdeepin/deepin-screen-recorder

KDE task bar locks up for 50 seconds while processing a screenshot

Closed this issue · 2 comments

FHFS commented

Hello,

First of all, thanks for creating this tool.
I've got a problem, when I take a screenshot my KDE Task bar locks up.Screen Capture_plasmashell_20201127153709 I cant use my top bar, I can however use alt-tab.

It also takes a long time to capture the screenshot. which you can see in the logs below.

 fhfs@FHFS-Dell  ~  deepin-screen-recorder -v
deepin-screen-recorder 1127
 fhfs@FHFS-Dell  ~  deepin-screen-recorder   
2020-11-27, 14:36:05.577 [Warning] [dapplication.cpp     Dtk::Widget::DApplicationPrivate::loadTranslator 317] "dtkwidget" can not find qm files ("dtkwidget_C.qm", "dtkwidget_C.qm")
2020-11-27, 14:36:05.577 [Warning] [dapplication.cpp     Dtk::Widget::DApplicationPrivate::loadTranslator 317] "deepin-screen-recorder" can not find qm files ("deepin-screen-recorder_C.qm", "deepin-screen-recorder_C.qm")
2020-11-27, 14:36:05.593 [Debug  ] [                                                         0] ConfigSettings: "effect" "is_blur" QVariant(bool, false)
2020-11-27, 14:36:05.608 [Debug  ] [                                                         0] ConfigSettings: "effect" "is_mosaic" QVariant(bool, false)
2020-11-27, 14:36:05.608 [Debug  ] [                                                         0] Setting file: "/home/fhfs/.config/deepin/deepin-screen-recorder.conf"
2020-11-27, 14:36:05.623 [Debug  ] [                                                         0] config changed
2020-11-27, 14:36:05.623 [Debug  ] [                                                         0] ConfigSettings: "common" "themeType" QVariant(int, 2)
2020-11-27, 14:36:05.672 [Debug  ] [                                                         0] is zhao xin: ""
2020-11-27, 14:36:05.802 [Debug  ] [                                                         0] screen rect: QRect(0,0 1920x1080)
No appenders assotiated with category qt.qpa.xcb
[Warning] <> QXcbConnection: XCB error: 5 (BadAtom), sequence: 446, resource id: 0, major code: 20 (GetProperty), minor code: 0
2020-11-27, 14:36:08.663 [Debug  ] [                                                         0] mic status false
2020-11-27, 14:36:10.452 [Debug  ] [                                                         0] release event !!!
2020-11-27, 14:36:10.513 [Debug  ] [                                                         0] shotCurrentImg shotFullScreen
2020-11-27, 14:36:10.513 [Debug  ] [                                                         0] m_backgroundRect QRect(0,0 1920x1080)
2020-11-27, 14:36:10.531 [Debug  ] [                                                         0] m_resultPixmap QRect(0,0 1920x1080)
2020-11-27, 14:36:10.531 [Debug  ] [                                                         0] 0 , 36 , 1920 , 1044 QRect(0,0 1920x1080) 1
2020-11-27, 14:36:10.541 [Debug  ] [                                                         0] release event !!!
2020-11-27, 14:36:10.560 [Debug  ] [                                                         0] ConfigSettings: "common" "default_savepath" QVariant(QString, "/home/fhfs")
2020-11-27, **14:36:10.561** [Debug  ] [                                                         0] "/home/fhfs/Screen Capture_tilix_20201127143610.png"
2020-11-27, **14:36:35.535** [Debug  ] [                                                         0] saveFilePath: "/home/fhfs/Screen Capture_tilix_20201127143610.png"
2020-11-27, **14:37:00.554** [Debug  ] [                                                         0] release event !!!

Got any solutions for me?

You can't operate KDE in screen capture, but you can do it after completing the screen capture.

Capture screen snapshot speed, we are to optimize, thank you for your suggestions.

This issue will be temporarily closed due to no response received. Please reopen the issue if there're any new updates.