Bug 479444 - Flameshot throws an Wayland does not support QWindow::requestActivate() error
Summary: Flameshot throws an Wayland does not support QWindow::requestActivate() error
Status: RESOLVED DOWNSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: 5.91.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-01-05 17:35 UTC by misterx42
Modified: 2024-01-05 23:12 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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