← Back to team overview

openshot.bugs team mailing list archive

[Bug 855824] Re: Labels disappear after moving files to a folder or after an undo action

 

This is now fixed in the trunk. Changing labels now updates the
undo/redo history and marks the project as 'modified'.  Also, folders
were not setup correctly to handle labels.  So, I fixed folders so they
can now have labels.  It all seems to work good now.

** Changed in: openshot
       Status: New => Fix Committed

** Changed in: openshot
    Milestone: 1.4.1 => 1.4.0

-- 
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/855824

Title:
  Labels disappear after moving files to a folder or after an undo
  action

Status in OpenShot Video Editor:
  Fix Committed

Bug description:
  Ubuntu 11.04 (64-bit), Dutch language
  Openshot 1.4.0-beta1 (latest trunk, revision 574)

  Steps to reproduce:
  1. Start OpenShot
  2. Import several clips
  3. Label some or all of the clips
  4. Remove the last imported clip from the "Project files" tree
  5. Press "Undo"

  Result: all the labels of all the clips disappear

  6. Label some or all of the clips again
  7. Create one or more folders
  8. Label the folder(s)
  9. Move a clip to a folder

  Result: labels of all the folders disappear

  Same happens when you import a clip after labeling a folder

  Traceback (most recent call last):
    File "/home/joop/Development/openshot/openshot/windows/TreeFiles.py", line 143, in cell_edited
      self.project.project_folder.UpdateFileLabel(unique_id, new_text, 0)
    File "/home/joop/Development/openshot/openshot/classes/files.py", line 507, in UpdateFileLabel
      if item.unique_id == unique_id:
  AttributeError: OpenShotFolder instance has no attribute 'unique_id'

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


References