Ticket #3547 (assigned defect)

Opened 13 months ago

Last modified 4 months ago

Browse: webkit spawns multiple scrollbars in some google apps

Reported by: greenfeld Owned by: humitos
Priority: Low Milestone: 1.0
Component: Browse Version: Unspecified
Severity: Minor Keywords: 13.1.0, upstream
Cc: manuq Distribution/OS: OLPC
Bug Status: Unconfirmed

Description (last modified by manuq) (diff)

On some webpages (such as news.google.com) Browse will show the Sugar-style scrollbar, as well as an additional scrollbar immediately to the left of the first one.

This has been seen on XO-1.5 and XO-1.75 with OLPC 12.1.0 os8. Also seen in Epiphany, so it's a WebKit issue.

Attachments

browse-scroll-bar.jpeg Download (246.1 KB) - added by humitos 13 months ago.
13.png Download (121.4 KB) - added by manuq 12 months ago.

Change History

Changed 13 months ago by humitos

  Changed 12 months ago by manuq

  • severity changed from Unspecified to Minor
  • milestone changed from Unspecified by Release Team to 0.98

This seems very specific to google apps, I can see it in plus and news. Setting as minor bug and posponing to 0.98.

  Changed 12 months ago by manuq

  • owner changed from erikos to manuq
  • status changed from new to assigned

Changed 12 months ago by manuq

  Changed 12 months ago by manuq

Same happens in Epiphany, screenshot attached.

  Changed 12 months ago by manuq

  • priority changed from Unspecified by Maintainer to Low

  Changed 12 months ago by manuq

Added a ticket in Epiphany bug tracker:  https://bugzilla.gnome.org/show_bug.cgi?id=676982

  Changed 11 months ago by manuq

  • description modified (diff)
  • summary changed from Browse may spawn multiple scrollbars to Browse: webkit spawns multiple scrollbars in some google apps

follow-up: ↓ 10   Changed 9 months ago by dsd

  • keywords 13.1.0 added; 12.1.0 removed

The scrolled window (with the main scroll bars) is owned by Browse, and the google-specific scroll bars are owned by WebKit. There needs to be some communication between the two so that Browse hides its scroll bars when necessary.

Have we tried working with this API?
 http://webkitgtk.org/reference/webkitgtk/stable/WebKitWebWindowFeatures.html#WebKitWebWindowFeatures.description

  Changed 9 months ago by humitos

  • cc humitos added

  Changed 9 months ago by manuq

  • cc manuq added; humitos removed
  • owner changed from manuq to humitos

in reply to: ↑ 7   Changed 8 months ago by humitos

  • milestone changed from 0.98 to 1.0

Replying to dsd:

Have we tried working with this API?

I've just tried this:

window_features = self.get_window_features()
window_features.connect('notify::scrollbar-visible',
                        self.__scrollbar_visible_cb)
window_features.connect('notify::statusbar-visible',
                        self.__scrollbar_visible_cb)
window_features.connect('notify::toolbar-visible',
                        self.__scrollbar_visible_cb)
window_features.connect('notify::menubar-visible',
                        self.__scrollbar_visible_cb)
window_features.connect('notify::locationbar-visible',
                        self.__scrollbar_visible_cb)
self.props.window_features = window_features

but those signals are not emitted when I go to  http://news.google.com for example, and that page shows its own scrollbar + Browse's Activity one.

  Changed 7 months ago by humitos

This email says that gmail does some tricks with the scrollbars and that is why we are having this issue. I'm not sure how to solve it yet and actually I don't know if it there is a solution.

 http://www.mail-archive.com/webkit-gtk@lists.webkit.org/msg00504.html

In the same email this guy talks about 'frame-flattening':

 http://webkitgtk.org/reference/webkitgtk/stable/WebKitWebSettings.html#WebKitWebSettings--enable-frame-flattening

  Changed 4 months ago by manuq

  • keywords 13.1.0, upstream added; 13.1.0 removed
Note: See TracTickets for help on using tickets.