Bug#1068130: xdg-desktop-portal-gnome cause slow start up time in some application

2024-03-31 Thread Gaston Gonzalez
On Sun, Mar 31, 2024 at 10:35:04AM -0400, Jeremy Bícha wrote:
> On Sun, Mar 31, 2024 at 10:31 AM Gaston Gonzalez  wrote:
> > On Sun, Mar 31, 2024 at 10:11:37AM -0400, Jeremy Bícha wrote:
> > > Which desktop are you using?
> >
> > Budgie desktop (10.8.2-3)
> 
> If you don't use GNOME, you don't need xdg-desktop-portal-gnome
> installed. xdg-desktop-portal-gtk is probably fine until the Budgie
> developers create their own portal backend.
>

Yes, I just became aware of it after the upgrade and this issue got
triggered.

If any test or info is needed, please let me know.

thank you,

Gaston

> Thank you,
> Jeremy Bícha



Bug#1068130: xdg-desktop-portal-gnome cause slow start up time in some application

2024-03-31 Thread Jeremy Bícha
On Sun, Mar 31, 2024 at 10:31 AM Gaston Gonzalez  wrote:
> On Sun, Mar 31, 2024 at 10:11:37AM -0400, Jeremy Bícha wrote:
> > Which desktop are you using?
>
> Budgie desktop (10.8.2-3)

If you don't use GNOME, you don't need xdg-desktop-portal-gnome
installed. xdg-desktop-portal-gtk is probably fine until the Budgie
developers create their own portal backend.

Thank you,
Jeremy Bícha



Bug#1068130: xdg-desktop-portal-gnome cause slow start up time in some application

2024-03-31 Thread Gaston Gonzalez
Hi Jeremy,

On Sun, Mar 31, 2024 at 10:11:37AM -0400, Jeremy Bícha wrote:
> On Sun, Mar 31, 2024 at 9:57 AM Gaston Gonzalez  wrote:
> > After some digging, it seems that the issue is related to the
> > applications using xdg-desktop-portal-gnome. After uninstalling it, the
> > problem is solved.
> 
> Which desktop are you using?

Budgie desktop (10.8.2-3)

> 
> xdg-desktop-portal-gnome is the preferred portal backend for GNOME and
> you need a portal backend installed.
> 
> There are important improvements we need in xdg-desktop-portal-gnome
> 46 but this is blocked on getting GNOME Shell 46 into Unstable (and
> Testing) which we expect to happen soon after the 32-bit time_t
> transition is resolved.
> 
> Thank you,
> Jeremy Bícha

thanks !

Gaston



Bug#1068130: xdg-desktop-portal-gnome cause slow start up time in some application

2024-03-31 Thread Jeremy Bícha
On Sun, Mar 31, 2024 at 9:57 AM Gaston Gonzalez  wrote:
> After some digging, it seems that the issue is related to the
> applications using xdg-desktop-portal-gnome. After uninstalling it, the
> problem is solved.

Which desktop are you using?

xdg-desktop-portal-gnome is the preferred portal backend for GNOME and
you need a portal backend installed.

There are important improvements we need in xdg-desktop-portal-gnome
46 but this is blocked on getting GNOME Shell 46 into Unstable (and
Testing) which we expect to happen soon after the 32-bit time_t
transition is resolved.

Thank you,
Jeremy Bícha



Bug#1068130: xdg-desktop-portal-gnome cause slow start up time in some application

2024-03-31 Thread Gaston Gonzalez
Package: xdg-desktop-portal-gnome
Version: 44.2-4
Severity: normal

After upgrading from Bookworm to testing some applications are taking
too long to launch. This happens in applications such as evince, eog,
thunderbird.

The delay comes from a timeout during the program start-up.

For instance, evince seems to timeout in the poll line:

futex(0x55f4aef70878, FUTEX_WAKE_PRIVATE, 1) = 1
eventfd2(0, EFD_CLOEXEC|EFD_NONBLOCK)   = 10
write(7, "\1\0\0\0\0\0\0\0", 8) = 8
futex(0x55f4aef764f0, FUTEX_WAKE_PRIVATE, 1) = 1
poll([{fd=10, events=POLLIN}], 1, 25000)

Other programs like xpdf or ristretto do not show the same behaviour.

After some digging, it seems that the issue is related to the
applications using xdg-desktop-portal-gnome. After uninstalling it, the
problem is solved.

I am using Debian testing, kernel 6.7.0.