Bug 479444

Summary: Flameshot throws an Wayland does not support QWindow::requestActivate() error
Product: [Plasma] kwin Reporter: misterx42
Component: wayland-genericAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DOWNSTREAM    
Severity: normal CC: fella, misterx42
Priority: NOR Keywords: qt6
Version: 5.91.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description misterx42 2024-01-05 17:35:42 UTC
STEPS TO REPRODUCE
1. Try to take a screenshot with Flameshot, either thru the task bar or the application menu itself 
2. Nothing happens, application throws an error

OBSERVED RESULT
Trying to take a screenshot with Flameshot always results in a following error:
flameshot: error: Unable to capture screen
flameshot: error: Unable to capture screen
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()

Trying to use the "Open Launcher" option from the taskbar and then take a screenshot results in a slightly different error:
flameshot: error: Unable to capture screen
QPixmap::scaled: Pixmap is a null pixmap
QPixmap::scaled: Pixmap is a null pixmap
flameshot: error: Unable to capture screen
flameshot: error: Unable to capture screen
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()

EXPECTED RESULT
Flameshot takes a screenshot as usual on Plasma 5.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: EndeavorOS (Not sure if I should report this as Arch for the purpose of the bug)
KDE Plasma Version: 5.91.0-2 (Arch repo's kde-unstable latest)
KDE Frameworks Version: unknown
Qt Version: 6.7.0beta1-2

ADDITIONAL INFORMATION
n/a
Comment 1 Tobias Fella 2024-01-05 23:12:38 UTC
This is not a Kwin bug