Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-49299

Add support for StorageItemAccessList for accessing files outside of WinRT sandbox

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Won't Do
    • Icon: P3: Somewhat important P3: Somewhat important
    • Some future release
    • 5.9.0 Beta 4
    • Core: I/O
    • None
    • WinRT, Windows Phone 8.1 and later

    • WinRT

      Currently the file and folder pickers for WinRT/Windows Phone do not provide means to keep file/folder access permissions after application restart. This is a big bummer for WinRT/WinPhone applications.

      WinRT provides StorageItemAccessList/FutureAccessList functionality to keep the permissions. The number of permissions is currently limited by 1000.

      Each file permission is referenced by a string token. So we either need to get access to the IStorageFile/IStorageFolder returned from the picker dialog (QFileDialog) and manually extract the token in the application, or provide an argument to add the picked file/folder to the FutureAccessList and return the string token.

      Further it is required to somehow get a QFile from the token.

      [1] https://msdn.microsoft.com/en-us/library/windows/apps/windows.storage.accesscache.storageitemaccesslist

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            owolff Oliver Wolff
            DanielSt Peter Staab
            Veli-Pekka Heinonen Veli-Pekka Heinonen
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes