• Bug#1049423: gnome-calculator: takes 55 seconds to start

    From Vincent Lefevre@21:1/5 to All on Tue Apr 29 03:40:01 2025
    On 2025-04-28 20:15:01 -0400, Jeremy Bícha wrote:
    gtk4 now uses XDG desktop portals by default. I guess you need to
    figure out how to get xdg-desktop-portal working in your environment
    or disable portals in gtk4 and maybe also in libadwaita. There are environment variables you can use.

    https://docs.gtk.org/gtk4/running.html suggests GDK_DEBUG=no-portals

    "export GDK_DEBUG=no-portals" has no effect.

    Note that the startup time has apparently reduced to around 15 seconds
    (whether GDK_DEBUG=no-portals is used or not), which is still large.

    --
    Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
    100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
    Work: CR INRIA - computer arithmetic / Pascaline project (LIP, ENS-Lyon)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Vincent Lefevre@21:1/5 to All on Wed Apr 30 02:00:01 2025
    On 2025-04-29 08:44:04 -0400, Jeremy Bícha wrote:
    On Mon, Apr 28, 2025 at 9:29 PM Vincent Lefevre <vincent@vinc17.net> wrote:
    On 2025-04-28 20:15:01 -0400, Jeremy Bícha wrote:
    gtk4 now uses XDG desktop portals by default. I guess you need to
    figure out how to get xdg-desktop-portal working in your environment
    or disable portals in gtk4 and maybe also in libadwaita. There are environment variables you can use.

    https://docs.gtk.org/gtk4/running.html suggests GDK_DEBUG=no-portals

    "export GDK_DEBUG=no-portals" has no effect.

    Note that the startup time has apparently reduced to around 15 seconds (whether GDK_DEBUG=no-portals is used or not), which is still large.

    Does also setting ADW_DISABLE_PORTAL=1 help?

    No, still the same issue.

    --
    Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
    100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
    Work: CR INRIA - computer arithmetic / Pascaline project (LIP, ENS-Lyon)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)