Bug 2244205 - on f39 with LXDE or XFCE mediawriter can't open file dialog and pick up needed ISO, on F38 it works. Need update to xdg-desktop-portal-1.18.2-1.fc39.x86_64 or above and reboot
Summary: on f39 with LXDE or XFCE mediawriter can't open file dialog and pick up neede...
Keywords:
Status: CLOSED COMPLETED
Alias: None
Product: Fedora
Classification: Fedora
Component: mediawriter
Version: 39
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Jan Grulich
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-10-14 14:43 UTC by a.trubitsyn
Modified: 2024-04-04 12:55 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-02-23 21:26:16 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description a.trubitsyn 2023-10-14 14:43:21 UTC
After start mediawriter (mediawriter-5.0.8-1.fc39) from command prompt and try to press "Choose" button you get  messages like:
W@9278ms: Failed to open portal file dialog:  "Интерфейс «org.freedesktop.portal.FileChooser» для пути /org/freedesktop/portal/desktop объекта не найден"

I upgrade fedora 38 to 39 by 
sudo dnf upgrade --refresh
sudo dnf install dnf-plugin-system-upgrade
sudo dnf system-upgrade download --releasever=39
sudo dnf system-upgrade reboot

and now can't make bootable flash with fedora39 by mediawriter

Reproducible: Always

Steps to Reproduce:
1.start console
2.type "mediawriter"
3.choose "Выбрать файл ISO" ("Choose ISO file"?)
4.press "Next" button
5.press "Choose" button as many times as you can - nothing happen on interface, but after each press yo can see new message "W@XXXXms:Failed to open portal file dialog: ..."
Actual Results:  
There is no file dialog open.

Expected Results:  
File Dialog must be open. 
If it's impossible now, add command line argument to set needed iso file like:
mediawriter --sourceiso path_and_name_of_iso_file

Comment 1 Jan Grulich 2023-10-15 18:26:27 UTC
Do you have xdg-desktop-portal and xdg-desktop-portal-gtk installed?

Comment 2 a.trubitsyn 2023-10-16 11:08:38 UTC
I have xdg-desktop-portal-1.18.0-3.fc39 & xdg-desktop-portal-gtk-1.14.1-3.fc39.
sudo dnf info xdg-desktop-portal
and 
sudo dnf info xdg-desktop-portal-gtk
say that they both are installed on my system

Comment 3 Jan Grulich 2023-10-16 12:17:55 UTC
Hmm. Can you run `dbus-monitor --session` in a terminal while trying to select an ISO in Fedora Media Writer? Then please attach the output here.

Comment 4 a.trubitsyn 2023-10-16 14:10:45 UTC
dbus-monitor --session
signal time=1697465365.507509 sender=org.freedesktop.DBus -> destination=:1.168 serial=4294967295 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameAcquired
   string ":1.168"
signal time=1697465365.507555 sender=org.freedesktop.DBus -> destination=:1.168 serial=4294967295 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameLost
   string ":1.168"
method call time=1697465371.069338 sender=:1.169 -> destination=org.freedesktop.DBus serial=1 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=Hello
method return time=1697465371.069397 sender=org.freedesktop.DBus -> destination=:1.169 serial=4294967295 reply_serial=1
   string ":1.169"
signal time=1697465371.069434 sender=org.freedesktop.DBus -> destination=(null destination) serial=4294967295 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
   string ":1.169"
   string ""
   string ":1.169"
signal time=1697465371.069549 sender=org.freedesktop.DBus -> destination=:1.169 serial=4294967295 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameAcquired
   string ":1.169"
method call time=1697465371.069720 sender=:1.169 -> destination=org.freedesktop.portal.Desktop serial=2 path=/org/freedesktop/portal/desktop; interface=org.freedesktop.DBus.Properties; member=Get
   string "org.freedesktop.portal.Screenshot"
   string "version"
error time=1697465371.069957 sender=:1.137 -> destination=:1.169 error_name=org.freedesktop.DBus.Error.InvalidArgs reply_serial=2
   string "Интерфейс «org.freedesktop.portal.Screenshot» отсутствует"
method call time=1697465371.099510 sender=:1.169 -> destination=org.freedesktop.DBus serial=3 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='signal',path='/org/freedesktop/portal/desktop',interface='org.freedesktop.portal.Settings',member='SettingChanged'"
method call time=1697465371.127536 sender=:1.170 -> destination=org.freedesktop.DBus serial=1 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=Hello
method return time=1697465371.127565 sender=org.freedesktop.DBus -> destination=:1.170 serial=4294967295 reply_serial=1
   string ":1.170"
signal time=1697465371.127699 sender=org.freedesktop.DBus -> destination=(null destination) serial=4294967295 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
   string ":1.170"
   string ""
   string ":1.170"
signal time=1697465371.127733 sender=org.freedesktop.DBus -> destination=:1.170 serial=4294967295 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameAcquired
   string ":1.170"
method call time=1697465371.128084 sender=:1.170 -> destination=org.freedesktop.DBus serial=2 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='signal',sender='org.freedesktop.DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',path='/org/freedesktop/DBus',arg0='org.gtk.vfs.Daemon'"
method return time=1697465371.128105 sender=org.freedesktop.DBus -> destination=:1.170 serial=4294967295 reply_serial=2
method call time=1697465371.128207 sender=:1.170 -> destination=org.freedesktop.DBus serial=3 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=StartServiceByName
   string "org.gtk.vfs.Daemon"
   uint32 0
method return time=1697465371.128234 sender=org.freedesktop.DBus -> destination=:1.170 serial=4294967295 reply_serial=3
   uint32 2
method call time=1697465371.128483 sender=:1.170 -> destination=org.freedesktop.DBus serial=4 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=GetNameOwner
   string "org.gtk.vfs.Daemon"
method return time=1697465371.128502 sender=org.freedesktop.DBus -> destination=:1.170 serial=4294967295 reply_serial=4
   string ":1.5"
method call time=1697465371.128697 sender=:1.170 -> destination=:1.5 serial=5 path=/org/gtk/vfs/mounttracker; interface=org.gtk.vfs.MountTracker; member=ListMountableInfo
method return time=1697465371.129129 sender=:1.5 -> destination=:1.170 serial=58 reply_serial=5
   array [
      struct {
         string "http"
         string "http"
         array [
         ]
         int32 0
         boolean false
      }
      struct {
         string "sftp"
         string "sftp"
         array [
            string "ssh"
         ]
         int32 22
         boolean true
      }
      struct {
         string "ftpis"
         string "ftpis"
         array [
         ]
         int32 990
         boolean true
      }
      struct {
         string "ftps"
         string "ftps"
         array [
         ]
         int32 21
         boolean true
      }
      struct {
         string "dns-sd"
         string "dns-sd"
         array [
         ]
         int32 0
         boolean false
      }
      struct {
         string "cdda"
         string "cdda"
         array [
         ]
         int32 0
         boolean false
      }
      struct {
         string "admin"
         string "admin"
         array [
         ]
         int32 0
         boolean false
      }
      struct {
         string "davs+sd"
         string "davs+sd"
         array [
         ]
         int32 0
         boolean false
      }
      struct {
         string "dav+sd"
         string "dav+sd"
         array [
         ]
         int32 0
         boolean false
      }
      struct {
         string "recent"
         string "recent"
         array [
         ]
         int32 0
         boolean false
      }
      struct {
         string "network"
         string "network"
         array [
         ]
         int32 0
         boolean false
      }
      struct {
         string "trash"
         string "trash"
         array [
         ]
         int32 0
         boolean false
      }
      struct {
         string "burn"
         string "burn"
         array [
         ]
         int32 0
         boolean false
      }
      struct {
         string "davs"
         string "davs"
         array [
         ]
         int32 0
         boolean false
      }
      struct {
         string "dav"
         string "dav"
         array [
         ]
         int32 0
         boolean false
      }
      struct {
         string "ftp"
         string "ftp"
         array [
         ]
         int32 21
         boolean true
      }
      struct {
         string "computer"
         string "computer"
         array [
         ]
         int32 0
         boolean false
      }
      struct {
         string "localtest"
         string "localtest"
         array [
         ]
         int32 0
         boolean false
      }
   ]
method call time=1697465371.130274 sender=:1.170 -> destination=org.freedesktop.DBus serial=6 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=RemoveMatch
   string "type='signal',sender='org.freedesktop.DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',path='/org/freedesktop/DBus',arg0='org.gtk.vfs.Daemon'"
method return time=1697465371.130329 sender=org.freedesktop.DBus -> destination=:1.170 serial=4294967295 reply_serial=6
method call time=1697465371.241429 sender=:1.169 -> destination=org.freedesktop.DBus serial=4 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameHasOwner
   string "org.freedesktop.portal.Desktop"
method return time=1697465371.241480 sender=org.freedesktop.DBus -> destination=:1.169 serial=4294967295 reply_serial=4
   boolean true
method call time=1697465371.394013 sender=:1.169 -> 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',arg1=''"
method call time=1697465371.394060 sender=:1.169 -> destination=org.freedesktop.DBus serial=6 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameHasOwner
   string "org.a11y.Bus"
method return time=1697465371.394081 sender=org.freedesktop.DBus -> destination=:1.169 serial=4294967295 reply_serial=6
   boolean true
method call time=1697465371.394399 sender=:1.169 -> destination=org.freedesktop.DBus serial=7 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=1697465371.394541 sender=:1.169 -> destination=org.freedesktop.DBus serial=8 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=GetNameOwner
   string "org.a11y.Bus"
method return time=1697465371.394565 sender=org.freedesktop.DBus -> destination=:1.169 serial=4294967295 reply_serial=8
   string ":1.139"
method call time=1697465371.394703 sender=:1.169 -> destination=org.a11y.Bus serial=9 path=/org/a11y/bus; interface=org.freedesktop.DBus.Properties; member=Get
   string "org.a11y.Status"
   string "ScreenReaderEnabled"
method return time=1697465371.395008 sender=:1.139 -> destination=:1.169 serial=15 reply_serial=9
   variant       boolean false
method call time=1697465371.395204 sender=:1.169 -> destination=org.a11y.Bus serial=10 path=/org/a11y/bus; interface=org.freedesktop.DBus.Properties; member=Get
   string "org.a11y.Status"
   string "IsEnabled"
method return time=1697465371.395450 sender=:1.139 -> destination=:1.169 serial=16 reply_serial=10
   variant       boolean false
method call time=1697465377.044748 sender=:1.169 -> destination=org.freedesktop.portal.Desktop serial=11 path=/org/freedesktop/portal/desktop; interface=org.freedesktop.portal.FileChooser; member=OpenFile
   string "x11:0"
   string "Открыть файл"
   array [
      dict entry(
         string "filters"
         variant             array [
               struct {
                  string "Файлы образов"
                  array [
                     struct {
                        uint32 0
                        string "*.iso"
                     }
                     struct {
                        uint32 0
                        string "*.raw"
                     }
                     struct {
                        uint32 0
                        string "*.xz"
                     }
                  ]
               }
               struct {
                  string "Все файлы"
                  array [
                     struct {
                        uint32 0
                        string "*"
                     }
                  ]
               }
            ]
      )
      dict entry(
         string "handle_token"
         variant             string "qt445981737"
      )
      dict entry(
         string "modal"
         variant             boolean true
      )
      dict entry(
         string "multiple"
         variant             boolean false
      )
   ]
error time=1697465377.045499 sender=:1.137 -> destination=:1.169 error_name=org.freedesktop.DBus.Error.UnknownMethod reply_serial=11
   string "Интерфейс «org.freedesktop.portal.FileChooser» для пути /org/freedesktop/portal/desktop объекта не найден"
method call time=1697465380.452156 sender=:1.169 -> destination=org.freedesktop.portal.Desktop serial=12 path=/org/freedesktop/portal/desktop; interface=org.freedesktop.portal.FileChooser; member=OpenFile
   string "x11:0"
   string "Открыть файл"
   array [
      dict entry(
         string "filters"
         variant             array [
               struct {
                  string "Файлы образов"
                  array [
                     struct {
                        uint32 0
                        string "*.iso"
                     }
                     struct {
                        uint32 0
                        string "*.raw"
                     }
                     struct {
                        uint32 0
                        string "*.xz"
                     }
                  ]
               }
               struct {
                  string "Все файлы"
                  array [
                     struct {
                        uint32 0
                        string "*"
                     }
                  ]
               }
            ]
      )
      dict entry(
         string "handle_token"
         variant             string "qt689805702"
      )
      dict entry(
         string "modal"
         variant             boolean true
      )
      dict entry(
         string "multiple"
         variant             boolean false
      )
   ]
error time=1697465380.452744 sender=:1.137 -> destination=:1.169 error_name=org.freedesktop.DBus.Error.UnknownMethod reply_serial=12
   string "Интерфейс «org.freedesktop.portal.FileChooser» для пути /org/freedesktop/portal/desktop объекта не найден"
method call time=1697465381.244032 sender=:1.169 -> destination=org.freedesktop.portal.Desktop serial=13 path=/org/freedesktop/portal/desktop; interface=org.freedesktop.portal.FileChooser; member=OpenFile
   string "x11:0"
   string "Открыть файл"
   array [
      dict entry(
         string "filters"
         variant             array [
               struct {
                  string "Файлы образов"
                  array [
                     struct {
                        uint32 0
                        string "*.iso"
                     }
                     struct {
                        uint32 0
                        string "*.raw"
                     }
                     struct {
                        uint32 0
                        string "*.xz"
                     }
                  ]
               }
               struct {
                  string "Все файлы"
                  array [
                     struct {
                        uint32 0
                        string "*"
                     }
                  ]
               }
            ]
      )
      dict entry(
         string "handle_token"
         variant             string "qt730317838"
      )
      dict entry(
         string "modal"
         variant             boolean true
      )
      dict entry(
         string "multiple"
         variant             boolean false
      )
   ]
error time=1697465381.244807 sender=:1.137 -> destination=:1.169 error_name=org.freedesktop.DBus.Error.UnknownMethod reply_serial=13
   string "Интерфейс «org.freedesktop.portal.FileChooser» для пути /org/freedesktop/portal/desktop объекта не найден"

Comment 5 Jan Grulich 2023-10-16 14:15:17 UTC
My guess would be that xdg-desktop-portal is not running, there is definitely something wrong with xdp and not with Fedora Media Writer as I can see the open file call is being made.

Comment 6 a.trubitsyn 2023-10-16 16:20:54 UTC
May be. Вut on fedora 38 it works well. The problem start only after upgrade to fedora 39.
May be this happens only on LXDE, not on Gnome or KDE or other flavor of fedora.
As i wrote early, maybe add to mediawriter some command line argument to exactly provide the path to iso file like mediawriter path_to_and_name_of_iso_file.
In this case xdg-desktop-portal not need at all.
And people like me can make iso flash in fedora39 and maybe in f40 and next versions.
Is xdg-desktop-portal related to flatpack? I don't use it now.

Comment 7 a.trubitsyn 2023-10-16 16:36:48 UTC
Last time i use mediawriter on fedora38 at 30/09/2023 with https://dl.fedoraproject.org/pub/alt/live-respins/F38-LXDE-x86_64-LIVE-20230930.iso
The "Choose file" button works fine.
Then at 2023-10-06 21:42 i make 
dnf system-upgrade upgrade 
of my system and keep fresh by 
dnf update
I use mediawriter from time to time only after major version of fedora or some respin is released.
There is first time to mediawriter can't choose the file after upgrade of fedora release.
I make system-upgrade upgrade on my system at least 6 times since fedora33.

Comment 8 a.trubitsyn 2023-10-18 16:08:12 UTC
The output of mediawriter in f39 from command prompt have at least 2 warnings:

**1st about compatibility like
W@884ms: QGuiApplication::setDesktopFileName: the specified desktop file name ends with .desktop. For compatibility reasons, the .desktop suffix will be removed. Please specify a desktop file name without .desktop suffix
**2nd about "src" like
W@1160ms: SHA256 hash of "https://download.fedoraproject.org/pub/alt/iot/37/IoT/aarch64/iso/Fedora-IoT-ostree-aarch64-37-20221118.0.iso" changed from "0ae6724255829466227467f5268483912e9ffadd871bf9a1922438950adb8e22" to "9bee83c80e88346be0242f0c915976fbb1cc6d41d5f18578aa2da1da2a656e84"
W@1160ms: Architecture "src" is not known!
W@1161ms: Architecture "src" is not known!
W@1161ms: Url "https://download.fedoraproject.org/pub/alt/iot/37/IoT/x86_64/images/Fedora-IoT-37-20221118.0.x86_64.raw.xz" changed to "https://download.fedoraproject.org/pub/alt/iot/37/IoT/x86_64/iso/Fedora-IoT-dvd-x86_64-37-20221118.0.iso"
**
W@3692ms: SHA256 hash of "https://download.fedoraproject.org/pub/alt/iot/37/IoT/aarch64/iso/Fedora-IoT-ostree-aarch64-37-20221118.0.iso" changed from "0ae6724255829466227467f5268483912e9ffadd871bf9a1922438950adb8e22" to "9bee83c80e88346be0242f0c915976fbb1cc6d41d5f18578aa2da1da2a656e84"
W@3692ms: Architecture "src" is not known!
W@3692ms: Architecture "src" is not known!
W@3692ms: Url "https://download.fedoraproject.org/pub/alt/iot/37/IoT/x86_64/iso/Fedora-IoT-ostree-x86_64-37-20221118.0.iso" changed to "https://download.fedoraproject.org/pub/alt/iot/37/IoT/x86_64/images/Fedora-IoT-37-20221118.0.x86_64.raw.xz"


Do i open one or two new bugs or leave it here?

Comment 9 a.trubitsyn 2023-10-18 17:44:44 UTC
i try to remove then reinstall mediawriter with 
sudo remove mediawriter
then
sudo install mediawriter

After that "Choose file" dialog not work with same warnings.
But after i do 
sudo mediawriter from command prompt
"Choose file" dialog box appear once.
with message in terminal like
W@60ms: QGuiApplication::setDesktopFileName: the specified desktop file name ends with .desktop. For compatibility reasons, the .desktop suffix will be removed. Please specify a desktop file name without .desktop suffix
W@64ms: QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'

But after run mediawriter once more from command prompt i get new message but "Choose file" not work again
mediawriter

(mediawriter:3538): dbind-WARNING **: 19:19:26.340: Couldn't connect to accessibility bus: Failed to connect to socket /root/.cache/at-spi/bus_0: Отказано в доступе
W@152ms: QGuiApplication::setDesktopFileName: the specified desktop file name ends with .desktop. For compatibility reasons, the .desktop suffix will be removed. Please specify a desktop file name without .desktop suffix
...
W@52594ms: Failed to open portal file dialog:  "Интерфейс «org.freedesktop.portal.FileChooser» для пути /org/freedesktop/portal/desktop объекта не найден"

and EXPORT give me this:
declare -x XDG_RUNTIME_DIR="/run/user/1000"

Comment 10 a.trubitsyn 2023-10-18 18:04:00 UTC
may be it qt6 thing? or qt5 and qt6 coexists thing?
keepassxc-2.7.6-2.fc39 or kmymoney-5.1.3-5.fc39 on my system choose files without problems.

Comment 11 a.trubitsyn 2023-10-18 19:04:11 UTC
(In reply to a.trubitsyn from comment #8)
> **2nd about "src" like
> W@1160ms: SHA256 hash of
> "https://download.fedoraproject.org/pub/alt/iot/37/IoT/aarch64/iso/Fedora-
> IoT-ostree-aarch64-37-20221118.0.iso" changed from
> "0ae6724255829466227467f5268483912e9ffadd871bf9a1922438950adb8e22" to
> "9bee83c80e88346be0242f0c915976fbb1cc6d41d5f18578aa2da1da2a656e84"
> W@1160ms: Architecture "src" is not known!
> W@1161ms: Architecture "src" is not known!

This "src" may be from MediaWriter/src/app/data/assets/releases.json
There are 5 entries with
"arch": "src",
in it:
  {
    "version": "37",
    "arch": "src",
    "link": "https://download.fedoraproject.org/pub/alt/iot/37/IoT/source/iso/Fedora-IoT-dvd-source-37-20221118.0.iso",
    "variant": "IoT",
    "subvariant": "IoT",
    "sha256": "d8ecb65851493961ce635f2f8eafb7b18eb9ff50c64667c6838fd473f0d20fd3",
    "size": "147210240"
  },
  {
    "version": "37",
    "arch": "src",
    "link": "https://download.fedoraproject.org/pub/alt/iot/37/IoT/source/iso/Fedora-IoT-dvd-source-37-20221118.0.iso",
    "variant": "IoT",
    "subvariant": "IoT",
    "sha256": "d8ecb65851493961ce635f2f8eafb7b18eb9ff50c64667c6838fd473f0d20fd3",
    "size": "147210240"
  },
{
    "version": "36",
    "arch": "src",
    "link": "https://download.fedoraproject.org/pub/alt/iot/36/IoT/source/iso/Fedora-IoT-dvd-source-36-20220618.0.iso",
    "variant": "IoT",
    "subvariant": "IoT",
    "sha256": "89b351d953dcd3315eb6e9d7ba8f0ae66db43985f9ba9b5a47ec0da967412350",
    "size": "533604352"
  },
 {
    "version": "36",
    "arch": "src",
    "link": "https://download.fedoraproject.org/pub/alt/iot/36/IoT/source/iso/Fedora-IoT-dvd-source-36-20220618.0.iso",
    "variant": "IoT",
    "subvariant": "IoT",
    "sha256": "89b351d953dcd3315eb6e9d7ba8f0ae66db43985f9ba9b5a47ec0da967412350",
    "size": "533604352"
  },
  {
    "version": "36",
    "arch": "src",
    "link": "https://download.fedoraproject.org/pub/alt/iot/36/IoT/source/iso/Fedora-IoT-dvd-source-36-20220618.0.iso",
    "variant": "IoT",
    "subvariant": "IoT",
    "sha256": "89b351d953dcd3315eb6e9d7ba8f0ae66db43985f9ba9b5a47ec0da967412350",
    "size": "533604352"
  },

Comment 12 Jan Grulich 2023-10-19 06:30:21 UTC
All the warnings you posted are irrelevant, the only relevant is this one:
> W@52594ms: Failed to open portal file dialog:  "Интерфейс «org.freedesktop.portal.FileChooser» для пути /org/freedesktop/portal/desktop объекта не найден"

I just don't know why it fails. Do you have any app as a Flatpak? Can you try to run following in a terminal:
1) export G_MESSAGES_DEBUG=all
2) killall xdg-desktop-portal; /usr/libexec/xdg-desktop-portal

And keep it running and give me the output from xdp while trying to open a file?

Comment 13 a.trubitsyn 2023-10-19 11:37:25 UTC
(In reply to Jan Grulich from comment #12)
> All the warnings you posted are irrelevant, the only relevant is this one:
I see. Try to find how to make bootable flash from iso without mediawriter and grab some warnings in this process, then document them.

> I just don't know why it fails. Do you have any app as a Flatpak? 
No.
> Can you try to run following in a terminal:
> 1) export G_MESSAGES_DEBUG=all
> 2) killall xdg-desktop-portal; /usr/libexec/xdg-desktop-portal

(/usr/libexec/xdg-desktop-portal:4549): xdg-desktop-portal-WARNING **: 14:27:28.872: No skeleton to export

and
systemctl --user status xdg-desktop-portal.service
○ xdg-desktop-portal.service - Portal service
     Loaded: loaded (/usr/lib/systemd/user/xdg-desktop-portal.service; static)
    Drop-In: /usr/lib/systemd/user/service.d
             └─10-timeout-abort.conf
     Active: inactive (dead)

окт 19 14:21:07 xxx systemd[1267]: Starting xdg-desktop-portal.service - Portal service...
окт 19 14:21:08 xxx xdg-desktop-por[3649]: No skeleton to export
окт 19 14:21:08 xxx systemd[1267]: Started xdg-desktop-portal.service - Portal service.

Comment 14 Ian Laurie 2023-10-31 04:32:45 UTC
I can confirm this is a big problem, I am unable to select an ISO to burn, the file chooser doesn't come up.  I am running Fedora 39 with Xfce.

1) On the opening page I select "Select iso file".
2) Click "next".
3) Click "Select..." on the next page.
4) Nothing happens.

If I run it from a console, step (3) above produces this:

"W@10665ms: Failed to open portal file dialog:  "No such interface “org.freedesktop.portal.FileChooser” on object at path /org/freedesktop/portal/desktop""

I have no choice but to select ISO images as I use the "everything net install" ISO always, so the media writer is unusable.

Comment 15 a.trubitsyn 2023-11-04 20:05:41 UTC
try clean install on another computer.
1. install or boot lxde from liveusb
2. sudo dnf install libreoffice keepassxc 
3. sudo dnf install mediawriter
4. start mediawriter from console or from "System" menu - open portal file dialog not work.

At step 2 dnf with libreoffice install some part of qt5
At step 3 dnf with mediawriter install some part of qt6

Comment 16 a.trubitsyn 2023-11-04 20:27:11 UTC
(In reply to Ian Laurie from comment #14)
Hello, Ian.
Do you have both qt5 & qt6 components on your system?
Is 
sudo dnf list qt*
command return some qt5- and qt6- packages under "Installed packages"?

on my test computer
sudo dnf list qt*
return this:
Installed packages
qt-settings.noarch                                      39.0-1.fc39                                                                                                     @fedora 
qt5-qtbase.x86_64                                       5.15.11-3.fc39                                                                                                  @updates
qt5-qtbase-common.noarch                                5.15.11-3.fc39                                                                                                  @updates
qt5-qtbase-gui.x86_64                                   5.15.11-3.fc39                                                                                                  @updates
qt5-qtdeclarative.x86_64                                5.15.11-2.fc39                                                                                                  @updates
qt5-qtlocation.x86_64                                   5.15.11-1.fc39                                                                                                  @updates
qt5-qtmultimedia.x86_64                                 5.15.11-1.fc39                                                                                                  @updates
qt5-qtsensors.x86_64                                    5.15.11-1.fc39                                                                                                  @updates
qt5-qtserialport.x86_64                                 5.15.11-1.fc39                                                                                                  @updates
qt5-qtsvg.x86_64                                        5.15.11-1.fc39                                                                                                  @updates
qt5-qttools-common.noarch                               5.15.11-1.fc39                                                                                                  @updates
qt5-qttools-libs-help.x86_64                            5.15.11-1.fc39                                                                                                  @updates
qt5-qtwayland.x86_64                                    5.15.11-1.fc39                                                                                                  @updates
qt5-qtwebchannel.x86_64                                 5.15.11-1.fc39                                                                                                  @updates
qt5-qtwebkit.x86_64                                     5.212.0-0.79alpha4.fc39                                                                                         @updates
qt5-qtx11extras.x86_64                                  5.15.11-1.fc39                                                                                                  @updates
qt6-qt5compat.x86_64                                    6.6.0-1.fc39                                                                                                    @updates
qt6-qtbase.x86_64                                       6.6.0-2.fc39                                                                                                    @updates
qt6-qtbase-common.noarch                                6.6.0-2.fc39                                                                                                    @updates
qt6-qtbase-gui.x86_64                                   6.6.0-2.fc39                                                                                                    @updates
qt6-qtdeclarative.x86_64                                6.6.0-1.fc39                                                                                                    @updates
qt6-qtmultimedia.x86_64                                 6.6.0-1.fc39                                                                                                    @updates
qt6-qtshadertools.x86_64                                6.6.0-1.fc39                                                                                                    @updates
qt6-qtsvg.x86_64                                        6.6.0-3.fc39                                                                                                    @updates
qt6-qtwayland.x86_64                                    6.6.0-1.fc39                                                                                                    @updates
qtlockedfile-qt5.x86_64                                 2.4-39.20150629git5a07df5.fc39                                                                                  @fedora 
qtsingleapplication-qt5.x86_64                          2.6.1-46.fc39                                                                                                   @fedora

Comment 17 Ian Laurie 2023-11-04 22:36:16 UTC
dnf list qt* produces this (installed only):

Installed Packages
qt.x86_64                                                   1:4.8.7-74.fc39                                       @fedora         
qt-common.noarch                                            1:4.8.7-74.fc39                                       @fedora         
qt-config.x86_64                                            1:4.8.7-74.fc39                                       @fedora         
qt-settings.noarch                                          39.0-1.fc39                                           @updates-testing
qt-x11.x86_64                                               1:4.8.7-74.fc39                                       @fedora         
qt5-qtbase.x86_64                                           5.15.11-3.fc39                                        @updates-testing
qt5-qtbase-common.noarch                                    5.15.11-3.fc39                                        @updates-testing
qt5-qtbase-gui.x86_64                                       5.15.11-3.fc39                                        @updates-testing
qt5-qtconnectivity.x86_64                                   5.15.11-1.fc39                                        @updates-testing
qt5-qtdeclarative.x86_64                                    5.15.11-2.fc39                                        @updates-testing
qt5-qtlocation.x86_64                                       5.15.11-1.fc39                                        @updates-testing
qt5-qtmultimedia.x86_64                                     5.15.11-1.fc39                                        @updates-testing
qt5-qtsensors.x86_64                                        5.15.11-1.fc39                                        @updates-testing
qt5-qtserialport.x86_64                                     5.15.11-1.fc39                                        @updates-testing
qt5-qtspeech.x86_64                                         5.15.11-1.fc39                                        @updates-testing
qt5-qtspeech-speechd.x86_64                                 5.15.11-1.fc39                                        @updates-testing
qt5-qtsvg.x86_64                                            5.15.11-1.fc39                                        @updates-testing
qt5-qttools-common.noarch                                   5.15.11-1.fc39                                        @updates-testing
qt5-qttools-libs-designer.x86_64                            5.15.11-1.fc39                                        @updates-testing
qt5-qttools-libs-help.x86_64                                5.15.11-1.fc39                                        @updates-testing
qt5-qtwayland.x86_64                                        5.15.11-1.fc39                                        @updates-testing
qt5-qtwebchannel.x86_64                                     5.15.11-1.fc39                                        @updates-testing
qt5-qtwebsockets.x86_64                                     5.15.11-1.fc39                                        @updates-testing
qt5-qtx11extras.x86_64                                      5.15.11-1.fc39                                        @updates-testing
qt5-qtxmlpatterns.x86_64                                    5.15.11-1.fc39                                        @updates-testing
qt5-srpm-macros.noarch                                      5.15.11-1.fc39                                        @updates-testing
qt5ct.x86_64                                                1.1-19.fc39                                           @updates-testing
qt6-qt5compat.x86_64                                        6.6.0-1.fc39                                          @updates-testing
qt6-qtbase.x86_64                                           6.6.0-2.fc39                                          @updates-testing
qt6-qtbase-common.noarch                                    6.6.0-2.fc39                                          @updates-testing
qt6-qtbase-gui.x86_64                                       6.6.0-2.fc39                                          @updates-testing
qt6-qtconnectivity.x86_64                                   6.6.0-1.fc39                                          @updates-testing
qt6-qtdeclarative.x86_64                                    6.6.0-1.fc39                                          @updates-testing
qt6-qtmultimedia.x86_64                                     6.6.0-1.fc39                                          @updates-testing
qt6-qtpdf.x86_64                                            6.6.0-2.fc39                                          @updates-testing
qt6-qtpositioning.x86_64                                    6.6.0-1.fc39                                          @updates-testing
qt6-qtquick3d.x86_64                                        6.6.0-1.fc39                                          @updates-testing
qt6-qtquicktimeline.x86_64                                  6.6.0-1.fc39                                          @updates-testing
qt6-qtremoteobjects.x86_64                                  6.6.0-1.fc39                                          @updates-testing
qt6-qtsensors.x86_64                                        6.6.0-1.fc39                                          @updates-testing
qt6-qtserialport.x86_64                                     6.6.0-1.fc39                                          @updates-testing
qt6-qtshadertools.x86_64                                    6.6.0-1.fc39                                          @updates-testing
qt6-qtspeech.x86_64                                         6.6.0-1.fc39                                          @updates-testing
qt6-qtspeech-speechd.x86_64                                 6.6.0-1.fc39                                          @updates-testing
qt6-qtsvg.x86_64                                            6.6.0-3.fc39                                          @updates-testing
qt6-qttools-common.noarch                                   6.6.0-1.fc39                                          @updates-testing
qt6-qttools-libs-designer.x86_64                            6.6.0-1.fc39                                          @updates-testing
qt6-qttools-libs-help.x86_64                                6.6.0-1.fc39                                          @updates-testing
qt6-qtwayland.x86_64                                        6.6.0-1.fc39                                          @updates-testing
qt6-qtwebchannel.x86_64                                     6.6.0-1.fc39                                          @updates-testing
qt6-qtwebsockets.x86_64                                     6.6.0-1.fc39                                          @updates-testing
qt6-srpm-macros.noarch                                      6.6.0-1.fc39                                          @updates-testing

Comment 18 a.trubitsyn 2023-11-26 10:47:21 UTC
Mediawriter works for me after update xdg-desktop-portal to xdg-desktop-portal-1.18.2-1.fc39.x86_64 and reboot

Comment 19 a.trubitsyn 2023-11-26 10:50:14 UTC
(In reply to Ian Laurie from comment #17)
Hi, Ian!
Do you try to update to xdg-desktop-portal-1.18.2-1.fc39.x86_64?
Does it work for you?

Comment 20 Ian Laurie 2023-11-26 20:02:16 UTC
(In reply to a.trubitsyn from comment #19)
> (In reply to Ian Laurie from comment #17)
> Hi, Ian!
> Do you try to update to xdg-desktop-portal-1.18.2-1.fc39.x86_64?
> Does it work for you?

I was running xdg-desktop-portal-1.18.2-1.fc39.x86_64 but I needed to reboot.  I can confirm it is now fixed.

Comment 21 a.trubitsyn 2023-11-26 20:45:35 UTC
Thank you all, Ian and Jan ;-)

I don't know if xdg-desktop-portal-1.18.2-1.fc39.x86_64 is in latest respin, if not, is it possible to update respin iso's?
By the way, does respin group plan to make new lxde iso images?
I don't see lxde in new respin iso's. Only those:
https://dl.fedoraproject.org/pub/alt/live-respins/
[   ] CHECKSUM512-20231115                2023-11-15 18:06  1.8K  
[   ] F39-Budgie-x86_64-LIVE-20231115.iso 2023-11-15 14:59  1.9G  
[   ] F39-CINN-x86_64-LIVE-20231115.iso   2023-11-15 15:05  2.2G  
[   ] F39-KDE-x86_64-LIVE-20231115.iso    2023-11-15 15:11  2.3G  
[   ] F39-LXQT-x86_64-LIVE-20231115.iso   2023-11-15 15:19  1.5G  
[   ] F39-MATE-x86_64-LIVE-20231115.iso   2023-11-15 15:28  2.1G  
[   ] F39-SWAY-x86_64-LIVE-20231115.iso   2023-11-15 16:03  1.4G  
[   ] F39-WORK-x86_64-LIVE-20231115.iso   2023-11-15 17:49  2.0G  
[   ] F39-XFCE-x86_64-LIVE-20231115.iso   2023-11-15 16:16  1.6G  
[   ] F39-i3-x86_64-LIVE-20231115.iso     2023-11-15 16:33  1.4G  
After that i can close this issue.

Comment 22 a.trubitsyn 2023-11-26 21:18:22 UTC
(In reply to Jan Grulich from comment #12)
> All the warnings you posted are irrelevant, the only relevant is this one:
> > W@52594ms: Failed to open portal file dialog:  "Интерфейс «org.freedesktop.portal.FileChooser» для пути /org/freedesktop/portal/desktop объекта не найден"
> 
> I just don't know why it fails. Do you have any app as a Flatpak? Can you
> try to run following in a terminal:
> 1) export G_MESSAGES_DEBUG=all
> 2) killall xdg-desktop-portal; /usr/libexec/xdg-desktop-portal
> 
> And keep it running and give me the output from xdp while trying to open a
> file?

Hello, Jan!
Thank you for your kind response.
Main issue with xdg-desktop-portal is resolved with xdg-desktop-portal-1.18.2-1.fc39.x86_64.
1. Can you remove 5 broken entrypoints from https://github.com/FedoraQt/MediaWriter in MediaWriter/src/app/data/assets/releases.json described in comment 11 (https://bugzilla.redhat.com/show_bug.cgi?id=2244205#c11) with 
 "arch": "src",
or replace them with correct sources?
They are always make warnings in your project.
Or i must open new issue for them?

Comment 23 Jan Grulich 2023-12-07 15:21:29 UTC
(In reply to a.trubitsyn from comment #22)
> (In reply to Jan Grulich from comment #12)
> > All the warnings you posted are irrelevant, the only relevant is this one:
> > > W@52594ms: Failed to open portal file dialog:  "Интерфейс «org.freedesktop.portal.FileChooser» для пути /org/freedesktop/portal/desktop объекта не найден"
> > 
> > I just don't know why it fails. Do you have any app as a Flatpak? Can you
> > try to run following in a terminal:
> > 1) export G_MESSAGES_DEBUG=all
> > 2) killall xdg-desktop-portal; /usr/libexec/xdg-desktop-portal
> > 
> > And keep it running and give me the output from xdp while trying to open a
> > file?
> 
> Hello, Jan!
> Thank you for your kind response.
> Main issue with xdg-desktop-portal is resolved with
> xdg-desktop-portal-1.18.2-1.fc39.x86_64.
> 1. Can you remove 5 broken entrypoints from
> https://github.com/FedoraQt/MediaWriter in
> MediaWriter/src/app/data/assets/releases.json described in comment 11
> (https://bugzilla.redhat.com/show_bug.cgi?id=2244205#c11) with 
>  "arch": "src",
> or replace them with correct sources?
> They are always make warnings in your project.
> Or i must open new issue for them?

The thing is that this JSON file is downloaded automatically from getfedora.org, but we might want to just avoid warning about these instead.

Comment 24 a.trubitsyn 2023-12-07 18:30:42 UTC
Is it possible to remove them from getfedora.org. How to do it?
All warning entities are fedora36 or fedora37 related. f36 is EOL since 2023-05-16. f37 come to the end soon (may be 2023-12-05).

Comment 25 a.trubitsyn 2023-12-07 18:35:48 UTC
Not only on getfedora.org.
You have it in your git https://github.com/FedoraQt/MediaWriter 
in /src/app/data/assets/releases.json also.

Comment 26 a.trubitsyn 2024-02-23 21:26:16 UTC
(In reply to a.trubitsyn from comment #21)
> By the way, does respin group plan to make new lxde iso images?
> I don't see lxde in new respin iso's. Only those:
> https://dl.fedoraproject.org/pub/alt/live-respins/
> [   ] CHECKSUM512-20231115                2023-11-15 18:06  1.8K  
> [   ] F39-Budgie-x86_64-LIVE-20231115.iso 2023-11-15 14:59  1.9G  
> [   ] F39-CINN-x86_64-LIVE-20231115.iso   2023-11-15 15:05  2.2G  
> [   ] F39-KDE-x86_64-LIVE-20231115.iso    2023-11-15 15:11  2.3G  
> [   ] F39-LXQT-x86_64-LIVE-20231115.iso   2023-11-15 15:19  1.5G  
> [   ] F39-MATE-x86_64-LIVE-20231115.iso   2023-11-15 15:28  2.1G  
> [   ] F39-SWAY-x86_64-LIVE-20231115.iso   2023-11-15 16:03  1.4G  
> [   ] F39-WORK-x86_64-LIVE-20231115.iso   2023-11-15 17:49  2.0G  
> [   ] F39-XFCE-x86_64-LIVE-20231115.iso   2023-11-15 16:16  1.6G  
> [   ] F39-i3-x86_64-LIVE-20231115.iso     2023-11-15 16:33  1.4G  
> After that i can close this issue.

With respin of 2024-02-15
[   ] CHECKSUM512-20240215                2024-02-16 13:41  1.8K  
[   ] F39-Budgie-x86_64-LIVE-20240215.iso 2024-02-15 17:01  2.0G  
[   ] F39-CINN-x86_64-LIVE-20240215.iso   2024-02-15 15:18  2.3G  
[   ] F39-KDE-x86_64-LIVE-20240215.iso    2024-02-15 15:19  2.4G  
[ x ] F39-LXDE-x86_64-LIVE-20240215.iso   2024-02-15 15:19  1.5G  
[   ] F39-LXQT-x86_64-LIVE-20240215.iso   2024-02-15 16:24  1.6G  
[   ] F39-MATE-x86_64-LIVE-20240215.iso   2024-02-15 15:19  2.2G  
[   ] F39-SOAS-x86_64-LIVE-20240215.iso   2024-02-15 17:42  1.3G  
[   ] F39-SWAY-x86_64-LIVE-20240215.iso   2024-02-15 18:35  1.5G  
[   ] F39-WORK-x86_64-LIVE-20240215.iso   2024-02-15 19:29  2.1G  
[   ] F39-XFCE-x86_64-LIVE-20240215.iso   2024-02-15 18:35  1.7G  
[   ] F39-i3-x86_64-LIVE-20240215.iso     2024-02-15 19:03  1.5G  
There is no need to reboot now.
Only install mediawriter by 
sudo dnf install mediawriter
It install xdg-desktop-portal-1.18.2-1.fc39

(In reply to Jan Grulich from comment #23)
> > 1. Can you remove 5 broken entrypoints from
> > https://github.com/FedoraQt/MediaWriter in
> > MediaWriter/src/app/data/assets/releases.json described in comment 11
> > (https://bugzilla.redhat.com/show_bug.cgi?id=2244205#c11) with 
> >  "arch": "src",
> > or replace them with correct sources?
> 
> The thing is that this JSON file is downloaded automatically from
> getfedora.org, but we might want to just avoid warning about these instead.

This MediaWriter/src/app/data/assets/releases.json in getfedora.org and in your repo https://github.com/FedoraQt/MediaWriter is outdated.
It contain information about EOL fedora 36 & fedora 37 but not with current fedora 39.

Comment 27 a.trubitsyn 2024-04-04 12:55:41 UTC
At the moment of 04.04.2024 all  "arch": "src" from MediaWriter/src/app/data/assets/releases.json with links to EOL fedora 36 & fedora 37 deleted.
mediawriter-5.1.0-1.fc39.x86_64 do not produce any warnings from https://bugzilla.redhat.com/show_bug.cgi?id=2244205#c11
Thank you, Jan.


Note You need to log in before you can comment on or make changes to this bug.