GNU bug report logs -
#51473
[PATCH] Enable xwidget scrolling optimizations, and other xwidgets improvements
Previous Next
Reported by: Po Lu <luangruo <at> yahoo.com>
Date: Fri, 29 Oct 2021 04:32:01 UTC
Severity: normal
Tags: patch
Fixed in version 29.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Po Lu <luangruo <at> yahoo.com> writes:
> The attached changes fix flickering xwidgets by moving xwidget display
> into a separate X window, and also enable the scrolling optimization for
> xwidgets.
Sounds good...
> Someone with access to a Mac will have to do the changes necessary for
> xwidget scrolling to work correctly on macOS, as they don't work on
> GNUstep in the first place.
Does this mean that these patches will break the Macos build?
> However, event passthrough doesn't work yet, and will require some
> thought. But that would be a fantastic opportunity to clean up the
> current xwidget event handling mess (and perhaps even define a mechanism
> for Lisp code to send events into xwidgets, which would make integrating
> them into the existing Emacs event model much easier.) Any thoughts?
I'm not really that familiar with how xwidget works, so er does this
mean that the events work less with your patch than before?
I'm unable to test this at all, because:
larsi <at> elva:~/src/emacs/trunk$ emake; ./src/emacs -geometry -0+0
Overriding existing handler for signal 10. Set JSC_SIGNAL_FOR_GC if you want WebKit to use a different signal
** (emacs:2173922): ERROR **: 00:09:01.997: GApplication is required for xdg-desktop-portal access in the WebKit sandbox.
Fatal error 5: Trace/breakpoint trap
This is on Debian/bookwork. (And without your patch, just building with
xwidget and `M-x xwidget-webkit-browse-url RET fsf.org RET', and Emacs
crashes.)
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
This bug report was last modified 3 years and 249 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.