Bug 1643327

Summary: Flameshot crashes when running on Wayland session
Product: [Fedora] Fedora Reporter: Pablo Estigarribia <pablodav>
Component: flameshotAssignee: Vitaly <vitaly>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 32CC: efeozazar, emailtoflorian, guyver1.wales, louzaoh, redhat, subscribed-lists, vanheck, vitaly, zaferakalin
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/79063e8bf783c113967e9e4fab0e76d1ae011506
Whiteboard: abrt_hash:aaf9f73550552b97d4267e85c92a0ef362cda1f0;VARIANT_ID=workstation;
Fixed In Version: flameshot-0.8.3-1.fc32 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-10-07 20:36:17 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: cgroup
none
File: core_backtrace
none
File: cpuinfo
none
File: dso_list
none
File: environ
none
File: exploitable
none
File: limits
none
File: maps
none
File: mountinfo
none
File: open_fds
none
File: proc_pid_status none

Description Pablo Estigarribia 2018-10-26 02:02:00 UTC
Description of problem:
[pablo@powers11 ~]$ flameshot 
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
[pablo@powers11 ~]$ QT_QPA_PLATFORM=wayland flameshot 
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb.

Version-Release number of selected component:
flameshot-0.6.0-1.fc29

Additional info:
reporter:       libreport-2.9.6
backtrace_rating: 4
cmdline:        flameshot
executable:     /usr/bin/flameshot
journald_cursor: s=f74afd145d864e87bd027e5845ea883a;i=691ac;b=9bf87a78c3104ebe99e4afffdd2d91d1;m=deaa94b;t=57917fd93d2d3;x=85ab214ddbe11085
kernel:         4.18.15-300.fc29.x86_64
rootdir:        /
runlevel:       N 5
type:           CCpp
uid:            1000

Comment 1 Pablo Estigarribia 2018-10-26 02:02:06 UTC
Created attachment 1497596 [details]
File: backtrace

Comment 2 Pablo Estigarribia 2018-10-26 02:02:07 UTC
Created attachment 1497597 [details]
File: cgroup

Comment 3 Pablo Estigarribia 2018-10-26 02:02:09 UTC
Created attachment 1497598 [details]
File: core_backtrace

Comment 4 Pablo Estigarribia 2018-10-26 02:02:11 UTC
Created attachment 1497599 [details]
File: cpuinfo

Comment 5 Pablo Estigarribia 2018-10-26 02:02:12 UTC
Created attachment 1497600 [details]
File: dso_list

Comment 6 Pablo Estigarribia 2018-10-26 02:02:14 UTC
Created attachment 1497601 [details]
File: environ

Comment 7 Pablo Estigarribia 2018-10-26 02:02:16 UTC
Created attachment 1497602 [details]
File: exploitable

Comment 8 Pablo Estigarribia 2018-10-26 02:02:17 UTC
Created attachment 1497603 [details]
File: limits

Comment 9 Pablo Estigarribia 2018-10-26 02:02:19 UTC
Created attachment 1497604 [details]
File: maps

Comment 10 Pablo Estigarribia 2018-10-26 02:02:21 UTC
Created attachment 1497605 [details]
File: mountinfo

Comment 11 Pablo Estigarribia 2018-10-26 02:02:22 UTC
Created attachment 1497606 [details]
File: open_fds

Comment 12 Pablo Estigarribia 2018-10-26 02:02:23 UTC
Created attachment 1497607 [details]
File: proc_pid_status

Comment 13 Vitaly 2019-01-29 18:46:59 UTC
*** Bug 1670510 has been marked as a duplicate of this bug. ***

Comment 14 Vitaly 2019-01-29 18:47:41 UTC
*** Bug 1666923 has been marked as a duplicate of this bug. ***

Comment 15 Vitaly 2019-09-21 16:34:59 UTC
*** Bug 1685187 has been marked as a duplicate of this bug. ***

Comment 16 Vitaly 2019-09-21 16:35:24 UTC
*** Bug 1687423 has been marked as a duplicate of this bug. ***

Comment 17 Vitaly 2019-09-21 16:39:07 UTC
*** Bug 1731629 has been marked as a duplicate of this bug. ***

Comment 18 Vitaly 2019-09-21 16:39:30 UTC
*** Bug 1741912 has been marked as a duplicate of this bug. ***

Comment 19 Vitaly 2019-09-21 16:40:44 UTC
*** Bug 1712583 has been marked as a duplicate of this bug. ***

Comment 20 Vitaly 2019-09-21 16:43:12 UTC
*** Bug 1753673 has been marked as a duplicate of this bug. ***

Comment 21 Vitaly 2019-10-08 11:01:18 UTC
*** Bug 1759425 has been marked as a duplicate of this bug. ***

Comment 22 Ben Cotton 2020-02-11 15:48:09 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 32 development cycle.
Changing version to 32.

Comment 23 Héctor Louzao 2020-09-23 11:45:20 UTC
I update Yesterday from Fedora update-repo testing available for 32,33,34

sudo dnf update flameshot --enablerepo=updates-testing,updates-testing-modular

rpm -qa flameshot

flameshot-0.8.0-1.fc32.x86_64

Problem Fixed with this release:

1. Open Wayland Problem.
2. Show in Tray Icon.

Good work TEAM...

Regards.,

Comment 24 Fedora Update System 2020-09-24 08:41:27 UTC
FEDORA-2020-f8433c7882 has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-f8433c7882

Comment 25 Fedora Update System 2020-09-24 14:51:38 UTC
FEDORA-2020-f8433c7882 has been pushed to the Fedora 32 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-f8433c7882`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-f8433c7882

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 26 Fedora Update System 2020-09-30 01:21:44 UTC
FEDORA-2020-42cdf8e28e has been pushed to the Fedora 32 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-42cdf8e28e`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-42cdf8e28e

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 27 Flo H. 2020-10-01 07:33:58 UTC
Hi, I just tested this update on Fedora 33 (I know the bug is reported against F32, not F33 beta). Here some feedback:

When I start it from the Gnome starter icon, nothing happens. However, when I start it from CLI, <flameshot gui>, it works just expected.

Comment 28 Flo H. 2020-10-01 07:42:56 UTC
This is what I can find in journal after my attempt to start flameshot from Gnome:
flameshot[8320]: QSocketNotifier: Can only be used with threads started with QThread
systemd[7227]: app-gnome-flameshot-8320.scope: Succeeded.

Comment 29 Vitaly 2020-10-01 08:55:36 UTC
> When I start it from the Gnome starter icon, nothing happens.

It starts in tray mode by default. On Gnome you must install legacy tray support extension.

Comment 30 Flo H. 2020-10-01 09:52:59 UTC
I guess I'll have to file a new bug - can't ship software that doesn't work out of the box and requires a a third-party extension to be installed. Why don't simply start it with  the 'gui' option?

Comment 31 Fedora Update System 2020-10-07 20:36:17 UTC
FEDORA-2020-42cdf8e28e has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 32 Vitaly 2022-01-01 10:55:17 UTC
*** Bug 2036411 has been marked as a duplicate of this bug. ***