unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Akira Kyle <akira@akirakyle.com>
To: Po Lu <luangruo@yahoo.com>
Cc: Emacs developers <emacs-devel@gnu.org>
Subject: Re: Removing the `window-id' frame parameter on non-Core Input platforms
Date: Sun, 19 Dec 2021 20:34:30 -0700	[thread overview]
Message-ID: <CAPWcbYEnxNyQ0YbEw5MgMJwUcRkKkzUJ7=8--Ef1MTNzttrndg@mail.gmail.com> (raw)
In-Reply-To: <87lf0g3qt3.fsf@yahoo.com>

On Sun, Dec 19, 2021 at 8:20 PM Po Lu <luangruo@yahoo.com> wrote:
>
> >> then just integrate the work I've done on emacs-webkit into a pgtk
> >> version of xwidgets? I think one of the key differences between the
> >> codes are the osr versus one-to-one buffer-webkit view models.
>
> > I will work on it eventually, which will be before the release of Emacs
> > 29.
>
> Also, BTW, I don't think you will have trouble integrating the
> emacs-webkit work into the X version of xwidgets.
>
> Most of the offscreen rendering and event passthrough between X windows
> and the WebKit widget is done transparently, so you essentially don't have
> to worry about it, as things should "just work".

Except the user experience is different. Frankly I find it not very
helpful to have the same exact view into a buffer on two windows which
is what the osr technique ends up accomplishing. The fact that
scrolling in one xwidget webkit buffer scrolls in every other I find
to be distracting. Also the case of unequal sized windows displaying
the same webkit buffer is still not handled correctly as the larger
buffer will have it's view clipped to the size of the smaller in focus
buffer.

Another feature not currently "just working" transparently is the
webkit inspector. It currently seg faults emacs when the webkit buffer
is killed and is impossible to interact with before then. Perhaps the
osr technique can be made to work in these cases, but I view it as
really going against the grain of the gtk widget (and cocoa) model.



  reply	other threads:[~2021-12-20  3:34 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87y24ifpkj.fsf.ref@yahoo.com>
2021-12-18  5:29 ` Removing the `window-id' frame parameter on non-Core Input platforms Po Lu
2021-12-18  7:22   ` Po Lu
2021-12-18  7:29   ` Eli Zaretskii
2021-12-18  7:53     ` Po Lu
2021-12-18  9:35       ` Eli Zaretskii
2021-12-18  9:40         ` Po Lu
2021-12-18 16:35           ` Stefan Monnier
2021-12-18 16:47             ` [External] : " Drew Adams
2021-12-19  2:48             ` Po Lu
2021-12-19  4:39               ` Stefan Monnier
2021-12-19  5:32                 ` Po Lu
2021-12-20  2:25   ` Akira Kyle
2021-12-20  3:16     ` Po Lu
2021-12-20  3:20       ` Po Lu
2021-12-20  3:34         ` Akira Kyle [this message]
2021-12-20  3:39           ` Po Lu
2021-12-20  4:03             ` Akira Kyle
2021-12-20  4:45               ` Po Lu
2021-12-20 22:49                 ` Akira Kyle
2021-12-21  1:15                   ` Po Lu
2021-12-21  3:23                     ` Akira Kyle
2021-12-21  4:38                       ` Po Lu
2021-12-21 19:24                         ` Akira Kyle
2021-12-20  3:27       ` Akira Kyle

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAPWcbYEnxNyQ0YbEw5MgMJwUcRkKkzUJ7=8--Ef1MTNzttrndg@mail.gmail.com' \
    --to=akira@akirakyle.com \
    --cc=emacs-devel@gnu.org \
    --cc=luangruo@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).