Skip to content

Conversation

@hdijkema
Copy link
Contributor

Fix problems with navigation events that aren't generated by GtkWebKit.
(used lib: libwebkit2gtk-4.1-0 on linux Mint).

The WebKit engine to apparently doesn't catch the navigations and does not produce navigation events, when something like "webui_bind(_webui_win, "", webui_event_handler);" is called. Although this should be expected behaviour.

By implementing a handler for the GtkWebKit decision signal, this navigation event can still be generated.

@hdijkema hdijkema closed this Oct 17, 2025
@hdijkema hdijkema force-pushed the gtkwebkit-navigation branch from 9326db0 to 80f8976 Compare October 17, 2025 20:44
@AlbertShown
Copy link
Member

Why did you close this PR?

@hdijkema
Copy link
Contributor Author

Problems with strlcpy. I see that it doesn´t compile on all linux distro's your checking, so I'm replacing it with strncpy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants