all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#52884: What is the expected behavior of xwidget webkit webinspector?
@ 2021-12-29 23:21 akira
  2021-12-30  1:34 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 1 reply; 4+ messages in thread
From: akira @ 2021-12-29 23:21 UTC (permalink / raw)
  To: 52884


On emacs -Q compiled --with-webkit in xwayland on GNOME
- M-x xwidget-webkit-browse-url RET then enter in some url
- right click on some element and select 'Inspect Element'
- the webinspector opens in the same window on the bottom half
Usually the size of this pane could be changed by dragging on the
divider

Repeating the above but splitting the frame via C-x 3 before right
clicking to pull up webinspector results in webinspector opening its
own window (this may be related to the segfault on sway)?

Should the behavior be consistent in these two cases?





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#52884: What is the expected behavior of xwidget webkit webinspector?
  2021-12-29 23:21 bug#52884: What is the expected behavior of xwidget webkit webinspector? akira
@ 2021-12-30  1:34 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2021-12-30  2:25   ` Akira Kyle
  0 siblings, 1 reply; 4+ messages in thread
From: Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2021-12-30  1:34 UTC (permalink / raw)
  To: akira; +Cc: 52884-done

akira@akirakyle.com writes:

> Repeating the above but splitting the frame via C-x 3 before right
> clicking to pull up webinspector results in webinspector opening its
> own window (this may be related to the segfault on sway)?

It is probably not related to the segfault, and yes, it is intended
behaviour: WebKitGtk opens its own inspector window if it thinks the
WebKitWebView's window is not large enough to fit the inspector.

It should work fine unless you have multiple displays, where the
inspector window will probably open on the wrong display.  This is a
WebKitGtk bug, not a bug with Emacs (since we set the embedder window
correctly), so it should be reported to their developers instead.

Thanks, closing.  In the future, this kind of question should be sent to
help-gnu-emacs.

(BTW, please prefix your bug reports with some kind of sensible version
number, such as 29.0.50; the recent changes to xwidgets don't exist on
the release branch.)





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#52884: What is the expected behavior of xwidget webkit webinspector?
  2021-12-30  1:34 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2021-12-30  2:25   ` Akira Kyle
  2021-12-30  2:36     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 1 reply; 4+ messages in thread
From: Akira Kyle @ 2021-12-30  2:25 UTC (permalink / raw)
  To: Po Lu; +Cc: 52884-done

Is the fact that the size of the webinspector pane cannot be adjusted
as it should be not a bug?

On Wed, Dec 29, 2021 at 6:35 PM Po Lu <luangruo@yahoo.com> wrote:
>
> akira@akirakyle.com writes:
>
> > Repeating the above but splitting the frame via C-x 3 before right
> > clicking to pull up webinspector results in webinspector opening its
> > own window (this may be related to the segfault on sway)?
>
> It is probably not related to the segfault, and yes, it is intended
> behaviour: WebKitGtk opens its own inspector window if it thinks the
> WebKitWebView's window is not large enough to fit the inspector.
>
> It should work fine unless you have multiple displays, where the
> inspector window will probably open on the wrong display.  This is a
> WebKitGtk bug, not a bug with Emacs (since we set the embedder window
> correctly), so it should be reported to their developers instead.
>
> Thanks, closing.  In the future, this kind of question should be sent to
> help-gnu-emacs.
>
> (BTW, please prefix your bug reports with some kind of sensible version
> number, such as 29.0.50; the recent changes to xwidgets don't exist on
> the release branch.)





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#52884: What is the expected behavior of xwidget webkit webinspector?
  2021-12-30  2:25   ` Akira Kyle
@ 2021-12-30  2:36     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 0 replies; 4+ messages in thread
From: Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2021-12-30  2:36 UTC (permalink / raw)
  To: Akira Kyle; +Cc: 52884-done

Akira Kyle <akira@akirakyle.com> writes:

> Is the fact that the size of the webinspector pane cannot be adjusted
> as it should be not a bug?

You can adjust it, but you have to be good with a mouse, and use a
recent version of WebKitGTK.

Older versions have some odd issue with entry events that prevents
dragging the inspector from working correctly.





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-12-30  2:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-29 23:21 bug#52884: What is the expected behavior of xwidget webkit webinspector? akira
2021-12-30  1:34 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-12-30  2:25   ` Akira Kyle
2021-12-30  2:36     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors

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.