sugarlabs / browse-activity

Sugar activity to browse the internet; WebKit on GTK on Sugar Toolkit
GNU General Public License v2.0
8 stars 44 forks source link

Homepage file:// URL is downloaded (not shown) #43

Closed jonassmedegaard closed 7 years ago

jonassmedegaard commented 7 years ago

When starting Browse activity 200, default homepage URL gets downloaded, not rendered.

NB! I am testing Debian soon-to-be-in-unstable Browse package with only-in-unstable Sugar packages, so there is a real risk that I have missed some dependencies or broken something in the process of repackaging.

jonassmedegaard commented 7 years ago

Maybe these emitted on console relate to this bug:

(sugar-activity:5000): WARNING : Failed to connect to the session manager: SESSION_MANAGER environment variable not defined

(process:5009): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(process:5009): GLib-GObject-CRITICAL **: g_signal_handlers_disconnect_matched: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(process:5009): GLib-GObject-CRITICAL **: g_object_set_data: assertion 'G_IS_OBJECT (object)' failed 1481552389.831134 ERROR root: download_requested_cb 'file:///usr/share/sugar/activities/Browse.activity/data/index.html' 1481552389.852234 ERROR root: gi.FunctionInfo(get_destination) 1481552389.858400 ERROR root: _create_journal_object 1481552390.069202 ERROR root: download_finished_cb

quozl commented 7 years ago

Doesn't reproduce for me with master on Ubuntu 16.04, so you might need a release after 200?

City-busz commented 7 years ago

I experienced the same problem, but after I remove the ~/.local/share/mime directory, the problem solved. It happens with other webkit2gtk-based browsers too, so I think it's not a bug in browse-activity.

quozl commented 7 years ago

Doesn't happen for me with Browse-201, closing. Please re-open if reproduced.