Bug 433289

Summary: Failed to take screenshot of app window
Product: [Applications] Spectacle Reporter: ByteEnable <ByteEnable>
Component: GeneralAssignee: Boudhayan Gupta <me>
Status: RESOLVED DUPLICATE    
Severity: normal CC: kde, nate
Priority: NOR    
Version: 20.12.2   
Target Milestone: ---   
Platform: RedHat Enterprise Linux   
OS: Linux   
Latest Commit: Version Fixed In:

Description ByteEnable 2021-02-20 06:19:41 UTC
SUMMARY
Failed to take a screenshot of app window and copy to clipboard.

Feb 20 00:06:14 fedora spectacle[3749]: qt.qpa.wayland: Wayland does not support QWindow::requestActivate()



STEPS TO REPRODUCE
1. Setup spectacle to copy image to clipboard
2. Press Meta+Print
3. Attempt to copy image from clipboard into gimp.

OBSERVED RESULT
The clipboard is empty.


EXPECTED RESULT
Clipboard to contain image of app window.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Fedora 34 
(available in About System)
KDE Plasma Version: 5.21.0
KDE Frameworks Version: 5.79.0 
Qt Version: 5.15.2

ADDITIONAL INFORMATION

Feb 19 23:18:44 fedora spectacle[1950]: qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
Feb 19 23:22:11 fedora spectacle[2085]: qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
Feb 19 23:27:05 fedora spectacle[2085]: qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
Feb 19 23:27:25 fedora spectacle[2085]: qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
Feb 19 23:27:31 fedora spectacle[2085]: qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
Feb 19 23:27:36 fedora systemd[914]: app-org.kde.spectacle-f438a7e0a86c467fa0df8e7d7f1d9b01.scope: Succeeded.
Feb 19 23:27:36 fedora systemd[914]: app-org.kde.spectacle-f438a7e0a86c467fa0df8e7d7f1d9b01.scope: Consumed 2.505s CPU time.
Feb 19 23:27:41 fedora systemd[914]: app-org.kde.spectacle.service: Succeeded.
Feb 19 23:28:40 fedora spectacle[2337]: qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
Feb 19 23:29:00 fedora spectacle[2337]: qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
Feb 19 23:29:28 fedora spectacle[2337]: qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
Feb 19 23:32:08 fedora plasmashell[2337]: KCrash: Application 'spectacle' crashing...
Feb 19 23:39:12 fedora systemd[914]: app-org.kde.spectacle.service: Succeeded.
Feb 19 23:39:15 fedora systemd[914]: app-org.kde.spectacle.service: Succeeded.
Comment 1 Nate Graham 2021-02-22 23:49:08 UTC
Looks like the same root cause as Bug 432260.

*** This bug has been marked as a duplicate of bug 432260 ***