You are not logged in.

#1 2021-09-02 12:06:48

Fixed
Member
Registered: 2005-08-09
Posts: 219

"Save as" dialog box is slow to appear the first time it opens

Hello,

After fresh xfce4 start, the first saving of file from Chromium or Telegram is very slow and normal thereafter.

Please advice, where to look.

# fdisk -l
Disk /dev/nvme0n1: 476.94 GiB, 512110190592 bytes, 1000215216 sectors
Disk model: WDC PC SN730 SDBPNTY-512G-1027          
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: B27D1670-3FCC-435F-80D6

Device          Start        End   Sectors   Size Type
/dev/nvme0n1p1   2048     534527    532480   260M EFI System
/dev/nvme0n1p2 534528 1000215182 999680655 476.7G Linux root (x86-64)

#  cat /etc/fstab

# <file system> <dir> <type> <options> <dump> <pass>
# /dev/nvme0n1p2
UUID=2221e6ff-1ade-4140-aaaf-65a717f  /           ext4        rw,relatime  0 1

Last edited by Fixed (2021-09-02 18:06:45)


XFCE4 under Arch on Honor MagicBook

Offline

#2 2021-09-02 14:43:57

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,582

Re: "Save as" dialog box is slow to appear the first time it opens

"First write" or "first saving of file from Chromium or Telegram" (which is rather not the first writing IO of a boot) and if the latter: saving the file or showing the dialog?
And if it's "showing the dialog", what if you beforehand "ls -la ~"? (assuming the dialogs start in your $HOME)

Offline

#3 2021-09-02 15:48:55

Fixed
Member
Registered: 2005-08-09
Posts: 219

Re: "Save as" dialog box is slow to appear the first time it opens

Sorry for the confusion.

It is first saving of file from Chromium or Telegram -- on the example of Gmail -- I hit the download button on the attached file icon, and wait for several minutes to see the file manager window to appear, where I can name the file to be saved. Then the file is saved promptly.

The same story with Firefox and LIbreOffice.


XFCE4 under Arch on Honor MagicBook

Offline

#4 2021-09-02 15:51:16

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,582

Re: "Save as" dialog box is slow to appear the first time it opens

Broken session and xdg-portal issue?
How do you log in? DM or startx/xinit?
If the latter: your xinitrc?

Do you have flatpak installed (or pulled xdg-desktop-portal for other deps)?

Offline

#5 2021-09-02 15:56:32

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,580
Website

Re: "Save as" dialog box is slow to appear the first time it opens

So the problem is the "save as" dialog box is slow to appear the first time it opens? If so, please adjust your topic title to reflect this. Also worth noting that all the affected applications are GTK3. Historically there have been a few topics about that, so you may find some solutions by searching for solved topics involving those subjects.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#6 2021-09-02 18:12:34

Fixed
Member
Registered: 2005-08-09
Posts: 219

Re: "Save as" dialog box is slow to appear the first time it opens

seth wrote:

Broken session and xdg-portal issue?
How do you log in? DM or startx/xinit?
If the latter: your xinitrc?

Do you have flatpak installed (or pulled xdg-desktop-portal for other deps)?

No flatpak installed (or pulled xdg-desktop-portal for other deps).

I start xfce4 through typing xfce4.

 
$ cat .xinitrc
udiskie &
syndaemon -i 2 -d % touchpad turn-off for 2 sec while typing
WorMzy wrote:

So the problem is the "save as" dialog box is slow to appear the first time it opens? If so, please adjust your topic title to reflect this.

Fixed the topic title.

Didn't find GTK3 related issues solutions so far.


XFCE4 under Arch on Honor MagicBook

Offline

#7 2021-09-02 19:59:22

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,582

Re: "Save as" dialog box is slow to appear the first time it opens

Your xinitrc is broken, see the last link below.

Offline

#8 2022-06-12 11:02:21

yopyop
Member
Registered: 2022-05-29
Posts: 2

Re: "Save as" dialog box is slow to appear the first time it opens

Hello Fixed,

Don't know if you already fixed your problem but I did :-)
In this discussion it is advised to remove gvfs. On my system gvfs is requested by the pdf reader evince. I switched to another pdf software and uninstalled gvfs : the slow loading problem vanished.

Offline

#9 2022-06-12 11:54:34

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,582

Re: "Save as" dialog box is slow to appear the first time it opens

That's like cutting off your arm because your finger itches.
The linked thread has a 30s delay what most likely is the 25s dbus timeout or iow: xdg-portal-* or an incomplete session (typically because your xinitrc is broken - as is for the OP)

Offline

#10 2022-06-16 05:52:33

yopyop
Member
Registered: 2022-05-29
Posts: 2

Re: "Save as" dialog box is slow to appear the first time it opens

seth wrote:

That's like cutting off your arm because your finger itches.

Well, I cannot argue with that, there surely is a way better and more subtle way to correct this problem. With my limited knowledge and having spent quite some time on this subject (notably following your advice regarding xinitrc) this is sadly the only solution that I managed to find.
This problem can be found on several forums, with several suggestions IIRC : removing gvfs is the only one that works for me.

Offline

Board footer

Powered by FluxBB