Screenshot API generates incorrect filenames
Affected version
GNOME Shell 3.35.3+48+ga8dcfa46
Bug summary
After !810 (merged), the org.gnome.Shell.Screenshot
D-Bus API no longer uses the provided filename and behaves as if an empty filename was passed (creating Pictures/.png
, Pictures/-1.png
, and so on).
method call time=1578679544.125159 sender=:1.229 -> destination=org.gnome.Shell
serial=7 path=/org/gnome/Shell/Screenshot; interface=org.gnome.Shell.Screenshot; member=Screenshot
boolean false
boolean true
string "Screenshots/2020-01-10.200544.rain.temp.png"
method return time=1578679544.261318 sender=:1.18 -> destination=:1.229
serial=2383 reply_serial=7
boolean true
string "/home/grawity/Dropbox/Pictures/-15.png"
Steps to reproduce
gdbus call -e -d org.gnome.Shell \
-o /org/gnome/Shell/Screenshot \
-m org.gnome.Shell.Screenshot.Screenshot \
false true Testshot.png