1. 28 May, 2017 1 commit
  2. 22 May, 2017 1 commit
    • Craig Watson's avatar
      Allow cut-and-pasting items between pages · 457aef5b
      Craig Watson authored
      Previously, items such as audio, video, and widget items could not be
      cut and pasted because when the page was saved, any item that had been
      deleted was permanently removed (including its source file, in the case
      of these mulitmedia items).
      
      This commit prevents the deletion any item in the undoStack
      (i.e, items that have been deleted) when the document is persisted,
      meaning the source file is still available when pasting the item on
      another page (or document).
      
      Note that this can lead to cases where the source file is kept in the
      document even when no item is present. This should be a relatively rare
      occurence, however.
      457aef5b
  3. 15 May, 2017 1 commit
    • Craig Watson's avatar
      Fix saving of strokes that were partially erased · bec0dc00
      Craig Watson authored
      This ensures that when part of a line is erased,
      `UBGraphicsStroke::isNominalLine` will no longer return true. This was
      problematic as `UBSvgSubsetAdaptor` uses this to know whether or not to
      save a stroke as polyline.
      If it saves the stroke as a polyline, then the erased portions of the stroke
      reappear after saving.
      
      Therefore, we now force saving of the stroke as a group of polygons when it
      has been partially erased.
      bec0dc00
  4. 14 May, 2017 1 commit
    • Craig Watson's avatar
      Document mode: improved doc. selection after deleting documents · 425129ff
      Craig Watson authored
      This mainly changes document mode behaviour in two ways:
      1) When deleting 2+ items, a new document was selected in the list. Now, the current document is selected,
      or if it has been deleted, a the first document in the list is set as
      current document.
      
      2) When deleting the last item in the trash, no document was selected.
      Now, the current document is selected instead.
      425129ff
  5. 30 Apr, 2017 3 commits
    • Marco Ciampa's avatar
      Updated Italian translation · 750de4db
      Marco Ciampa authored
      Credit: ciampix
      750de4db
    • Craig Watson's avatar
      Bumped version to 1.3.6-b.1 · 7b4b59c3
      Craig Watson authored
      7b4b59c3
    • Craig Watson's avatar
      Fix for video-related crashing on Windows · 5416e6d8
      Craig Watson authored
      Issue observed was that OpenBoard would crash on some Windows systems
      when a video was on the page and that page was saved (due to switching
      to document mode, auto saving, or duplicating the page), or when cutting
      the video with Ctrl-X.
      
      This was due to QTBUG-32522, where setting the video output for a
      QMediaPlayer that is hidden results in a crash.
      
      This commit is a work-around for this Qt issue, and so should be reverted
      if and when the upstream issue is fixed.
      5416e6d8
  6. 24 Apr, 2017 1 commit
  7. 23 Apr, 2017 1 commit
    • Craig Watson's avatar
      Fix for copy/paste issues · fc81e27b
      Craig Watson authored
      This fixes two related issues:
      1) When taking a partial screenshot of the desktop, then copying it
      (Ctrl-C) and pasting it in a new document, it was not saved
      2) When a page of one document was copied into another (in document
      mode, by dragging the page onto another document), media files
      disappeared from the new page.
      fc81e27b
  8. 09 Apr, 2017 2 commits
    • Craig Watson's avatar
      Fixed PDF export page size · 716314fe
      Craig Watson authored
      In some cases, export of a document containing a PDF background to PDF
      caused the contents to be truncated.
      
      The "simple" PDF exporter will now set the output page size to be equal
      either to the document nominal size or, if the document has a background
      PDF item, to the size of this item.
      716314fe
    • Craig Watson's avatar
      Added sceneSize function to UBGraphicsScene · b7f5cc27
      Craig Watson authored
      b7f5cc27
  9. 11 Mar, 2017 6 commits
  10. 27 Feb, 2017 1 commit
    • Craig Watson's avatar
      Don't move a selection containing locked items · 6ff78892
      Craig Watson authored
      Fixes an issue where locked items could be moved if they were selected
      along with other items, and these items all moved by dragging the
      selection frame.
      
      This implementation prevents any movement of the selected items if at
      least one of them is locked. It also changes the colour of the selection
      frame, like a locked UBGraphicsDelegateFrame.
      6ff78892
  11. 25 Feb, 2017 1 commit
  12. 22 Feb, 2017 1 commit
  13. 18 Feb, 2017 1 commit
    • Craig Watson's avatar
      Smaller Triangle tool · 8d9fc7b0
      Craig Watson authored
      Added checks for the size of the interior, cut-out triangle to make sure
      everything is drawn correctly at small sizes; buttons are now also
      hidden if they overflow from the tool.
      8d9fc7b0
  14. 12 Feb, 2017 2 commits
  15. 11 Feb, 2017 1 commit
    • Craig Watson's avatar
      Fix saving of groups' positions · 14849cf5
      Craig Watson authored
      Previously, only transforms were saved -- not positions (which are set
      if a group is moved by dragging it directly; if dragged by its frame,
      its transform is updated instead).
      
      Issue observed was that a group that had been moved would lose its new
      position when the document was saved then loaded. (All other transforms
      were kept, however).
      
      Now, when duplicating a group before saving a document, position is
      included in the group's transform.
      14849cf5
  16. 04 Feb, 2017 1 commit
  17. 01 Feb, 2017 1 commit
  18. 28 Jan, 2017 2 commits
  19. 25 Jan, 2017 4 commits
  20. 22 Jan, 2017 1 commit
  21. 16 Jan, 2017 1 commit
  22. 15 Jan, 2017 3 commits
  23. 14 Jan, 2017 3 commits