Open Sagar-Prajapati opened 1 month ago
Hi i had the same behavior, if i ran the application, nothing happen when i'm running launcher and capture, the rest of the app is opening windows as version, update...
I'm running debian 12 with wayland
Flameshot v12.1.0 (Debian 12.1.0-2) Compiled with Qt 5.15.8 linux: 6.1.0-23-amd64 debian: 12
logs
dbus-monitor --session sender=org.flameshot.Flameshot
signal time=1727766443.798225 sender=org.freedesktop.DBus -> destination=:1.289 serial=2 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameAcquired
string ":1.289"
signal time=1727766443.798270 sender=org.freedesktop.DBus -> destination=:1.289 serial=4 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameLost
string ":1.289"
method call time=1727766448.364395 sender=:1.287 -> destination=org.freedesktop.DBus serial=28 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
string "type='signal',sender='org.freedesktop.portal.Desktop',path='/org/freedesktop/portal/desktop/request/1_287/23fdd335d35e4f4ab7ffb4dd0a94f848',interface='org.freedesktop.portal.Request',member='Response'"
method call time=1727766448.364435 sender=:1.287 -> destination=org.freedesktop.portal.Desktop serial=29 path=/org/freedesktop/portal/desktop; interface=org.freedesktop.portal.Screenshot; member=Screenshot
string ""
array [
dict entry(
string "handle_token"
variant string "23fdd335d35e4f4ab7ffb4dd0a94f848"
)
dict entry(
string "interactive"
variant boolean false
)
]
method call time=1727766467.322165 sender=:1.287 -> destination=org.freedesktop.DBus serial=30 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
string "type='signal',sender='org.freedesktop.portal.Desktop',path='/org/freedesktop/portal/desktop/request/1_287/dc0aa8f1bbc340bb8cb4d0bbe895d16f',interface='org.freedesktop.portal.Request',member='Response'"
method call time=1727766467.322204 sender=:1.287 -> destination=org.freedesktop.portal.Desktop serial=31 path=/org/freedesktop/portal/desktop; interface=org.freedesktop.portal.Screenshot; member=Screenshot
string ""
array [
dict entry(
string "handle_token"
variant string "dc0aa8f1bbc340bb8cb4d0bbe895d16f"
)
dict entry(
string "interactive"
variant boolean false
)
]
If i'm starting flameshot from terminal it'working normaly
logs if app it had been launch from terminal
dbus-monitor --session sender=org.flameshot.Flameshot
signal time=1727766718.687697 sender=org.freedesktop.DBus -> destination=:1.294 serial=2 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameAcquired
string ":1.294"
signal time=1727766718.687726 sender=org.freedesktop.DBus -> destination=:1.294 serial=4 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameLost
string ":1.294"
method call time=1727766723.884826 sender=:1.292 -> destination=org.freedesktop.portal.Desktop serial=18 path=/org/freedesktop/portal/desktop; interface=org.freedesktop.DBus.Introspectable; member=Introspect
method call time=1727766723.888521 sender=:1.292 -> destination=org.freedesktop.DBus serial=19 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
string "type='signal',sender='org.freedesktop.DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',arg0='org.freedesktop.portal.Desktop'"
method call time=1727766723.888544 sender=:1.292 -> destination=org.freedesktop.DBus serial=20 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=GetNameOwner
string "org.freedesktop.portal.Desktop"
method call time=1727766723.889221 sender=:1.292 -> destination=org.freedesktop.DBus serial=21 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=GetNameOwner
string "org.freedesktop.portal.Desktop"
method call time=1727766723.889909 sender=:1.292 -> destination=org.freedesktop.DBus serial=22 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
string "type='signal',sender='org.freedesktop.portal.Desktop',path='/org/freedesktop/portal/desktop/request/1_292/37b780a8ec5a43b8ae38230573d8f7a7',interface='org.freedesktop.portal.Request',member='Response'"
method call time=1727766723.889930 sender=:1.292 -> destination=org.freedesktop.DBus serial=23 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
string "type='signal',sender='org.freedesktop.DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',arg0='org.freedesktop.portal.Desktop'"
method call time=1727766723.889935 sender=:1.292 -> destination=org.freedesktop.DBus serial=24 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=GetNameOwner
string "org.freedesktop.portal.Desktop"
method call time=1727766723.890542 sender=:1.292 -> destination=org.freedesktop.portal.Desktop serial=25 path=/org/freedesktop/portal/desktop; interface=org.freedesktop.portal.Screenshot; member=Screenshot
string ""
array [
dict entry(
string "handle_token"
variant string "37b780a8ec5a43b8ae38230573d8f7a7"
)
dict entry(
string "interactive"
variant boolean false
)
]
method call time=1727766724.451747 sender=:1.292 -> destination=org.freedesktop.portal.Desktop serial=26 path=/org/freedesktop/portal/desktop/request/1_292/37b780a8ec5a43b8ae38230573d8f7a7; interface=org.freedesktop.portal.Request; member=Close
method call time=1727766724.452359 sender=:1.292 -> destination=org.freedesktop.DBus serial=27 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=RemoveMatch
string "type='signal',sender='org.freedesktop.portal.Desktop',path='/org/freedesktop/portal/desktop/request/1_292/37b780a8ec5a43b8ae38230573d8f7a7',interface='org.freedesktop.portal.Request',member='Response'"
method call time=1727766724.452384 sender=:1.292 -> destination=org.freedesktop.DBus serial=28 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=RemoveMatch
string "type='signal',sender='org.freedesktop.DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',arg0='org.freedesktop.portal.Desktop'"
method call time=1727766724.452405 sender=:1.292 -> destination=org.freedesktop.DBus serial=29 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=RemoveMatch
string "type='signal',sender='org.freedesktop.DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',arg0='org.freedesktop.portal.Desktop'"
method call time=1727766728.697465 sender=:1.292 -> destination=org.freedesktop.Notifications serial=30 path=/org/freedesktop/Notifications; interface=org.freedesktop.DBus.Introspectable; member=Introspect
method call time=1727766728.697784 sender=:1.292 -> destination=org.freedesktop.DBus serial=31 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
string "type='signal',sender='org.freedesktop.DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',arg0='org.freedesktop.Notifications'"
method call time=1727766728.697935 sender=:1.292 -> destination=org.freedesktop.DBus serial=32 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=GetNameOwner
string "org.freedesktop.Notifications"
method call time=1727766728.698154 sender=:1.292 -> destination=org.freedesktop.Notifications serial=33 path=/org/freedesktop/Notifications; interface=org.freedesktop.Notifications; member=Notify
string "flameshot"
uint32 0
string "flameshot"
string "Flameshot Info"
string "Capture enregistrée dans le presse-papier."
array [
]
array [
]
int32 5000
flameshot: info: Capture enregistrée dans le presse-papier.
method call time=1727766728.708053 sender=:1.292 -> destination=org.freedesktop.DBus serial=34 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=RemoveMatch
string "type='signal',sender='org.freedesktop.DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',arg0='org.freedesktop.Notifications'"
There is a USE_WAYLAND_GRIM flag so you can tell flameshot to sidestep the DBUS and it uses the output of the grim program
Flameshot Version
Flameshot v12.1.0 (Debian 12.1.0-2build2)
Installation Type
Linux, MacOS, or Windows Package manager (apt, pacman, eopkg, choco, brew, ...)
Operating System type and version
Ubuntu 24.04
Description
The dbus-monitor content
``` dbus-monitor --session sender=org.flameshot.Flameshot signal time=1727690099.322765 sender=org.freedesktop.DBus -> destination=:1.746 serial=2 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameAcquired string ":1.746" signal time=1727690099.322791 sender=org.freedesktop.DBus -> destination=:1.746 serial=4 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameLost string ":1.746" method call time=1727690103.385699 sender=:1.738 -> destination=org.freedesktop.DBus serial=77 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch string "type='signal',sender='org.freedesktop.DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',arg0='org.freedesktop.portal.Desktop'" method call time=1727690103.385762 sender=:1.738 -> destination=org.freedesktop.DBus serial=78 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=GetNameOwner string "org.freedesktop.portal.Desktop" method call time=1727690103.386302 sender=:1.738 -> destination=org.freedesktop.DBus serial=79 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=GetNameOwner string "org.freedesktop.portal.Desktop" method call time=1727690103.386704 sender=:1.738 -> destination=org.freedesktop.DBus serial=80 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch string "type='signal',sender='org.freedesktop.portal.Desktop',path='/org/freedesktop/portal/desktop/request/1_738/01ae3701750c436fb7c97a1d36dd83c9',interface='org.freedesktop.portal.Request',member='Response'" method call time=1727690103.386731 sender=:1.738 -> destination=org.freedesktop.DBus serial=81 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch string "type='signal',sender='org.freedesktop.DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',arg0='org.freedesktop.portal.Desktop'" method call time=1727690103.386765 sender=:1.738 -> destination=org.freedesktop.DBus serial=82 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=GetNameOwner string "org.freedesktop.portal.Desktop" method call time=1727690103.387243 sender=:1.738 -> destination=org.freedesktop.portal.Desktop serial=83 path=/org/freedesktop/portal/desktop; interface=org.freedesktop.portal.Screenshot; member=Screenshot string "" array [ dict entry( string "handle_token" variant string "01ae3701750c436fb7c97a1d36dd83c9" ) dict entry( string "interactive" variant boolean false ) ] method call time=1727690103.394327 sender=:1.738 -> destination=org.freedesktop.portal.Desktop serial=84 path=/org/freedesktop/portal/desktop/request/1_738/01ae3701750c436fb7c97a1d36dd83c9; interface=org.freedesktop.portal.Request; member=Close method call time=1727690103.395033 sender=:1.738 -> destination=org.freedesktop.DBus serial=85 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch string "type='signal',sender='org.freedesktop.DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',arg0='org.freedesktop.Notifications'" method call time=1727690103.395131 sender=:1.738 -> destination=org.freedesktop.DBus serial=86 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=GetNameOwner string "org.freedesktop.Notifications" method call time=1727690103.395640 sender=:1.738 -> destination=org.freedesktop.Notifications serial=87 path=/org/freedesktop/Notifications; interface=org.freedesktop.Notifications; member=Notify string "flameshot" uint32 0 string "flameshot" string "Flameshot Error" string "Unable to capture screen" array [ ] array [ ] int32 5000 method call time=1727690103.425133 sender=:1.738 -> destination=org.freedesktop.DBus serial=88 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=RemoveMatch string "type='signal',sender='org.freedesktop.DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',arg0='org.freedesktop.Notifications'" method call time=1727690103.425510 sender=:1.738 -> destination=org.freedesktop.DBus serial=89 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=RemoveMatch string "type='signal',sender='org.freedesktop.portal.Desktop',path='/org/freedesktop/portal/desktop/request/1_738/01ae3701750c436fb7c97a1d36dd83c9',interface='org.freedesktop.portal.Request',member='Response'" method call time=1727690103.425541 sender=:1.738 -> destination=org.freedesktop.DBus serial=90 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=RemoveMatch string "type='signal',sender='org.freedesktop.DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',arg0='org.freedesktop.portal.Desktop'" method call time=1727690103.425606 sender=:1.738 -> destination=org.freedesktop.DBus serial=91 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=RemoveMatch string "type='signal',sender='org.freedesktop.DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',arg0='org.freedesktop.portal.Desktop'" method call time=1727690103.425784 sender=:1.738 -> destination=org.freedesktop.DBus serial=92 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch string "type='signal',sender='org.freedesktop.DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',arg0='org.freedesktop.Notifications'" method call time=1727690103.426050 sender=:1.738 -> destination=org.freedesktop.DBus serial=93 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=GetNameOwner string "org.freedesktop.Notifications" method call time=1727690103.426764 sender=:1.738 -> destination=org.freedesktop.Notifications serial=94 path=/org/freedesktop/Notifications; interface=org.freedesktop.Notifications; member=Notify string "flameshot" uint32 0 string "flameshot" string "Flameshot Error" string "Unable to capture screen" array [ ] array [ ] int32 5000 method call time=1727690103.441744 sender=:1.738 -> destination=org.freedesktop.DBus serial=95 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=RemoveMatch string "type='signal',sender='org.freedesktop.DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',arg0='org.freedesktop.Notifications'" ```Steps to reproduce
No response
Screenshots or screen recordings
No response
System Information
dbus-monitor --session sender=org.flameshot.Flameshot signal time=1727690099.322765 sender=org.freedesktop.DBus -> destination=:1.746 serial=2 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameAcquired string ":1.746" signal time=1727690099.322791 sender=org.freedesktop.DBus -> destination=:1.746 serial=4 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameLost string ":1.746" method call time=1727690103.385699 sender=:1.738 -> destination=org.freedesktop.DBus serial=77 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch string "type='signal',sender='org.freedesktop.DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',arg0='org.freedesktop.portal.Desktop'" method call time=1727690103.385762 sender=:1.738 -> destination=org.freedesktop.DBus serial=78 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=GetNameOwner string "org.freedesktop.portal.Desktop" method call time=1727690103.386302 sender=:1.738 -> destination=org.freedesktop.DBus serial=79 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=GetNameOwner string "org.freedesktop.portal.Desktop" method call time=1727690103.386704 sender=:1.738 -> destination=org.freedesktop.DBus serial=80 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch string "type='signal',sender='org.freedesktop.portal.Desktop',path='/org/freedesktop/portal/desktop/request/1_738/01ae3701750c436fb7c97a1d36dd83c9',interface='org.freedesktop.portal.Request',member='Response'" method call time=1727690103.386731 sender=:1.738 -> destination=org.freedesktop.DBus serial=81 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch string "type='signal',sender='org.freedesktop.DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',arg0='org.freedesktop.portal.Desktop'" method call time=1727690103.386765 sender=:1.738 -> destination=org.freedesktop.DBus serial=82 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=GetNameOwner string "org.freedesktop.portal.Desktop" method call time=1727690103.387243 sender=:1.738 -> destination=org.freedesktop.portal.Desktop serial=83 path=/org/freedesktop/portal/desktop; interface=org.freedesktop.portal.Screenshot; member=Screenshot string "" array [ dict entry( string "handle_token" variant string "01ae3701750c436fb7c97a1d36dd83c9" ) dict entry( string "interactive" variant boolean false ) ] method call time=1727690103.394327 sender=:1.738 -> destination=org.freedesktop.portal.Desktop serial=84 path=/org/freedesktop/portal/desktop/request/1_738/01ae3701750c436fb7c97a1d36dd83c9; interface=org.freedesktop.portal.Request; member=Close method call time=1727690103.395033 sender=:1.738 -> destination=org.freedesktop.DBus serial=85 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch string "type='signal',sender='org.freedesktop.DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',arg0='org.freedesktop.Notifications'" method call time=1727690103.395131 sender=:1.738 -> destination=org.freedesktop.DBus serial=86 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=GetNameOwner string "org.freedesktop.Notifications" method call time=1727690103.395640 sender=:1.738 -> destination=org.freedesktop.Notifications serial=87 path=/org/freedesktop/Notifications; interface=org.freedesktop.Notifications; member=Notify string "flameshot" uint32 0 string "flameshot" string "Flameshot Error" string "Unable to capture screen" array [ ] array [ ] int32 5000 method call time=1727690103.425133 sender=:1.738 -> destination=org.freedesktop.DBus serial=88 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=RemoveMatch string "type='signal',sender='org.freedesktop.DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',arg0='org.freedesktop.Notifications'" method call time=1727690103.425510 sender=:1.738 -> destination=org.freedesktop.DBus serial=89 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=RemoveMatch string "type='signal',sender='org.freedesktop.portal.Desktop',path='/org/freedesktop/portal/desktop/request/1_738/01ae3701750c436fb7c97a1d36dd83c9',interface='org.freedesktop.portal.Request',member='Response'" method call time=1727690103.425541 sender=:1.738 -> destination=org.freedesktop.DBus serial=90 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=RemoveMatch string "type='signal',sender='org.freedesktop.DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',arg0='org.freedesktop.portal.Desktop'" method call time=1727690103.425606 sender=:1.738 -> destination=org.freedesktop.DBus serial=91 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=RemoveMatch string "type='signal',sender='org.freedesktop.DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',arg0='org.freedesktop.portal.Desktop'" method call time=1727690103.425784 sender=:1.738 -> destination=org.freedesktop.DBus serial=92 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch string "type='signal',sender='org.freedesktop.DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',arg0='org.freedesktop.Notifications'" method call time=1727690103.426050 sender=:1.738 -> destination=org.freedesktop.DBus serial=93 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=GetNameOwner string "org.freedesktop.Notifications" method call time=1727690103.426764 sender=:1.738 -> destination=org.freedesktop.Notifications serial=94 path=/org/freedesktop/Notifications; interface=org.freedesktop.Notifications; member=Notify string "flameshot" uint32 0 string "flameshot" string "Flameshot Error" string "Unable to capture screen" array [ ] array [ ] int32 5000 method call time=1727690103.441744 sender=:1.738 -> destination=org.freedesktop.DBus serial=95 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=RemoveMatch string "type='signal',sender='org.freedesktop.DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',arg0='org.freedesktop.Notifications'"