Sometimes cannot open files
Sometimes gnome-text-editor gets into a bad state where it cannot open particular files. This happens once every few days, but sadly I do not know how to reproduce it. When opening files via nautilus (file forwarding via flatpak), nothing happens. When trying to open the same files directly from gnome-text-editor using the Browse Files native file chooser (via the Open popover), nothing happens. But gnome-text-editor can still open other files via both its popover and its native file chooser! It seems only files that I have previously attempted to open via nautilus (and therefore via file forwarding) cannot be opened. Once I attempt to open these files via nautilus, they become permanently inaccessible to gnome-text-editor.
I see some errors in my system journal. My guess is the libadwaita errors are probably not related, and the gvfsd errors probably are:
Oct 05 16:29:58 chargestone-cave gnome-text-edit[16566]: adw_tab_view_get_page: assertion 'ADW_IS_TAB_VIEW (self)' failed
Oct 05 16:29:58 chargestone-cave gnome-text-edit[16566]: adw_tab_view_set_selected_page: assertion 'ADW_IS_TAB_VIEW (self)' failed
Oct 05 16:30:00 chargestone-cave gnome-text-edit[16566]: adw_tab_view_get_page: assertion 'ADW_IS_TAB_VIEW (self)' failed
Oct 05 16:30:00 chargestone-cave gnome-text-edit[16566]: adw_tab_view_set_selected_page: assertion 'ADW_IS_TAB_VIEW (self)' failed
Oct 05 16:30:03 chargestone-cave systemd[1824]: Started Application launched by org.gnome.Nautilus.
Oct 05 16:30:03 chargestone-cave systemd[1824]: Started app-flatpak-org.gnome.TextEditor-113095.scope.
Oct 05 16:30:03 chargestone-cave gnome-text-edit[16566]: adw_tab_view_get_page: assertion 'ADW_IS_TAB_VIEW (self)' failed
Oct 05 16:30:03 chargestone-cave gnome-text-edit[16566]: adw_tab_view_set_selected_page: assertion 'ADW_IS_TAB_VIEW (self)' failed
Oct 05 16:30:04 chargestone-cave systemd[1824]: Started Application launched by org.gnome.Nautilus.
Oct 05 16:30:04 chargestone-cave systemd[1824]: Started app-flatpak-org.gnome.TextEditor-113117.scope.
Oct 05 16:30:04 chargestone-cave gnome-text-edit[16566]: adw_tab_view_get_page: assertion 'ADW_IS_TAB_VIEW (self)' failed
Oct 05 16:30:04 chargestone-cave gnome-text-edit[16566]: adw_tab_view_set_selected_page: assertion 'ADW_IS_TAB_VIEW (self)' failed
Oct 05 16:30:07 chargestone-cave systemd[1824]: Started Application launched by org.gnome.Nautilus.
Oct 05 16:30:07 chargestone-cave systemd[1824]: Started app-flatpak-org.gnome.TextEditor-113137.scope.
Oct 05 16:30:07 chargestone-cave gnome-text-edit[16566]: adw_tab_view_get_page: assertion 'ADW_IS_TAB_VIEW (self)' failed
Oct 05 16:30:07 chargestone-cave gnome-text-edit[16566]: adw_tab_view_set_selected_page: assertion 'ADW_IS_TAB_VIEW (self)' failed
Oct 05 16:30:09 chargestone-cave systemd[1824]: Started Application launched by org.gnome.Nautilus.
Oct 05 16:30:09 chargestone-cave systemd[1824]: Started app-flatpak-org.gnome.TextEditor-113164.scope.
Oct 05 16:30:09 chargestone-cave gnome-text-edit[16566]: adw_tab_view_get_page: assertion 'ADW_IS_TAB_VIEW (self)' failed
Oct 05 16:30:09 chargestone-cave gnome-text-edit[16566]: adw_tab_view_set_selected_page: assertion 'ADW_IS_TAB_VIEW (self)' failed
Oct 05 16:30:12 chargestone-cave gnome-text-edit[16566]: The peer-to-peer connection failed: Error when getting information for file “/run/user/1000/gvfsd”: No such file or directory. Falling back to the session bus. Your application is >
Oct 05 16:30:12 chargestone-cave gnome-text-edit[16566]: The peer-to-peer connection failed: Error when getting information for file “/run/user/1000/gvfsd”: No such file or directory. Falling back to the session bus. Your application is >
Oct 05 16:30:12 chargestone-cave gnome-text-edit[16566]: The peer-to-peer connection failed: Error when getting information for file “/run/user/1000/gvfsd”: No such file or directory. Falling back to the session bus. Your application is >
Oct 05 16:30:12 chargestone-cave gnome-text-edit[16566]: The peer-to-peer connection failed: Error when getting information for file “/run/user/1000/gvfsd”: No such file or directory. Falling back to the session bus. Your application is >
Oct 05 16:30:14 chargestone-cave gnome-text-edit[16566]: adw_tab_view_get_page: assertion 'ADW_IS_TAB_VIEW (self)' failed
Oct 05 16:30:14 chargestone-cave gnome-text-edit[16566]: adw_tab_view_set_selected_page: assertion 'ADW_IS_TAB_VIEW (self)' failed
The truncated portion of the errors from gvfsd reads: "Your application is probably missing --filesystem=xdg-run/gvfsd privileges." Well, that can't be right.