Closed letsfindaway closed 1 year ago
The problematic code is here:
In the error case, downloadError()
is emitted. This signal is however not connected. Instead in all cases downloadFinished()
should be emitted. The pSuccess
parameter indicates whether the download was successful or not.
Looking further, I found the slot UBDownloadManager::onDownloadError()
. This slot however does nothing useful and is also not connected. It should be removed.
Closed as related branch was merged.
When pasting a URL to the board, which leads to an error (e.g. 404), the download dialog stays open on the board. After closing it, all operations involving dragging items are blocked, e.g. resizing, moving or rotating. The debug output of OpenBoard shows the following:
A similar situation occurs when pasting a URL to content with a mime type OpenBoard cannot handle. Here however the download dialog closes automatically: