flameshot icon indicating copy to clipboard operation
flameshot copied to clipboard

Fedora 43 (Gnome 49) : app doesnt start

Open rlabrach opened this issue 1 month ago • 38 comments

Flameshot Version

Flameshot v13.3.0 (-) Compiled with Qt 6.10.0

Installation Type

Linux, MacOS, or Windows Package manager (apt, pacman, eopkg, choco, brew, ...)

Operating System type and version

fedora43

Description

Hello, I am using Fedora 43 (Gnome 49) and Flameshot will not launch. I get this error message in the terminal: QThreadStorage: entry 2 destroyed before end of thread 0x560fc0f96d90 QThreadStorage: entry 1 destroyed before end of thread 0x560fc0f96d90

I can launch a screenshot via the command flameshot gui

but the application does not remain active after the capture. Thank you for your help.

Steps to reproduce

install Flamshot via fedora software doesnt start

Screenshots or screen recordings

Image

System Information

Fedora 43

rlabrach avatar Nov 05 '25 10:11 rlabrach

I tried this on a clean-install of Fedora 43 KDE Plasma it works:

Image

I will try to install Gnome version and will update this post.

mmahmoudian avatar Nov 05 '25 11:11 mmahmoudian

Yes thanks, I'm using a fresh install of fedora 43 on my side.

Sent from Proton Mail for Android.

-------- Original Message -------- On Wednesday, 11/05/25 at 12:48 Mehrad Mahmoudian @.***> wrote:

mmahmoudian left a comment (flameshot-org/flameshot#4368)

I tried this on a clean-install of Fedora 43 KDE Plasma it works:

image.png (view on web)

I will try to install Gnome version and will update this post.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

rlabrach avatar Nov 05 '25 12:11 rlabrach

I couldn't reproduce this on Fedora 43 Gnome either:

Image

mmahmoudian avatar Nov 05 '25 13:11 mmahmoudian

argh... i have always this in the terminal... flameshot: info: Capture d'écran sauvegardée sous /home/renaud/Images/2025-11-05_14-54.png QThreadStorage: entry 2 destroyed before end of thread 0x55a4fe388d90 QThreadStorage: entry 1 destroyed before end of thread 0x55a4fe388d90

Image

rlabrach avatar Nov 05 '25 13:11 rlabrach

i use a fresh install of Fedora 43/Gnome on an another computer, I have the same problem... How do you think I can move forward with my problem? Thank you.

rlabrach avatar Nov 05 '25 13:11 rlabrach

Perhaps I've misunderstood your issue. So you can run flameahot gui and you can take a screenshot?

mmahmoudian avatar Nov 05 '25 20:11 mmahmoudian

Yes, i can run flameahot gui using the terminal, but it doesn't work when I click on the program icon, nothing happens at all. When I use the flameahot gui command, the program works fine and I can save the screenshot, but right after that the program quits on its own and the terminal displays :

Image

flameshot: info: Capture d'écran sauvegardée sous /home/renaud/Images/2025-11-05_21-58.png QThreadStorage: entry 2 destroyed before end of thread 0x560a790d4d90 QThreadStorage: entry 1 destroyed before end of thread 0x560a790d4d90

rlabrach avatar Nov 05 '25 20:11 rlabrach

Can you post your config file?

borgmanJeremy avatar Nov 05 '25 21:11 borgmanJeremy

Image

Please, tell me how i can send it to you.

You mean this ? :

[General] contrastOpacity=188 disabledTrayIcon=false showSelectionGeometryHideTime=2998 startupLaunch=true

rlabrach avatar Nov 05 '25 21:11 rlabrach

maybe it's better in english ;)

Image

rlabrach avatar Nov 05 '25 21:11 rlabrach

The config file you posted was perfect, want to make sure we try to replicate with all the same settings

borgmanJeremy avatar Nov 05 '25 22:11 borgmanJeremy

Image

The strange thing is that I just installed Fedora 43 / Gnome on another machine (Framework 13 / AMD) and I have exactly the same problem... Could this be because I am using a French version of Fedora?

rlabrach avatar Nov 05 '25 22:11 rlabrach

You could try testing in English or testing the flatpak to help isolate the difference.

I can set up a French fedora VM to see if I can replicate it that way.

borgmanJeremy avatar Nov 05 '25 23:11 borgmanJeremy

Hello, I tested both the RPM and Flatpak versions with the same result: neither of them launches directly. I have to go through the terminal.

rlabrach avatar Nov 06 '25 07:11 rlabrach

I have the same issue on Ubuntu 25.10 running gnome 49, which was updated recently.

Image Image

Darahz avatar Nov 06 '25 07:11 Darahz

Hello! I have the same issue, i have updated to fedora 43

image

image

rwxjon avatar Nov 06 '25 08:11 rwxjon

FYI:

  • I installed Fedora Workstation 43 with Gnome 49 in a VM (Gnome Boxes).
  • I fully updated the system and restarted.
  • I installed flameshot via dnf.
  • The command flameshot gui did nothing.
  • The command flameshot launcher made Gnome open the popup to allow screen capture.
  • Now flameshot gui opens, I can select an area, but it doesn't copy the image to the clipboard (via Ctrl+C or the copy button).
  • I restarted the system.
  • Everything repeated itself, except for the popup to allow screen capture.

This was the behavior I experienced. If you want, I can perform more tests.

mhagnumdw avatar Nov 06 '25 13:11 mhagnumdw

Thanks mhagnumdw, Does the application launch correctly from the applications menu?

Image

rlabrach avatar Nov 06 '25 14:11 rlabrach

@rlabrach, I just performed the test:

  • I started the system
  • There was no instance of flameshot running, ok (I checked with ps aux)
  • I clicked on flameshot via the gnome menu (as in your image above)
  • flameshot ran in the background (without a GUI, I checked with ps aux and trayicon)
  • In the terminal I executed flameshot gui
  • The flameshot selection GUI appeared correctly, but the problem of not copying persists
$ flameshot --version
Flameshot v13.3.0 (-)
Compiled with Qt 6.10.0

mhagnumdw avatar Nov 06 '25 15:11 mhagnumdw

@rlabrach do you have a gnome extension to enable the tray icon? I can't replicate your issue yet, but was wondering if it was something simple like that.

borgmanJeremy avatar Nov 07 '25 01:11 borgmanJeremy

I tested the GNOME extension AppIndicator and KStatusNotifierItem Support, and I can see the icon in the taskbar with its options. However, when I click “Open Launcher”, an error message appears in the notifications area, along with the frame for taking a screenshot. If I click the “Take Screenshot” button, the same error message shows up again in the notifications.

Image Image

rwxjon avatar Nov 07 '25 08:11 rwxjon

@rwxjon , for me too. Right-click on the Flameshot icon in the system tray, then select the Take screenshot option.

Logs:

08:42:32 gnome-logs: libEGL warning: egl: failed to create dri2 screen
08:42:32 systemd: Started dbus-:[email protected].
08:42:28 flameshot: QLayout: Attempting to add QLayout "" to SidePanelWidget "", which already has a layout
08:42:28 xdg-desktop-por: Failed to show access dialog: Timeout was reached
08:42:03 gnome-shell: Unhandled promise rejection. To suppress this warning, add an error handler to your promise chain with .catch() or a try-catch block around your await expression. Stack trace of the failed promise:
AccessDialogAsync@resource:///org/gnome/shell/ui/accessDialog.js:148:28
_handleMethodCall@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:374:35
_wrapJSObject/<@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:409:34
@resource:///org/gnome/shell/ui/init.js:21:20

08:42:03 xdg-desktop-por: Failed to associate portal window with parent window 

mhagnumdw avatar Nov 07 '25 11:11 mhagnumdw

I’m also experiencing the same issue

Environment:

  • OS: Kali Linux Rolling
  • Desktop: GNOME 48.4
  • Session: Wayland
  • WM: Mutter
  • Flameshot fails with: “Unable to capture screen”
  • App does not open or capture any region at all

It seems to be a GNOME + Wayland–specific regression, because the exact same setup was working before until something happened recently which still unknown to me, As per the above comments this might be speicific to Gnome

Image

godly-raam avatar Nov 08 '25 07:11 godly-raam

Well, I was able to run it through a keyboard shortcut using the command: flatpak run --command=flameshot org.flameshot.Flameshot gui in the keyboard shortcut settings, then I granted permissions: flatpak permission-set screenshot screenshot org.flameshot.Flameshot yes; however, it doesn’t let me copy the image to the clipboard.

MichoGames avatar Nov 08 '25 09:11 MichoGames

An Extra detail:

Flameshot works only when launched from the terminal. Running flameshot gui via CLI lets me capture the screen normally

However, when I try to use any Flameshot keyboard shortcuts , it fails and the application freezes

Image

Above screenshot taken thorugh Flameshot but with the flameshot gui command

godly-raam avatar Nov 08 '25 09:11 godly-raam

I thought it was only me who had this problem.

Image

This happened on Fedora 43 with GNOME 49 and QT6, which is running on my host machine. The result is, I can take the snapshot but can not copy anything to clipboard.

But in the VM running a fresh Ubuntu 24.04 on the same host, it worked, and the picture was successfully passed through!

Image

News:

It may relates to this issue: #4363. I'll verify again when it's fixed.

verils avatar Nov 11 '25 11:11 verils

Yes same problem with Appindicator

Image

But it's work when start from terminal...

rlabrach avatar Nov 11 '25 12:11 rlabrach

Fedora 43 Workstation Gnome - Downloaded like 2 days before.

I am also facing same issue on English version. Also, Copy to Clipboard not working.

From Terminal it works. But fails when i do from flameshot app icon. $ flameshot gui QLayout: Attempting to add QLayout "" to SidePanelWidget "", which already has a layout QPainter::begin: Paint device returned engine == 0, type: 2 QPainter::setRenderHint: Painter must be active to set rendering hints QPainter::setCompositionMode: Painter not active QPainter::translate: Painter not active QPainter::setPen: Painter not active QPainter::setBrush: Painter not active QPainter::drawEllipse: Painter not active QPainter::setBrush: Painter not active QPainter::drawEllipse: Painter not active flameshot: info: Screenshot aborted. QThreadStorage: entry 2 destroyed before end of thread 0x556970c2cd90 QThreadStorage: entry 1 destroyed before end of thread 0x556970c2cd90

Image

cjspd-oly avatar Nov 17 '25 12:11 cjspd-oly

@mmahmoudian This is a common issue. Could you please label this issue again?

cjspd-oly avatar Nov 17 '25 12:11 cjspd-oly

@rlabrach I found a workaround/solution use flatpak. It atleast launches.

Clipboard issue exists on Flatpak

https://www.reddit.com/r/gnome/comments/1e3rahs/comment/lda1vxt/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button

cjspd-oly avatar Nov 17 '25 15:11 cjspd-oly