Clément Fauconnier
1a0c45b7d6
call processEvents instead of flush (flush has no effect on mac)
3 years ago
Clément Fauconnier
22acd9888a
fixed a bug where by calling createDefaultFont at every UBGraphicsTextItem instanciation, some fonts styles could be overridden
3 years ago
Clément Fauconnier
8216d2e9c6
insertthumbpage in board mode only if the same document is selected in both modes
3 years ago
Clément Fauconnier
827f5a514c
reload board thumnails after adding a file to the document if the document is also selected in board
3 years ago
Clément Fauconnier
76cfee3dc5
don't reload thumbnails everytime documentscenechanged is called + reload after duplicate in Board Mode
3 years ago
Clément Fauconnier
141c48e20d
fixed an issue where reload thumbnails would be called twice with the second call not using the good source container
3 years ago
letsfindaway
cea9920003
fix: coordinates when display screen is left of control screen
...
- fix usage of global coordinates where local coordinates are required
- show widget before changing geometry (necessary in some environments)
3 years ago
Clément Fauconnier
e33fc007c7
prevent a crash when clearBackground then undo then redo then clearBackground
3 years ago
letsfindaway
136297d695
fix: cursow shown on a ruler using pen tool
...
- when using the pen tool on a ruler the "normal" cursor was shown
- instead the special drawRulerLine cursor should be shown
- UBGraphicsScene::drawPenCircle update cursor only with no active ruler
3 years ago
Clément Fauconnier
7e83f910ca
restore call to QGraphicsView::mouseMoveEvent if drawing mode and not pressed
3 years ago
Clément Fauconnier
af52add371
remove unused slot
3 years ago
Clément Fauconnier
ac43610fb6
fixed other issues regarding thumbnails. A lot of issues were hidden by the fact that we were regenerating everything, almost everytime an action would imply a change in thumbnails
3 years ago
Clément Fauconnier
bfcaace42e
fixed a lot of issues regarding thumbnails
3 years ago
Clément Fauconnier
002a5fefc6
ruler and triangle were no longer receiving mouse move events
3 years ago
Clément Fauconnier
6504c42e75
fixed an issue where mSelectedThumbnail could become inconsistent + fixed an issue where a blank page would be added while importing the same document again and again
3 years ago
Clément Fauconnier
bd41d79731
fixed an issue where long time press could be triggered if the 'persist document' operations would take longer than the timeout defined for longPressTimer
3 years ago
Clément Fauconnier
937b031d6e
improved thumbnails handling as they could be re-generated 2-3 times with no reason. Huge performance issue in a network-storage context, especially with large files
3 years ago
Clément Fauconnier
d56c61cb5c
fixed a typo preventing old keyboard from launching
3 years ago
Clément Fauconnier
7466b60778
at the same level, a document and a folder can share the same name
3 years ago
Clément Fauconnier
398e940c3b
use new assistive control app when using system virtual keyboard on osx >= 10.15
3 years ago
Clément Fauconnier
d8c9ebf46f
call treeViewSelectionChanged just once
3 years ago
Clément Fauconnier
50b1b3af8a
don't reload thumbnails every time a thumbnail is added
3 years ago
letsfindaway
f7974f0b33
fix: resizing of palettes in UBBoardPaletteManager
3 years ago
letsfindaway
8803239d84
fix: subtract margin from boundingRect in UBSvgSubsetAdaptor
3 years ago
Clément Fauconnier
ebae317723
change mode of magnifier on display view too
3 years ago
Clément Fauconnier
b43ffa4609
don't call showFullScreen if numscreens == 1 (not even sure why showFullScreen would have to be called here...)
3 years ago
Clément Fauconnier
5a8b0a1117
fixed deselect all on autosave
3 years ago
Clément Fauconnier
4239437c53
changed deprecated qtsingleapplication for singleapplication. github : https://github.com/itay-grudev/SingleApplication
3 years ago
Clément Fauconnier
edf2245ae7
fixed an issue where all items would be deselected except one but selection frame not updated
3 years ago
Clément Fauconnier
d2ab0e0962
strokes group should be moved if tool is play or (selection & item not selected)
3 years ago
Clément Fauconnier
ee4e283074
make trash icons more explicit
3 years ago
Clément Fauconnier
0f9196f5e5
remove bookmark settings (no longer used)
3 years ago
Clément Fauconnier
4c95514a1a
QGraphicsView::mouseMoveEvent should be called if tool is selector or play but mouse not pressed
3 years ago
Clément Fauconnier
ba1bef4ab3
(should not happen but) prevent segfault if itemDelegate is null
3 years ago
Clément Fauconnier
a76d0d85c1
fixed an issue where eraseBackground then undo would make a PDF being partly attached as a background and behave as an object
3 years ago
Clément Fauconnier
cb5d2dba18
fixed an issue where toggling right palette would put the tools and area in an inconsistent state
3 years ago
Clément Fauconnier
60bed975fd
fixed an issue where reloadThumbnails & treeviewSelectionChanged would be called every time a page is deleted ! Resulting on really poor performances for the deletion operation, even in a crash, if trying with a lot of pages.
3 years ago
Clément Fauconnier
ec5f202ef1
always verify movingItem is not null + don't call QGraphicsView::mouseMoveEvent if movingItem is null + don't display grey rectangle with the magic finger
3 years ago
Clément Fauconnier
986cbd60ab
adjust name using selected index when a folder is selected
3 years ago
Clément Fauconnier
61721b7f3b
clear the error message after displaying it as it prevents any attempt to play the media if mError is not empty !
3 years ago
Clément Fauconnier
fe06bdf1df
same behavior for document naming as for folder naming
3 years ago
Clément Fauconnier
05b6bf87b3
forbid deletion if all pages are selected
3 years ago
Clément Fauconnier
cd4a66f90c
fixed an issue where font style would not be persisted correctly
3 years ago
Clément Fauconnier
b3692061a5
fixed an issue where erase a stroke then clear the scene before changing page would cause a crash
3 years ago
Clément Fauconnier
1cb97a8f85
call adjust displayView when centering on last center
3 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
.
3 years ago
Clément Fauconnier
43f2aba2cc
persist metadata when docs are renamed by the replace dialog
3 years ago
Clément Fauconnier
c9826bbe6b
folders still need to be removed
3 years ago
Clément Fauconnier
30087bb34d
fixed a crash that would randomly occur when performing multiple deletion inside the trash
3 years ago
Clément Fauconnier
476d8768ee
don't call documentThumbnailsUpdated every time + set current document to null if it is about to be deleted
3 years ago