D28402: Summary:Provide ability to configure size cut-off for local file previews

Gaston Haro noreply at phabricator.kde.org
Sun Mar 29 12:28:39 BST 2020


harogaston created this revision.
Herald added a project: Dolphin.
Herald added a subscriber: kfm-devel.
harogaston requested review of this revision.

TEST PLAN
  1 - Set up a local folder with 2 jpg images of less and more than 1 MB respectively.
  2 - Go to Dolphin Preferences. General -> Previews and check "JPEG Images" from
  
    the list. Check "Local files" and set "Skip previews for files above:" to 1MB.
  
  3 - Navigate to afore mentioned folder. Only the image of size less than 1 MB should
  
    show a preview.
  
  BUG: 331240

REPOSITORY
  R318 Dolphin

BRANCH
  gui-setting-to-limit-local-file-preview (branched from master)

REVISION DETAIL
  https://phabricator.kde.org/D28402

AFFECTED FILES
  src/kitemviews/kfileitemmodelrolesupdater.cpp
  src/kitemviews/kfileitemmodelrolesupdater.h
  src/settings/general/previewssettingspage.cpp
  src/settings/general/previewssettingspage.h

To: harogaston
Cc: kfm-devel, nikolaik, pberestov, iasensio, fprice, fbampaloukas, alexde, Codezela, feverfew, meven, spoorun, navarromorales, firef, ngraham, andrebarros, emmanuelp, mikesomov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20200329/ca7ab260/attachment.htm>


More information about the kfm-devel mailing list