all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Aiko Kyle <aikokyle@gmail.com>
To: Po Lu <luangruo@yahoo.com>
Cc: Lars Ingebrigtsen <larsi@gnus.org>,
	Emacs Devel <emacs-devel@gnu.org>,
	joakim@verona.se, Anand Tamariya <atamariya@gmail.com>
Subject: Re: Multimedia dashboard in GNU Emacs
Date: Thu, 30 Dec 2021 13:25:51 -0700	[thread overview]
Message-ID: <CAPWcbYF2Z6jTJABfEtRGk5ba0sZvjKe_Z8pNj8X9d6OFGjJd3w@mail.gmail.com> (raw)
In-Reply-To: <87lf02pujw.fsf@yahoo.com>

On Wed, Dec 29, 2021 at 9:48 PM Po Lu <luangruo@yahoo.com> wrote:
>
> > Doesn't this have to do more with syncronizing two DOMs though? There
> > isn't much gtk state attached to webkit webviews that would need to be
> > shared.
>
> The idea is to give the view a large enough allocation and to put it
> into a GtkScrolledWindow, which can then be scrolled however you want
> it.
>

As I see. So in this idea, the entire webpage would be rendered in the
case of a xwidget webkit? That seems like it would be costly for
especially large webpages.

> > Fundamentally the emacs window/buffer paradigm doesn't fit with the
> > browser DOM/webview paradigm.  This again goes back to my opinion that
> > enforcing a one-to-one correspondence between a webkit xwidget window
> > and buffer is the better UI paradigm for meshing the two than the
> > offscreen rendering technique.
>
> If an xwidget is only displayed in a single window, it behaves the same
> way as in any other application, so I see no reason to prevent it from
> being displayed in multiple windows.
>
> It won't hurt for the people who want it the way it is, and the people
> who want to keep an xwidget-webkit buffer from being displayed in
> multiple windows can simply refrain from opening those other windows.
>
> > I'm curious as to what your workflow/use case with them might look
> > like?  Understanding that might help me to better understand your
> > opinion on why the osr technique results in a better UI in this case.
>
> I'm not arguing about user experience (I have no opinion on that), only
> about what fits in better with the Emacs display architecture.

Do you then plan on implementing other xwidget types besides the
webkit one? I think with respect to the UI, osr makes more sense for
other widget types like buttons.

I agree the offscreen rendering is more general, however it seems to
me to add significant complexity that would be unnecessary if the UI
for it doesn't require it. Especially since the one-to-one webkit
buffer-window paradigm already has to be accounted for on ns, where
osr isn't available.



  reply	other threads:[~2021-12-30 20:25 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-24  6:35 Multimedia dashboard in GNU Emacs Anand Tamariya
2021-12-24  9:46 ` Lars Ingebrigtsen
2021-12-24 10:03   ` Po Lu
2021-12-27  4:22     ` Anand Tamariya
2021-12-27  5:03       ` Po Lu
2021-12-29  1:44         ` Aiko Kyle
2021-12-29 13:34           ` joakim
2021-12-29 19:08             ` Aiko Kyle
2021-12-29 20:08               ` joakim
2021-12-29 23:39                 ` Aiko Kyle
2021-12-30  1:02               ` Po Lu
2021-12-30  3:21                 ` Aiko Kyle
2021-12-30  3:29                   ` Po Lu
2021-12-30  4:18                     ` Aiko Kyle
2021-12-30  4:48                       ` Po Lu
2021-12-30 20:25                         ` Aiko Kyle [this message]
2021-12-31  0:59                           ` Po Lu
2021-12-31  2:39                             ` Aiko Kyle
2021-12-31  3:38                               ` Po Lu
2021-12-27  4:16   ` Anand Tamariya
2021-12-27 12:06     ` Lars Ingebrigtsen
2021-12-28  4:19     ` Richard Stallman
2021-12-28  5:41       ` Po Lu

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

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

  git send-email \
    --in-reply-to=CAPWcbYF2Z6jTJABfEtRGk5ba0sZvjKe_Z8pNj8X9d6OFGjJd3w@mail.gmail.com \
    --to=aikokyle@gmail.com \
    --cc=atamariya@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=joakim@verona.se \
    --cc=larsi@gnus.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.