Webkit2, drag and drop files into midori fails

Bug #1314297 reported by Gero.Bare
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Midori Web Browser
Incomplete
Undecided
Unassigned

Bug Description

Try to drag and drop a file into Midori-webkit2 gives a error page with the title Ooops

The console shows a log

Received an unexpected URL from the web process: 'file:///home/user/example.html'
Received an invalid message "WebPageProxy.DecidePolicyForNavigationAction" from the web process.

This is due to a lack of implementation of WebPageProxy.

Before this bug will be fixed, probably it will be needed a implementation for this(???).

Tags: webkit2
Gero.Bare (gero-bare)
summary: - Webkit2 allow drag and drop files into midori
+ Webkit2, drag and drop files into midori fails
tags: added: webkit2
Changed in midori:
milestone: none → 0.6.0
Revision history for this message
Gero.Bare (gero-bare) wrote :

I have some news about this particular issue.
Part of the problem seems to be a problem in the webkitgtk2 engine this seems to affect the versions 2.4.x, 2.5.x and 2.6.x

The change log inside of the version 2.4.7 seems to fix the problem, so I compiled webkitgtk2 inside of a VM (don't do this, it will take an immense amount of time without powerful hardware, too much for my humble i3 Haswell mobile).

Then I compiled midori, and sometimes seems to work. When you have a page rendered in webkit2 but if instead you don't have a page rendered then midori show an error:

Received an unexpected URL from the web process: 'file:///home/user/test/test.html'
Received an invalid message "WebPageProxy.DecidePolicyForNavigationAction" from the web process.

Droping an html file over a tab selector seems to work.

So the only case left to cover is when there's no webview rendered.

Revision history for this message
Gero.Bare (gero-bare) wrote :

I wanted to say:

When you have a page rendered in webkit2 and drop a html midori works fine but if instead you don't have a page rendered then midori show an error:

Changed in midori:
status: New → Incomplete
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related blueprints

Remote bug watches

Bug watches keep track of this bug in other bug trackers.