unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#52885: 28.0.50; xwidget webkit scrolling behaviour confusing or broken with multiple windows
@ 2021-12-29 23:29 akira
  2021-12-30  1:40 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2021-12-30  6:05 ` Eli Zaretskii
  0 siblings, 2 replies; 5+ messages in thread
From: akira @ 2021-12-29 23:29 UTC (permalink / raw)
  To: 52885


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).





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

* bug#52885: 28.0.50; xwidget webkit scrolling behaviour confusing or broken with multiple windows
  2021-12-29 23:29 bug#52885: 28.0.50; xwidget webkit scrolling behaviour confusing or broken with multiple windows akira
@ 2021-12-30  1:40 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2021-12-30  6:05 ` Eli Zaretskii
  1 sibling, 0 replies; 5+ messages in thread
From: Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2021-12-30  1:40 UTC (permalink / raw)
  To: akira; +Cc: 52885

akira@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.





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

* bug#52885: 28.0.50; xwidget webkit scrolling behaviour confusing or broken with multiple windows
  2021-12-29 23:29 bug#52885: 28.0.50; xwidget webkit scrolling behaviour confusing or broken with multiple windows akira
  2021-12-30  1:40 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2021-12-30  6:05 ` Eli Zaretskii
  2021-12-30  7:09   ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  1 sibling, 1 reply; 5+ messages in thread
From: Eli Zaretskii @ 2021-12-30  6:05 UTC (permalink / raw)
  To: akira; +Cc: 52885

> From: akira@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.





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

* bug#52885: 28.0.50; xwidget webkit scrolling behaviour confusing or broken with multiple windows
  2021-12-30  6:05 ` Eli Zaretskii
@ 2021-12-30  7:09   ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2022-01-15  9:55     ` Lars Ingebrigtsen
  0 siblings, 1 reply; 5+ messages in thread
From: Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2021-12-30  7:09 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: akira, 52885

Eli Zaretskii <eliz@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.





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

* bug#52885: 28.0.50; xwidget webkit scrolling behaviour confusing or broken with multiple windows
  2021-12-30  7:09   ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2022-01-15  9:55     ` Lars Ingebrigtsen
  0 siblings, 0 replies; 5+ messages in thread
From: Lars Ingebrigtsen @ 2022-01-15  9:55 UTC (permalink / raw)
  To: Po Lu; +Cc: akira, 52885

Po Lu <luangruo@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





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

end of thread, other threads:[~2022-01-15  9:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-29 23:29 bug#52885: 28.0.50; xwidget webkit scrolling behaviour confusing or broken with multiple windows akira
2021-12-30  1:40 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-12-30  6:05 ` Eli Zaretskii
2021-12-30  7:09   ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-01-15  9:55     ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).