diff --git a/src/desktop/UBDesktopAnnotationController.cpp b/src/desktop/UBDesktopAnnotationController.cpp index a0a79cbd..063359fc 100644 --- a/src/desktop/UBDesktopAnnotationController.cpp +++ b/src/desktop/UBDesktopAnnotationController.cpp @@ -433,7 +433,10 @@ void UBDesktopAnnotationController::customCapture() UBCustomCaptureWindow customCaptureWindow(mDesktopPalette); // need to show the window before execute it to avoid some glitch on windows. + +#ifndef Q_WS_WIN // Working only without this call on win32 desktop mode customCaptureWindow.show(); +#endif if (customCaptureWindow.execute(getScreenPixmap()) == QDialog::Accepted) {