From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Aiko Kyle Newsgroups: gmane.emacs.devel Subject: Re: Multimedia dashboard in GNU Emacs Date: Wed, 29 Dec 2021 16:39:22 -0700 Message-ID: References: <87pmpm2v4b.fsf@gnus.org> <874k6ye2w4.fsf@yahoo.com> <87wnjq1vwn.fsf@yahoo.com> <87zgoj5ycl.fsf@tanaka.verona.se> <87lf035g2u.fsf@tanaka.verona.se> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3107"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Po Lu , Lars Ingebrigtsen , Anand Tamariya , Emacs Devel To: joakim@verona.se Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Dec 30 00:41:35 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1n2iZb-0000ci-8W for ged-emacs-devel@m.gmane-mx.org; Thu, 30 Dec 2021 00:41:35 +0100 Original-Received: from localhost ([::1]:37950 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n2iZZ-0007K2-S6 for ged-emacs-devel@m.gmane-mx.org; Wed, 29 Dec 2021 18:41:33 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:40318) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n2iXn-0006No-1z for emacs-devel@gnu.org; Wed, 29 Dec 2021 18:39:43 -0500 Original-Received: from [2a00:1450:4864:20::229] (port=43862 helo=mail-lj1-x229.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n2iXf-0003is-Mh for emacs-devel@gnu.org; Wed, 29 Dec 2021 18:39:42 -0500 Original-Received: by mail-lj1-x229.google.com with SMTP id g13so25814496ljj.10 for ; Wed, 29 Dec 2021 15:39:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=5wvt6iNoeQgZk+9OC8A7jPRyd+W3s3F0BheZ4WirutE=; b=mQoCos8ouN1klFzMtq6Tr/nKhJjZeaWv6U22rqHDH3sXdll1Z6Vu2uuhiWHEHP14Yd E3bWvK13M2McksNySvTkLHBDMjP2sUo+vYThooHXRoP59xeyO/Hq0UiLS4PD8f+4Hhpu OteeVK8sSjoKbF8NqTR7QokaazwiyifDP9ZIRZQ6YIYtIR9qN7xwbqI4itD0JfpEueaU QukgKSE8Dl6K40+9bWEF2jC054skaN4W5W6BbJUJMHrSqQ1RfVrcY0nwrRX5DnuXuyLC OcgKVJu+w7du/wQFseQeQ+zSX27atTukjiQ7ARqL5XnANL0Tz0mhzMJKrzr3Brau8wNU +15w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=5wvt6iNoeQgZk+9OC8A7jPRyd+W3s3F0BheZ4WirutE=; b=s5zB0gGsfJBTmhQsomjyKYr29BgBn5Tk/fAxmwOC3TbHjG0L5xq7lyXBQ7fI8cnI+o 272RCBJ7IPqn8SrtMrPfujYSgLcNK4aWmPj2iYzGPxavlbpMyt0WCkiDxqfqxL3ThuiI OTWqEck6ItsvNPvnYhYeRqAJK8EFOzR6932jI+jr9PnfaYf0RQ9/p8VOqrRyceqHsxCY awGreXYDAnDxHvuj8h7yG6ow5zG64RAZnAkM9RAnvR1JznrnEEMwC1lir/yiGp3IJUb+ 42oG6965vHAFTjRSv4aFpG9tBG0HSxHQhQMwwfL4d5U2cfGgrJYQGyzzscz6clS+DErr mECQ== X-Gm-Message-State: AOAM532Llsp7UMtJu5e3jtbGhngYxoYLW6TkL9pphe/SxKvAJ3R4XfY9 BXvgdUrjFePTnhwXUYafJWhVC8MW1GG7fqZSTGY= X-Google-Smtp-Source: ABdhPJzmkad9YzS/jboz1TTEilnS+ffZBiB5VjSOhaFAjqHj2StWOIXDi75XGuNYV058+pRP1EA05d9X4/7e41DkrgA= X-Received: by 2002:a2e:5711:: with SMTP id l17mr23681330ljb.123.1640821173826; Wed, 29 Dec 2021 15:39:33 -0800 (PST) In-Reply-To: <87lf035g2u.fsf@tanaka.verona.se> X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::229 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::229; envelope-from=aikokyle@gmail.com; helo=mail-lj1-x229.google.com X-Spam_score_int: 6 X-Spam_score: 0.6 X-Spam_bar: / X-Spam_report: (0.6 / 5.0 requ) DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:283595 Archived-At: On Wed, Dec 29, 2021 at 1:08 PM wrote: > > This was one of the methods that was evaluated in the original branch, > that is, every emacs window got its own separate gtk component. > > So, if the xwidget was a gtk button, for example, inserted in a buffer, > and there were several emacs window showing the same area, each emacs > window would get a separate gtk button representing the same xwidget. > This worked okay-ish, for buttons. But for sliders it didnt turn out so > well, because one needed special glue code to make each separate gtk > slider be in sync with every other instance. It's doable, but > convoluted. Anyway, I'm sure theres been plenty of progress since the > original experiments, so maybe today it's less convoluted. > When I was playing around with this last year I encountered similar issues with "stateful" gtk widgets. Since I primarily cared about the webkit widget, and since that's still the only really implemented widget, I found that forcing there to only ever be one emacs window displaying it was the best compromise between technical limitations and what I think of as "the emacs paradigm" for displaying such content. Although Po seems to disagree with me on that point, hence his pushing forward with the offscreen rendering technique, although there are still various bugs to be resolved in that implementation.