Opened 11 years ago

Last modified 8 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


The standard view in gmail can not be used with touch. There seem to be a gmail account for mobile versions 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 11 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 11 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 11 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 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 11 years ago by dnarvaez

Tomeu worked on clutter touch support in webkit

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

comment:5 Changed 8 years ago by SAMdroid

  • Keywords wk2fix added

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

This will be fixed by the WK2 port.

Note: See TracTickets for help on using tickets.