Skip to content

Draft: Manage new files from QFile::copy method

When using the "move" method in content-hub, for some reason it fails at the QFile::rename method and use QFile::copy as a fall back (https://gitlab.com/ubports/core/content-hub/-/blob/ubports/xenial/import/Ubuntu/Content/contentitem.cpp#L229)

QFile::copy don't emit CLOSE_WRITE inotify event in the destination file but instead use CREATE + ATTRIB.

The idea is to be able to handle that use case. Fix https://gitlab.com/ubports/apps/music-app/-/issues/78 Fix https://github.com/ubports/ubuntu-touch/issues/1766

Fixes #1

Edited by Lionel Duboeuf

Merge request reports