flameshot
flameshot copied to clipboard
flameshot not working properly on fedora38 on kde on wayland
Flameshot Version
Flameshot v12.1.0 (6228b195) Compiled with Qt 5.15.10
OS: Fedora Linux 38 (KDE Plasma) x86_64
Installation Type
Compiled from source
Operating System type and version
GNU/Linux Fedora 38
Description
When I try to run flameshot gui
, the area of the screen visible becomes a little more than 1/4th.
the error I get:
QLayout: Attempting to add QLayout "" to SidePanelWidget "", which already has a layout
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
what I have tried
I already install xdg-desktop-portal-kde
xdg-desktop-portal
https://github.com/flameshot-org/flameshot/issues/2660#issuecomment-1155207596
Steps to reproduce
install flameshot from dnf or compile from source
run flameshot gui
Screenshots or screen recordings
No response
System Information
GNU/Linux Fedora 38 Kernel: 6.4.14-200.fc38.x86_64
monitor: laptop ( no external monitors) desktop environment: KDE, Window manager: KWin Using Wayland
Does anybody know how to resolve the issue ?
I have a similar issue on Kubuntu 23.10 on wayland, and swaywm. I compiled from source from latest version using git clone.
Command: flameshot gui
Takes for few minutes to show errors
flameshot: error: Unable to detect desktop environment (GNOME? KDE? Sway? ...) flameshot: error: Hint: try setting the XDG_CURRENT_DESKTOP environment variable. flameshot: error: Unable to capture screen flameshot: error: Unable to capture screen qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
When I use the suggested environment variable, and flameshot just seems to hang. I added a few environment variables, and I'm in the process of using then in different combinations.