FS#54386 - Starting gnome application is very slow

Attached to Project: Arch Linux
Opened by Nicolas Gruel (gruel) - Friday, 09 June 2017, 14:34 GMT
Last edited by Antonio Rojas (arojas) - Monday, 17 July 2017, 09:30 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Jan Alexander Steffens (heftig)
Antonio Rojas (arojas)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

Since the last update of plasma and kf5. Starting a gnome application from plasma desktop is extremely slow and produce error message:

for gnome-terminal:

Error creating terminal: Timeout was reached

for evolution:

(evolution:20169): GLib-GIO-CRITICAL **: g_dbus_proxy_get_name_owner: assertion 'G_IS_DBUS_PROXY (proxy)' failed

(evolution:20169): GLib-WARNING **: GError set over the top of a previous GError or uninitialized memory.
This indicates a bug in someone's code. You must ensure an error is NULL before it's set.
The overwriting error message was: The name org.freedesktop.portal.Desktop is not owned

(evolution-alarm-notify:20200): GLib-GIO-CRITICAL **: g_dbus_proxy_get_name_owner: assertion 'G_IS_DBUS_PROXY (proxy)' failed

(evolution-alarm-notify:20200): GLib-WARNING **: GError set over the top of a previous GError or uninitialized memory.
This indicates a bug in someone's code. You must ensure an error is NULL before it's set.
The overwriting error message was: The name org.freedesktop.portal.Desktop is not owned

(evolution:20169): libnotify-WARNING **: Failed to connect to proxy

Seems very similar to the problem to start KDE application and reported in  bug 54382 .

Sorry I do not have more information to provide.
Thanks

Additional info:
* package version(s)

plasma-framework 5.34.0-1

* config and/or log files etc.

Steps to reproduce:

Log on plasma desktop (not wayland), open a konsole, start gnome-terminal or evolution.
This task depends upon

Closed by  Antonio Rojas (arojas)
Monday, 17 July 2017, 09:30 GMT
Reason for closing:  Fixed
Additional comments about closing:  xdg-desktop-portal-kde 5.10.3-2
Comment by Nicolas Gruel (gruel) - Saturday, 10 June 2017, 20:27 GMT
The problem appears only with KDE/plasma. Everything is working fine with a gnome shell or windowmaker, ie the application are started almost instantly.

I update tonight with the version 5.35 and the behaviour is stille the same than reported.
Comment by Antonio Rojas (arojas) - Sunday, 25 June 2017, 16:41 GMT
No issues here. Looks like there's some issues with your dbus session, check whether DBUS_SESSION_BUS_ADDRESS is correctly set
Comment by Nicolas Gruel (gruel) - Monday, 26 June 2017, 08:27 GMT
echo $DBUS_SESSION_BUS_ADDRESS
unix:path=/run/user/1000/bus


It seems to be okay. It is weird but it is happening only with pure gnome application. I know that I should use kmail instead of evolution to be coherent with my desktop but akonadi and exchange doesn't work correctly so I have to use evolution.

But I notice that I have something extremely weird when starting a gnome-terminal on plasma. I got the window but no interacting shell. If I am opening a new terminal (file/open terminal) it is opening one with a shell but the $HOME variable is not defined (echo $HOME is empty).


Comment by Antonio Rojas (arojas) - Monday, 26 June 2017, 10:25 GMT
Please test with a clean user, this sounds like a configuration problem
Comment by Nicolas Gruel (gruel) - Monday, 26 June 2017, 10:42 GMT
I created a clean user and I have the same problem.
Comment by Munzir Taha (munzirtaha) - Monday, 17 July 2017, 02:08 GMT
I faced the same problem today and found that launching /usr/lib/xdg-desktop-portal-kde is a workaround temporarily till this get fixed.
Comment by Antonio Rojas (arojas) - Monday, 17 July 2017, 08:02 GMT
Thanks, I can reproduce this by installing xdg-desktop-portal

Loading...