Open gerelef opened 1 month ago
COSMIC is looking brilliant, and I'm switching over on WFH machine, but living without Flameshot is unthinkable! :wink: :+1:
Setting the variable XDG_CURRENT_DESKTOP
will also not help:
$ XDG_CURRENT_DESKTOP=COSMIC flameshot
QSocketNotifier: Can only be used with threads started with QThread
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()
+1 to fix this on cosmic
Flameshot works fine on COSMIC for me. The only thing that's borked for me is #2848, which seems to be independent of COSMIC.
Flameshot v12.1.0 (-)
Compiled with Qt 5.15.14
Maybe trying newer versions of COSMIC could help? Idk, I'm new to COSMIC too.
I've got the same version of Flameshot and Qt as you and I've updated to the lastest cosmic by removing the version from the Arch repos and installing cosmic-session-git
from the AUR. Unfortunately for me it's not working.
10:23:49 zen ~ flameshot
QSocketNotifier: Can only be used with threads started with QThread
10:24:11 zen ~ flameshot gui
QSocketNotifier: Can only be used with threads started with QThread
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()
flameshot: info: Screenshot aborted.
10:24:13 zen ~
Clicking Take Screenshot in the Flameshot system tray applet's menu...
NGL, if the error is this flakey, it seems like a bug in COSMIC than in Flameshot? But I don't know the internals of either software. Would be better if a maintainer commented here.
Flameshot Version
Installation Type
Linux, MacOS, or Windows Package manager (apt, pacman, eopkg, choco, brew, ...)
Operating System type and version
fedora-40; cosmic-desktop DE
Description
Flameshot instantly fatally errors when attempting to take screenshot via any way. Running under cosmic-desktop, installed in fedora 40 via copr
Steps to reproduce
flameshot gui
in the terminalScreenshots or screen recordings
No response
System Information
fedora 40, cosmic-desktop via copr running wayland w/ display layout: