- 28 May, 2017 1 commit
-
-
Craig Watson authored
This solves an issue where drawing several arcs in a row resulted in only the first one being saved.
-
- 22 May, 2017 1 commit
-
-
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.
-
- 15 May, 2017 1 commit
-
-
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.
-
- 14 May, 2017 1 commit
-
-
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.
-
- 30 Apr, 2017 3 commits
-
-
Marco Ciampa authored
Credit: ciampix
-
Craig Watson authored
-
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.
-
- 24 Apr, 2017 1 commit
-
-
Craig Watson authored
-
- 23 Apr, 2017 1 commit
-
-
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.
-
- 09 Apr, 2017 2 commits
-
-
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.
-
Craig Watson authored
-
- 11 Mar, 2017 6 commits
-
-
Craig Watson authored
Bug likely surfaced when fixing positioning of saved strokes. Quick tests show that positioning now works both for duplication and saving/loading
-
Craig Watson authored
When deleting a document that was in the trash, the following item was selected but also set as current document. This is now fixed.
-
Craig Watson authored
This code was lifted from Open-Sankoré 2.10. This fixes an issue where erasing part of a stroke that had been moved or rotated, then clicking "undo" then "redo" would place part of the stroke in the wrong place.
-
Craig Watson authored
-
Craig Watson authored
-
Craig Watson authored
We can (again) check for updates and, if an update is available, send the user to the site to download them. The old format (a .json specifying a version number and download URL) was kept. The address for this file is now specified in the settings.
-
- 27 Feb, 2017 1 commit
-
-
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.
-
- 25 Feb, 2017 1 commit
-
-
Craig Watson authored
-
- 22 Feb, 2017 1 commit
-
-
Craig Watson authored
When drag-n-dropping a document to the trash, it would reappear in the "untitled documents" folder on the next restart. (This was introduced by bd3d8e95)
-
- 18 Feb, 2017 1 commit
-
-
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.
-
- 12 Feb, 2017 2 commits
-
-
Craig Watson authored
Also install the importer executable to OpenBoard root install folder
-
Craig Watson authored
This removes a few instances of deleting a scene twice, or accessing elements of a scene after they've been deleted. Previously, the application would crash upon exiting if the scene was empty but had been modified (e.g if an object was placed on the board then deleted, then the application closed)
-
- 11 Feb, 2017 1 commit
-
-
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.
-
- 04 Feb, 2017 1 commit
-
-
Craig Watson authored
-
- 01 Feb, 2017 1 commit
-
-
Craig Watson authored
-
- 28 Jan, 2017 2 commits
-
-
Craig Watson authored
This was observed in some cases on low-resolution screens, at least on Linux and Windows. The previously hardcoded value for the width of the text items' titlebar (consisting of the buttons for formatting text) was replaced by a method calculating its width (which varies based on screen resolution).
-
Craig Watson authored
-
- 25 Jan, 2017 4 commits
-
-
Craig Watson authored
... to the nearest 2 decimal places. This fixes a bug where upon loading a text item, it could be scaled by e.g 0.999999, which would eventually round down the point size by 1pt. Making the text item shrink by 1pt every time the document was opened.
-
Craig Watson authored
-
Craig Watson authored
Fixed issue that appeared with previous commit, where grouped strokes' positions were sometimes saved and loaded incorrectly. Strokes and their transforms should now be saved correctly whether they are grouped or not
-
Craig Watson authored
(Much simpler and cleaner solution than previous commit)
-
- 22 Jan, 2017 1 commit
-
-
Craig Watson authored
This reverts commit d7b73a16.
-
- 16 Jan, 2017 1 commit
-
-
EmPeWe authored
Credit: EmPeWe
-
- 15 Jan, 2017 3 commits
-
-
Craig Watson authored
-
Craig Watson authored
Solves issue where items (other than strokes) that had been grouped then moved (and/or rotated) lost their new position after saving and loading the document.
-
Craig Watson authored
-
- 14 Jan, 2017 3 commits
-
-
Craig Watson authored
- Selecting multiple media items then grouping them didn't behave as it should for other items => fixed by adding type tests - A group containing several media items wasn't saved to SVG with those media items as children, due to incorrect UUID copying in the mediaItems's deepCopy() methods
-
Craig Watson authored
-
Craig Watson authored
-