Doesn't open file:// URLs

Bug #1355311 reported by Tal Zion
28
This bug affects 6 people
Affects Status Importance Assigned to Milestone
DowNow
New
Undecided
Unassigned
Ubuntu File Manager App
Confirmed
Critical
Unassigned

Bug Description

In the desktop when an app opens a file:// URL, nautilus is opened with the correct directory.
This should also happen in the Ubuntu file manager.

Revision history for this message
Carlos Jose Mazieri (carlos-mazieri) wrote :

Could you describe how/when it happens.

If is the case, please provide a procedure in order to reproduce the problem.

Revision history for this message
Tal Zion (talzion12) wrote :

In another app, try running Qt.openUrlExternally("file:///home") in QML.
On the desktop, this opens nautilus with /home as the path. However, this does not happen on the phone with file manager app.
We should add a URL dispatcher JSON file that indicates that the file manager app can open file:// URLs as described here: https://wiki.ubuntu.com/URLDispatcher

Changed in ubuntu-filemanager-app:
status: New → Confirmed
Revision history for this message
Tal Zion (talzion12) wrote :

This isn't a duplicate of "Bug #1366217: Filemanager sending out file:/// URLs".
This bug is about using URL dispatcher to open the file manager from another app, whereas the other bug is about the file manager using URL dispatcher instead of content hub for opening files from within the file manager app.

Revision history for this message
Brendan Donegan (brendan-donegan) wrote :

Tal - url-dispatcher won't handle file urls that's why the bug was raised - so essentially they are the same - nothing should use file:// urls to open files. They should use content-hub instead

Revision history for this message
Tal Zion (talzion12) wrote :

In my app I'm trying to open a directory in the file manager.
Should we use content hub for directories as well?
If so, then what is the URL dispatcher for?

Revision history for this message
Brendan Donegan (brendan-donegan) wrote : Re: [Bug 1355311] Re: Doesn't open file:// URLs

url-dispatcher is for situations where there is no content involved. For
example telling the messaging-app to open with a new message for a specific
contact. For your scenario you'd have to create a new url schema like
'filemanager://' and send it to filemanager. This would involve updating
filemanager and url-dispatcher though.

On Wed, Oct 8, 2014 at 11:15 AM, Tal Zion <email address hidden> wrote:

> In my app I'm trying to open a directory in the file manager.
> Should we use content hub for directories as well?
> If so, then what is the URL dispatcher for?
>
> --
> You received this bug notification because you are a member of Ubuntu
> File Manager Developers, which is subscribed to Ubuntu File Manager App.
> Matching subscriptions: File Manager App Bugmail
> https://bugs.launchpad.net/bugs/1355311
>
> Title:
> Doesn't open file:// URLs
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/downow/+bug/1355311/+subscriptions
>

Revision history for this message
Tal Zion (talzion12) wrote :

OK.
This bug is about not being able to use url dispatcher to open the file manager using the file:// url schema.
Maybe the title is not worded correctly.
Why would we need to update the url dispatcher for this?

Changed in ubuntu-filemanager-app:
importance: Undecided → Critical
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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