Opened 8 years ago

Last modified 6 years ago

#4235 new defect

Gmail: can not scroll with touch

Reported by: erikos Owned by: manuq
Priority: Unspecified by Maintainer Milestone: Unspecified
Component: Browse Version: Unspecified
Severity: Unspecified Keywords: triage, wk2fix
Cc: Distribution/OS: Unspecified
Bug Status: Unconfirmed

Description

The standard view in gmail can not be used with touch. There seem to be a gmail account for mobile versions https://mail.google.com/mail/mu. Here, scrolling with touch works. In general this looks much better to use than the standard gmail view.

I presume we just need to instruct that we use the mobile version by default.

Change History (5)

comment:1 Changed 8 years ago by erikos

One option is to add 'Mobile' to the user agent. But that would change general behaviour. Testing here this did bring up the Gmail in the mobile version.

comment:2 Changed 8 years ago by dsd

Another option here is to wait for WebKit2 in a future release cycle. At the moment you can only scroll a GtkScrolledWindow; if the website implements its own scrollable frame or pane then that won't be scrolled.

However in WebKit2, GtkScrolledWindow will no longer be used, and webkit2 will have to implement its own touch-based scrolling which would then presumably work in all scrollable areas.

comment:3 Changed 8 years ago by dnarvaez

I think using "Mobile" would probably be bad. The XO has a big screen and we would be getting web sites designed for small ones a lot.

It seems the best we can do is:

  • Add "Tablet" to the UA, like mozilla and some other browsers are doing. (See https://bugzilla.mozilla.org/show_bug.cgi?id=671634). Not sure if it will solve the gmail problem right now but it might in the future, or it might help with other sites. It doesn't seem like it should hurt anyway.
  • Wait for WebKit2 to solve the scrolled window issue. Well, unless there is a way to solve it in WebKit1...

comment:4 Changed 8 years ago by dnarvaez

Tomeu worked on clutter touch support in webkit

http://blog.tomeuvizoso.net/2012/07/multi-touch-in-webkit-clutter.html

Quoting him:

"And a nice side-effect is that given that the touch API in Clutter is so similar to Gtk+'s, it should be pretty straightforward to port it to WebKitGtk+"

Here is the main commit I think

http://cgit.collabora.com/git/webkit-clutter.git/commit/?id=cd598b2ed5f74c9240f4758b69f5911399ba9d5c

comment:5 Changed 6 years ago by SAMdroid

  • Keywords wk2fix added

WebKit2 works amazing with touch and gmail.com (tested on commodity hardware).

This will be fixed by the WK2 port.

Note: See TracTickets for help on using tickets.