Skip to content

Initialize gtk later#190

Merged
ryonakano merged 1 commit into
elementary:mainfrom
garaevdi:gtk420-fixup
Jun 3, 2026
Merged

Initialize gtk later#190
ryonakano merged 1 commit into
elementary:mainfrom
garaevdi:gtk420-fixup

Conversation

@garaevdi

@garaevdi garaevdi commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

Should fix #157

During initialization GDK tries to find settings portal, but since it isn't started yet, the whole GTK init freezes till timeout. Not sure whether this is the solution because while it fixes the initial startup of the portal, trying to restart the portal would freeze the entire desktop for the same 25 seconds 🫠️

@danirabbit danirabbit added this to OS 9 Jun 1, 2026
@danirabbit
danirabbit requested a review from a team June 1, 2026 17:09
Comment thread src/XdgDesktopPortalPantheon.vala Outdated
During initialization GDK tries to find settings portal, but since it
isn't started yet, the whole init freezes till timeout
@ryonakano
ryonakano self-requested a review June 2, 2026 10:56
@flodavid

flodavid commented Jun 2, 2026

Copy link
Copy Markdown

I do not know why GitHub said I “reviewed” this, I just added a comment. I am not really competent on this subject.

@ryonakano ryonakano left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confirmed this fixes the linked issue on OS 8 Early Access with GTK 4.22.4 built and installed from source code.

Before:

Screencast.From.2026-06-04.07-03-01.mp4

After:

Screencast.From.2026-06-04.07-05-18.mp4

@ryonakano
ryonakano merged commit c5f6fa1 into elementary:main Jun 3, 2026
4 checks passed
@github-project-automation github-project-automation Bot moved this to Done in OS 9 Jun 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

x-d-p-pantheon is taking 25 seconds to startup after updating gtk4 to 4.20.2 on NixOS

4 participants