Coder Social home page Coder Social logo

ubports / ubuntu-download-manager Goto Github PK

View Code? Open in Web Editor NEW
0.0 7.0 2.0 9.11 MB

Moved to https://gitlab.com/ubports/core/lomiri-download-manager

Home Page: https://gitlab.com/ubports/core/lomiri-download-manager

License: GNU Lesser General Public License v3.0

CMake 3.33% C++ 96.23% C 0.15% Shell 0.06% Python 0.23%

ubuntu-download-manager's People

Contributors

cibersheep avatar cjwatson avatar diegosarmentero avatar dobey avatar elleo avatar flohack74 avatar kenvandine avatar lool avatar mariogrip avatar sergiusens avatar sil2100 avatar vanyasem avatar warsaw avatar z3ntu avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

ubuntu-download-manager's Issues

downoad manager creates garbage logfiles

Something is wrong with the logfile creation in download manager:
grafik
The files cannot be extracted from a tgz archive anymore since they also have invalid datetimes

Unknown option 'qt'

I get this error when building on Arch GNU/Linux (amd64)

Unknown option 'qt'.
make[2]: *** [docs/qml/CMakeFiles/qmldoc.dir/build.make:58: docs/qml/CMakeFiles/qmldoc] Error 1
make[1]: *** [CMakeFiles/Makefile2:4153: docs/qml/CMakeFiles/qmldoc.dir/all] Error 2

The troubling options resides in docs/qml/CMakeLists.txt on line 6.

The issue is related to qdoc: /usr/bin/qdoc -qt=qt5

dbus-test-runner binary not found

I get this warning when building on Arch GNU/Linux (amd64)

CMake Warning at tests/downloads/qml/CMakeLists.txt:90 (message):
  dbus-test-runner binary not found tests will be disabled

dbus-test-runner is installed and is in $PATH

If no network, Single Download cannot be cancelled

Having SingleDownload{}

  • Disconnect internet connection
  • trigger download
  • after having no network error i.e. NetworkError: 3 - Host [].org not found, cancel() the download

downloading = true (should be false)
downloadInProgress = true (should be true?)

Cannot locate new Gmock

I get this error while building on Arch GNU/Linux (amd64):

CMake Error at cmake/modules/FindGtest.cmake:18 (message):
  google-mock package not found

Gmock and Gtest are installed. Mir is able to detect their existence.

I assume that this commit in Mir canonical/mir@e7bbc0f introduced support for it.

301 Protocol "blob" is unknown

Download of content (i.e. images from web.telegram.org, «exported» images from photopea.com, etc) starts to download but content is not handled / accessible.

How to reproduce:

  1. Go to photopea.com
  2. open an image or create a blank project
  3. File > export as > png and save
  4. Choose Download
    Result:
    xxx-xxxx-xxxxx
    blob:https://www.photopea.com/xxx-xxxxx-xxxxx
    NetworkError: 301 - Protocol "blob" is unkonw

Expected result:
Let user to decide what to do with blob info

Deprecation warning with Qt 5.15

/home/pmos/build/src/ubuntu-download-manager-6d1d305da3f6e9c3bfba278fb7268b80c48ef7fd/src/common/public/ubuntu/transfers/metadata.cpp: In member function 'QVariantMap Ubuntu::Transfers::Metadata::custom() const':
/home/pmos/build/src/ubuntu-download-manager-6d1d305da3f6e9c3bfba278fb7268b80c48ef7fd/src/common/public/ubuntu/transfers/metadata.cpp:217:48: error: 'QList<T> QMap<K, V>::values(const Key&) const [with Key = QString; T = QVariant]' is deprecated: Use QMultiMap for maps storing multiple values with the same key. [-Werror=deprecated-declarations]
  217 |             custom.insert(customKey, values(key)[0]);
      |                                                ^
In file included from /usr/include/QtCore/QMap:1,
                 from /home/pmos/build/src/ubuntu-download-manager-6d1d305da3f6e9c3bfba278fb7268b80c48ef7fd/src/common/public/ubuntu/transfers/metadata.h:22,
                 from /home/pmos/build/src/ubuntu-download-manager-6d1d305da3f6e9c3bfba278fb7268b80c48ef7fd/src/common/public/ubuntu/transfers/metadata.cpp:22:
/usr/include/QtCore/qmap.h:1356:10: note: declared here
 1356 | QList<T> QMap<Key, T>::values(const Key &key) const
      |          ^~~~~~~~~~~~
cc1plus: all warnings being treated as errors

I'll likely fix it quite soon

Downloads directory is not emptied

Downloading file with a SingleDownload{} element will add downloaded elements in ~/.local/share/ubuntu-download-manager/[App Name]/Downloads/ without a way of empty the directory

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.