← Back to team overview

openshot.bugs team mailing list archive

[Bug 1501243] [NEW] File saved in "recent list" with relative path

 

Public bug reported:

If I start openshot from command line like

   openshot foo.ops

filename "foo.ops" is saved in the recently used files list as
"file://foo.ops," that is, as a relative path.

Is this supposed to be or is it a bug?  IMHO  it is a bug since it does
not make much sense to me to save a relative path in the recent file
list.  If it is a bug, maybe in order to fix it, it suffices to replace
line 139 of open_project.py

   manager.add_item('file://' + file_path)

with

   manager.add_item('file://' + os.path.abspath(file_path))

I am using Linux Mint 17 (cinnammon) 32 bits, OpenShot 1.4.3, installed
via Mint packet manager.

** Affects: openshot
     Importance: Undecided
         Status: New


** Tags: recent-manager

** Description changed:

  If I start openshot from command line like
  
-    openshot foo.ops
+    openshot foo.ops
  
  filename "foo.ops" is saved in the recently used files list as
  "file://foo.ops," that is, as a relative path.
  
  Is this supposed to be or is it a bug?  IMHO  it is a bug since it does
  not make much sense to me to save a relative path in the recent file
  list.  If it is a bug, maybe in order to fix it, it suffices to replace
  line 139 of open_project.py
  
-    manager.add_item('file://' + file_path)
+    manager.add_item('file://' + file_path)
  
  with
  
-    manager.add_item('file://' + .path.abspath(file_path))
+    manager.add_item('file://' + os.path.abspath(file_path))
  
  I am using Linux Mint 17 (cinnammon) 32 bits, OpenShot 1.4.3, installed
  via Mint packet manager.

-- 
You received this bug notification because you are a member of OpenShot
Bugs, which is subscribed to OpenShot Video Editor.
https://bugs.launchpad.net/bugs/1501243

Title:
  File saved in "recent list" with relative path

Status in OpenShot Video Editor:
  New

Bug description:
  If I start openshot from command line like

     openshot foo.ops

  filename "foo.ops" is saved in the recently used files list as
  "file://foo.ops," that is, as a relative path.

  Is this supposed to be or is it a bug?  IMHO  it is a bug since it
  does not make much sense to me to save a relative path in the recent
  file list.  If it is a bug, maybe in order to fix it, it suffices to
  replace line 139 of open_project.py

     manager.add_item('file://' + file_path)

  with

     manager.add_item('file://' + os.path.abspath(file_path))

  I am using Linux Mint 17 (cinnammon) 32 bits, OpenShot 1.4.3,
  installed via Mint packet manager.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openshot/+bug/1501243/+subscriptions