Skip to content

"Save image after copy" setting is not respected on Gnome Wayland #4562

@52871299hzy

Description

@52871299hzy

Flameshot Version

Flameshot v13.3.0 ()
Compiled with Qt 6.10.1

Installation Type

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

Operating System type and version

Manjaro rolling

Description

I have set "Save image after copy" to true and it's been working with Gnome on Xorg. Recently I switched to Wayland, and now the screenshots are no longer saved automatically (copying works just fine).

I tried to debug it with gdb and it seems that saveToClipboard() is never called?

The dbus-monitor content
signal time=1773398992.374108 sender=org.freedesktop.DBus -> destination=:1.2389 serial=4294967295 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameAcquired
   string ":1.2389"
signal time=1773398992.374126 sender=org.freedesktop.DBus -> destination=:1.2389 serial=4294967295 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameLost
   string ":1.2389"
method call time=1773398999.159810 sender=:1.2390 -> destination=org.freedesktop.DBus serial=5 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.a11y.Bus'"
method call time=1773398999.159830 sender=:1.2390 -> destination=org.freedesktop.DBus serial=6 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=GetNameOwner
   string "org.a11y.Bus"
method call time=1773398999.159898 sender=:1.2390 -> destination=org.freedesktop.DBus serial=7 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=GetNameOwner
   string "org.a11y.Bus"
method call time=1773398999.159952 sender=:1.2390 -> destination=org.freedesktop.DBus serial=8 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.a11y.Bus',arg1=''"
method call time=1773398999.159971 sender=:1.2390 -> destination=org.freedesktop.DBus serial=9 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameHasOwner
   string "org.a11y.Bus"
method call time=1773398999.160022 sender=:1.2390 -> destination=org.a11y.Bus serial=10 path=/org/a11y/bus; interface=org.freedesktop.DBus.Properties; member=Get
   string "org.a11y.Status"
   string "ScreenReaderEnabled"
method call time=1773398999.160170 sender=:1.2390 -> destination=org.a11y.Bus serial=11 path=/org/a11y/bus; interface=org.freedesktop.DBus.Properties; member=Get
   string "org.a11y.Status"
   string "IsEnabled"
method call time=1773398999.160287 sender=:1.2390 -> destination=org.freedesktop.DBus serial=12 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='signal',sender='org.a11y.Bus',path='/org/a11y/bus',interface='org.freedesktop.DBus.Properties',member='PropertiesChanged'"
method call time=1773398999.160294 sender=:1.2390 -> destination=org.freedesktop.DBus serial=13 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.a11y.Bus'"
method call time=1773398999.160299 sender=:1.2390 -> destination=org.freedesktop.DBus serial=14 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=GetNameOwner
   string "org.a11y.Bus"


Steps to reproduce

  1. Run flameshot config and set "Save image after copy" to true
  2. Run flameshot gui
  3. Select a region
  4. Press Ctrl+C
  5. Check the saving directory and the screenshot isn't there

Screenshots or screen recordings

No response

System Information

Manjaro Linux rolling, Single monitor, Gnome 49.4 Wayland

Metadata

Metadata

Assignees

No one assigned

    Labels

    Unconfirmed BugThe bug is not confirmed by anyone else.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions