Webkit2, drag and drop files into midori fails

Bug #1314297 reported by Gero.Bare on 2014-04-29
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(???).

Gero.Bare (gero-bare) on 2014-04-29
summary: - Webkit2 allow drag and drop files into midori
+ Webkit2, drag and drop files into midori fails
Daniel Fore (danrabbit) on 2014-05-12
tags: added: webkit2
Daniel Fore (danrabbit) on 2014-11-11
Changed in midori:
milestone: none → 0.6.0
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.

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:

Daniel Fore (danrabbit) on 2014-11-21
Changed in midori:
status: New → Incomplete
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Related blueprints