GNU bug report logs - #52884
What is the expected behavior of xwidget webkit webinspector?

Previous Next

Package: emacs;

Reported by: akira <at> akirakyle.com

Date: Wed, 29 Dec 2021 23:23:01 UTC

Severity: normal

Done: Po Lu <luangruo <at> yahoo.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 52884 in the body.
You can then email your comments to 52884 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#52884; Package emacs. (Wed, 29 Dec 2021 23:23:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to akira <at> akirakyle.com:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 29 Dec 2021 23:23:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: akira <at> akirakyle.com
To: bug-gnu-emacs <at> gnu.org
Subject: What is the expected behavior of xwidget webkit webinspector?
Date: Wed, 29 Dec 2021 16:21:55 -0700
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?




Reply sent to Po Lu <luangruo <at> yahoo.com>:
You have taken responsibility. (Thu, 30 Dec 2021 01:36:02 GMT) Full text and rfc822 format available.

Notification sent to akira <at> akirakyle.com:
bug acknowledged by developer. (Thu, 30 Dec 2021 01:36:02 GMT) Full text and rfc822 format available.

Message #10 received at 52884-done <at> debbugs.gnu.org (full text, mbox):

From: Po Lu <luangruo <at> yahoo.com>
To: akira <at> akirakyle.com
Cc: 52884-done <at> debbugs.gnu.org
Subject: Re: bug#52884: What is the expected behavior of xwidget webkit
 webinspector?
Date: Thu, 30 Dec 2021 09:34:55 +0800
akira <at> 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.)




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#52884; Package emacs. (Thu, 30 Dec 2021 02:26:01 GMT) Full text and rfc822 format available.

Message #13 received at 52884-done <at> debbugs.gnu.org (full text, mbox):

From: Akira Kyle <akira <at> akirakyle.com>
To: Po Lu <luangruo <at> yahoo.com>
Cc: 52884-done <at> debbugs.gnu.org
Subject: Re: bug#52884: What is the expected behavior of xwidget webkit
 webinspector?
Date: Wed, 29 Dec 2021 19:25:17 -0700
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 <at> yahoo.com> wrote:
>
> akira <at> 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.)




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#52884; Package emacs. (Thu, 30 Dec 2021 02:37:01 GMT) Full text and rfc822 format available.

Message #16 received at 52884-done <at> debbugs.gnu.org (full text, mbox):

From: Po Lu <luangruo <at> yahoo.com>
To: Akira Kyle <akira <at> akirakyle.com>
Cc: 52884-done <at> debbugs.gnu.org
Subject: Re: bug#52884: What is the expected behavior of xwidget webkit
 webinspector?
Date: Thu, 30 Dec 2021 10:36:40 +0800
Akira Kyle <akira <at> 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.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 27 Jan 2022 12:24:12 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 87 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.