[Bug Report] v25.0.9版本打开文件对话框非常慢,系统出现卡死状态
Tofloor
poster avatar
A0王斌
deepin
2025-12-03 09:06
Author

我在更新了最新的deepinv25.0.9版本后,一些应用调用系统的“打开文件对话框”非常慢而且越来越慢,一开始只是卡一下大概在1秒内,现在要4~5秒,而且卡顿时,这个系统都停止响应。现在最明显的就是微信和钉钉里都会,别人传过来的文件,我点击“另存为”后就会一直卡主要4 - 5秒才能恢复,是什么原因导致的,而且太影响使用了。

Reply Favorite View the author
All Replies
神末shenmo
deepin
Spark-App
Q&A Team
2025-12-03 09:08
#1

echo $XDG_DATA_DIRS 看一下

Reply View the author
deepin流云
Super Moderator
Community OP
2025-12-03 09:19
#2

在文件管理器的设置里面,把下面这个取消勾选之后再从微信或者钉钉另存为试试看还卡顿不,先定位下看看是不是文管的问题:

企业微信截图_17647245987190(1).png

Reply View the author
新手小白
deepin
2025-12-03 09:28
#3
It has been deleted!
166******87
deepin
2025-12-03 15:46
#4

我使用jetbrains的pycharm卡的非常严重

Reply View the author
qq4945286
deepin
2025-12-03 20:43
#5

你升级到25.0.10试一下,在25.0.9的时候,有的应用调用很慢,现在我的是调用都是秒开,以前pyvideotrans调用要二三十秒呢,现在调用也是相当的快

Reply View the author
A0王斌
deepin
2025-12-12 11:09
#6
deepin流云

在文件管理器的设置里面,把下面这个取消勾选之后再从微信或者钉钉另存为试试看还卡顿不,先定位下看看是不是文管的问题:

企业微信截图_17647245987190(1).png

去除勾选后问题依旧!

Reply View the author
A0王斌
deepin
2025-12-12 22:04
#7

我问了GTP给我的回答靠谱点: 系统当前处于 “deepin portal backend 故障 / 无法注册 DBus 接口” 状态。
这正是文件对话框极慢、应用卡死的直接原因。
于是我重装了 xdg-desktop-portal 但是问题依旧,但是xdg-desktop-portal服务的确是报错了,

以下是报错信息:

systemctl --user status xdg-desktop-portal
Warning: The unit file, source configuration file or drop-ins of xdg-desktop-portal.service changed on disk.>
● xdg-desktop-portal.service - Portal service
Loaded: loaded (/usr/lib/systemd/user/xdg-desktop-portal.service; static)
Active: active (running) since Fri 2025-12-12 21:45:01 CST; 8min ago
Main PID: 2973 (xdg-desktop-por)
Tasks: 6 (limit: 18631)
Memory: 6.3M (peak: 7.0M)
CPU: 260ms
CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/xdg-desktop-portal.service
└─2973 /usr/libexec/xdg-desktop-portal

12月 12 21:44:47 wb23-PC xdg-desktop-por[2973]: Choosing gtk.portal for org.freedesktop.impl.portal.Lockdown>
12月 12 21:44:47 wb23-PC xdg-desktop-por[2973]: Failed to load RealtimeKit property: GDBus.Error:org.freedes>
12月 12 21:44:47 wb23-PC xdg-desktop-por[2973]: Failed to load RealtimeKit property: GDBus.Error:org.freedes>
12月 12 21:44:47 wb23-PC xdg-desktop-por[2973]: Failed to load RealtimeKit property: GDBus.Error:org.freedes>
12月 12 21:45:01 wb23-PC xdg-desktop-por[2973]: Choosing gtk.portal for org.freedesktop.impl.portal.AppChoos>
12月 12 21:45:01 wb23-PC xdg-desktop-por[2973]: Choosing gtk.portal for org.freedesktop.impl.portal.Print as>
12月 12 21:45:01 wb23-PC xdg-desktop-por[2973]: Choosing gtk.portal for org.freedesktop.impl.portal.Inhibit >
12月 12 21:45:01 wb23-PC xdg-desktop-por[2973]: Choosing gtk.portal for org.freedesktop.impl.portal.Account >
12月 12 21:45:01 wb23-PC xdg-desktop-por[2973]: Choosing gtk.portal for org.freedesktop.impl.portal.Email as>

本来想上传图来着,但是奈何浏览器也无法浏览文件,无法选取附件!

Reply View the author
A0王斌
deepin
2025-12-12 22:09
#8

采用命令:
busctl --user list | grep portal
org.freedesktop.impl.portal.PermissionStore 2894 xdg-permission- wb23 :1.17 user@1000.service - -
org.freedesktop.impl.portal.Secret - - - (activatable) - - -
org.freedesktop.impl.portal.desktop.dde 28079 xdg-desktop-por wb23 :1.467 user@1000.service - -
org.freedesktop.impl.portal.desktop.gtk 28075 xdg-desktop-por wb23 :1.466 user@1000.service - -
org.freedesktop.portal.Desktop 28081 xdg-desktop-por wb23 :1.465 user@1000.service - -
org.freedesktop.portal.Documents 2979 xdg-document-po wb23 :1.29 user@1000.service - -
org.freedesktop.portal.Fcitx 3561 fcitx5 wb23 :1.123 user@1000.service - -
org.freedesktop.portal.Flatpak - - - (activatable) - - -
org.freedesktop.portal.IBus 3561 fcitx5 wb23 :1.125 user@1000.service - -
缺少:

Deepin 25 中缺少 org.freedesktop.impl.portal.FileChooser

== deepin-portal 的 FileChooser backend 未能注册到 DBus

Reply View the author