Red Hat Bugzilla – Bug 1285187
--restore-disk-image no longer opens disk image restore view
Last modified: 2015-12-01 12:51:46 EST
gnome-disks --restore-disk-image foo.iso no longer opens the disk image restoration dialog, it just opens the gnome-disks UI, and consequently the open with Disk Image Writer option in Nautilus doesn't work as it should.
Looking at the code, it looks like it should also be checking that the file given as argument should be a regular file, but that doesn't happen either; if I pass let's say --restore-disk-image /tmp there are no complaints anywhere and the main UI just opens.
This used to work in F-22.
$ rpm -q gnome-disk-utility
Checking some earlier builds, this broke somewhere between 3.16.2 and 3.17.2.
Looks like the combination of G_OPTION_ARG_FILENAME and the corresponding g_variant_dict_lookup call for restore-disk-image doesn't work. If I change restore-disk-image to G_OPTION_ARG_STRING instead, things work again. So this commit by Matthias is probably the culprit:
Thanks for the report and for the fix!
gnome-disk-utility-220.127.116.11-1.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-87a311850d
gnome-disk-utility-18.104.22.168-1.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
$ su -c 'dnf --enablerepo=updates-testing update gnome-disk-utility'
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-87a311850d
gnome-disk-utility-22.214.171.124-1.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.