Clément Fauconnier
1cb97a8f85
call adjust displayView when centering on last center
4 years ago
Clément Fauconnier
19e6331f5d
Revert "Due to perfomance issues at openboard start, in a network-attached storage context, I had to find some (dirty) optimizations in order to counter-balance the huge response time of the directory scans performed when creating the documents tree (very huge in slowest machines (HDD, low CPU, with a thousand documents)). The simplest solution (I found) was to let the opening of metadatas fail, and to prevent any scanning. This implied to introduce the page-count as a metadata. As this issue is not encountered with a standard use of OpenBoard (with local documents), no update operation (of every document) should be necessary out of the described context"
...
This reverts commit 9adb8e6643
.
4 years ago
Clément Fauconnier
43f2aba2cc
persist metadata when docs are renamed by the replace dialog
4 years ago
Clément Fauconnier
c9826bbe6b
folders still need to be removed
4 years ago
Clément Fauconnier
30087bb34d
fixed a crash that would randomly occur when performing multiple deletion inside the trash
4 years ago
Clément Fauconnier
476d8768ee
don't call documentThumbnailsUpdated every time + set current document to null if it is about to be deleted
4 years ago
Clément Fauconnier
026ddb3c56
fixed some issues where change align state could result on loosing last changes (color, size, content)
4 years ago
letsfindaway
19d74900a4
take systemScaleFactor into account for pointer diameter
4 years ago
Clément Fauconnier
0611fafed1
fiexed two issues where page count could be corrupted
4 years ago
Clément Fauconnier
d613c1257c
Revert "make the text under 'empty My Documents' and 'emty Trash' actions be different"
...
This reverts commit a5bcaf2763
.
4 years ago
letsfindaway
0b4df26e81
remove unused member variables, label color, minor reformatting
4 years ago
letsfindaway
f2fce3cc0f
detect and handle change of stylusTool while device pressed
...
- Basically simulate a device release with the previous tool and a
device press with the new tool to correctly terminate the previous
action.
- Hide the eraser when switching to another tool.
4 years ago
letsfindaway
7d620bdc20
make pointer diameter configurable
4 years ago
letsfindaway
e0c5832200
Disable axes and intermediate lines by default, capture axes
4 years ago
letsfindaway
541083a972
add option to draw intermediate grid lines
4 years ago
letsfindaway
b30b3fd522
add cpp tool to draw a coordinate system
4 years ago
Clément Fauconnier
36a9cdaccd
prevent segfault if strokesgroup is null
4 years ago
Clément Fauconnier
793dec5757
fixed an issue where the application would crash when trying to drag and drop any unexpected object on the thumbnails view
4 years ago
Clément Fauconnier
07eb67ace9
fixed an issue where widget items would not have the correct OperationMode
4 years ago
Clément Fauconnier
3874c9127a
take devicePixelRatio into account when copying a part of a QPixmap (frequently of 2 in macbook and retina displays)
4 years ago
Clément Fauconnier
e2d1594629
removed some code previsously added/uncommented to workaround an issue with desktop mode
4 years ago
Clément Fauconnier
3923b33531
fixed an issue where d'n'd was broken with qt 5.15 or osx >= 10.15 if QMimeData::setUrls was filled with empty urls
4 years ago
Clément Fauconnier
13e498c7b2
fixed label of the colors toolbar
4 years ago
Clément Fauconnier
d30d9862d4
improved last fix + fixed an issue where rename a folder could result broken folders hierarchy
4 years ago
Clément Fauconnier
a3ad10b459
fixed two issues regarding ubx import where import could fail if some folders and files had the same name
4 years ago
Clément Fauconnier
a5bcaf2763
make the text under 'empty My Documents' and 'emty Trash' actions be different
4 years ago
Clément Fauconnier
254d090bae
added an option in the preferences to enable/disable the new pdf optimizations during zoom (just in case some issues may remain, to remove later)
4 years ago
John Papale
76cc3c7fbe
Fixed item capture dialog not displayed.
4 years ago
jpapale
b841793de7
Activated 'maskUpdate' for MAC + QT >= 5.10, which solves MAC desktop
...
issue, where events would not be propagated to apps on the background
(cf https://bugreports.qt.io/browse/QTBUG-81456 ).
4 years ago
jpapale
4293bfa51f
Ported to QT5.9, which fixes 'MAC desktop mode not forwarding events'.
...
Cleanup related to QWebkit.
4 years ago
John Papale
5868e7480a
Made the pdf processing thread be terminated on exit after 3s.
4 years ago
Clément Fauconnier
d0e2523ee6
forgot to remove a return used while debugging
4 years ago
John Papale
b901739ab6
Fixed gcc compile error.
4 years ago
John Papale
a1074cc7d6
Added 'ZoomBehavior=3' (compromise loss vs speed) and 'ZoomBehavior=4' (multithreaded). Made sure pdf image cache is skipped in non GUI cases (ex. exporting pdf).
4 years ago
Clément Fauconnier
d91e92780c
fixed an issue where metadata was not updated correctly in some cases of a page deletion
4 years ago
Clément Fauconnier
505ca347af
renamed and moved XPDF zoom constants to make them more readable and open to further development
4 years ago
John Papale
d5988f979c
Cleanup. Fixed 'Poppler' compile error, since previous commit.
4 years ago
John Papale
0cf3bdde1a
Cleanup comments.
4 years ago
John Papale
8ba6d1b7b2
Made zoom cache behavior configurable with var 'ZoomBehavior' (0 =no cache, 1 =x3 zoom cache, 2 = 2.5/5/10 cache). Cleanup.
4 years ago
John Papale
c860e0b0b7
Made work the (inactive) case !defined XPDFRENDERER_CACHE_ZOOM_IMAGE.
4 years ago
John Papale
9448d193c9
Optimized performance while zooming complex pdf.
4 years ago
Clément Fauconnier
1dbdd90f68
improved import/export behaviors as some documents could be overwritten when they should not
4 years ago
Clément Fauconnier
47446798d8
selected color icon was no longer visible
4 years ago
Clément Fauconnier
e05d686949
setDesktopMode to correct value + uncomment some osx code on an old bug
4 years ago
Clément Fauconnier
3b166d5298
still listen to key press events when focus on Thumbnails view
4 years ago
Clément Fauconnier
45d392219d
potential fix for screenoverlapping
4 years ago
Clément Fauconnier
275096f1f5
prevent focus loose without resizing textbox on each change
4 years ago
Clément Fauconnier
6d2fd84472
ensure grabbed image is properly sized for screen target when screen mirroring is enabled
4 years ago
Clément Fauconnier
c81138d9be
detect scene modifications (object translations for exemple) even if object controls are not visible
4 years ago
Clément Fauconnier
ab74e1d0da
scan document if pagecount metadata contains the value 0, as it could prevent the document to be displayed in the Document Mode (didn't found ways to get into this scenario, but still)
4 years ago