GNU bug report logs - #52885
28.0.50; xwidget webkit scrolling behaviour confusing or broken with multiple windows

Previous Next

Package: emacs;

Reported by: akira <at> akirakyle.com

Date: Wed, 29 Dec 2021 23:30:02 UTC

Severity: normal

Found in version 28.0.50

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

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 52885 in the body.
You can then email your comments to 52885 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#52885; Package emacs. (Wed, 29 Dec 2021 23:30:02 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:30: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: 28.0.50; xwidget webkit scrolling behaviour confusing or broken
 with multiple windows
Date: Wed, 29 Dec 2021 16:29:27 -0700
On emacs -Q compiled --with-webkit in xwayland on GNOME
- M-x xwidget-webkit-browse-url RET then enter in some url
There are two scroll bars, one for webkit and one for the buffer, the
one for the buffer does nothing. Now

- C-x 3
- C-u N C-x { where N is enough so the window is narrower than the
  webpage

It is now impossible to scroll horizontally in this window to view the
whole webpage (there is no horizontal scroll bar and C-f doesn't work).




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

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

From: Po Lu <luangruo <at> yahoo.com>
To: akira <at> akirakyle.com
Cc: 52885 <at> debbugs.gnu.org
Subject: Re: bug#52885: 28.0.50; xwidget webkit scrolling behaviour
 confusing or broken with multiple windows
Date: Thu, 30 Dec 2021 09:40:26 +0800
akira <at> akirakyle.com writes:

> It is now impossible to scroll horizontally in this window to view the
> whole webpage (there is no horizontal scroll bar and C-f doesn't work).

Thanks, I will look into this.




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

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: akira <at> akirakyle.com
Cc: 52885 <at> debbugs.gnu.org
Subject: Re: bug#52885: 28.0.50;
 xwidget webkit scrolling behaviour confusing or broken with multiple
 windows
Date: Thu, 30 Dec 2021 08:05:17 +0200
> From: akira <at> akirakyle.com
> Date: Wed, 29 Dec 2021 16:29:27 -0700
> 
> 
> On emacs -Q compiled --with-webkit in xwayland on GNOME
> - M-x xwidget-webkit-browse-url RET then enter in some url
> There are two scroll bars, one for webkit and one for the buffer, the
> one for the buffer does nothing. Now
> 
> - C-x 3
> - C-u N C-x { where N is enough so the window is narrower than the
>   webpage
> 
> It is now impossible to scroll horizontally in this window to view the
> whole webpage (there is no horizontal scroll bar and C-f doesn't work).

Emacs doesn't display the horizontal scroll bars automatically, you
need to say "M-x horizontal-scroll-bar-mode RET" to get that.  That's
a feature.

But C-f and C-b should work, as they do with images that are larger
than the window width.




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

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

From: Po Lu <luangruo <at> yahoo.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: akira <at> akirakyle.com, 52885 <at> debbugs.gnu.org
Subject: Re: bug#52885: 28.0.50; xwidget webkit scrolling behaviour
 confusing or broken with multiple windows
Date: Thu, 30 Dec 2021 15:09:19 +0800
Eli Zaretskii <eliz <at> gnu.org> writes:

> But C-f and C-b should work, as they do with images that are larger
> than the window width.

Unfortunately, that wasn't the case here, since xwidget-webkit defines
its own replacements for C-f and C-b.

I made those commands adjust the window hscroll if the widget is wider
than the window, which should solve this problem.  However, the correct
thing to do when the window is too small is always to press "a", which
will adjust the widget's dimensions to match the current window.  (It
should be done automatically, but that's not always possible.)

Thanks.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#52885; Package emacs. (Sat, 15 Jan 2022 09:56:02 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Po Lu <luangruo <at> yahoo.com>
Cc: Eli Zaretskii <eliz <at> gnu.org>, akira <at> akirakyle.com, 52885 <at> debbugs.gnu.org
Subject: Re: bug#52885: 28.0.50; xwidget webkit scrolling behaviour
 confusing or broken with multiple windows
Date: Sat, 15 Jan 2022 10:55:39 +0100
Po Lu <luangruo <at> yahoo.com> writes:

> I made those commands adjust the window hscroll if the widget is wider
> than the window, which should solve this problem.  However, the correct
> thing to do when the window is too small is always to press "a", which
> will adjust the widget's dimensions to match the current window.  (It
> should be done automatically, but that's not always possible.)

So it sounds like the reported problem here has been fixed, so I'm
closing this bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




bug marked as fixed in version 29.1, send any further explanations to 52885 <at> debbugs.gnu.org and akira <at> akirakyle.com Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sat, 15 Jan 2022 09:56:02 GMT) Full text and rfc822 format available.

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

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

Previous Next


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