Skip to content

"Enable Previews" config option should default to "false" #6550

Closed

Description

@giovanisp

After some discussion on the Raspberry Pi forum about OwnCloud 6 hanging the CPU after the update from 5.0.13 (and solved disabling the OpenOffice thumbnail previews in the conf file -- 'enable_previews' => false, -- http://www.raspberrypi.org/phpBB3/viewtopic.php?f=36&t=63818&p=472631#p472631), I suggest that this become an option within the admin page and defaults to "false" (thumbs preview disabled) so less powerful systems (specially Raspberry Pi that is a good candidate for small personal clouds) can run it with super performance. More advanced users can enable many more using the admin page in a progressive-disclosure method.

Activity

  1. karlitschek commented on Dec 23, 2013

    @karlitschek
    Contributor

    Hmm. Not sure about that. 99% of all computer should be powerful enough for that. And for the others we introduced this config switch you mentioned.

  2. DeepDiver1975 commented on Dec 23, 2013

    @DeepDiver1975
    Contributor

    More advanced users can enable many more using the admin page in a progressive-disclosure method.

    More advanced users can disable thumbnail generation in the configuration.

  3. giovanisp commented on Dec 23, 2013

    @giovanisp
    Author

    @karlitschek agree about the computer power. In fact Raspberry Pi is probably part of the 1% computer power you mentioned, along with Arduino's and alikes (not counting 3rd world countries of course). I don't know however how much % of ownCloud users are running ownCloud on these for a personal cloud (instead of running a full server at their homes). The Raspberry Pi forum however contains a lot of those ;-)

    @DeepDiver1975 not sure it goes in the direction of progressive disclosure for usability (in my opinion the core feature is to have a fast sync process, thumbnails previews slow them): http://www.nngroup.com/articles/progressive-disclosure/

    "Initially, show users only a few of the most important options.
    Offer a larger set of specialized options upon request. Disclose these secondary features only if a user asks for them, meaning that most users can proceed with their tasks without worrying about this added complexity.
    [...]
    You might assume that by initially focusing users' attention on a few core features, they might build a limiting mental model of the system and thus be unable to understand all of their options. Research says that these are groundless worries: people understand a system better when you help them prioritize features and spend more time on the most important ones."

    But again, is all a matter of Product Strategy, about who are the main targets of ownCloud ;-) That's surely up to you (as well as deciding if thumbs preview resources reqs are worth for a primary or secondary feature-level, within the whole owncloud featureset, bookmarks, contacts, calendar,...) mine was only a user suggestion. Thanks for your time reading this anyway. Glad to use OC everyday thanks to you.

  4. karlitschek commented on Dec 24, 2013

    @karlitschek
    Contributor

    @giovanisp Yes. The question of the right defaults is always difficult. But we decided to have this switched on by default which should be really fast enough for most computers. I even think that it shouldn't be super bad on a raspberry pi. Might be a challenge if you have a lot of big images. But the thumbnails are cached so the generation only happens once.

  5. ferdiga commented on Sep 2, 2014

    @ferdiga

    Hello
    setting
    'preview_libreoffice_path' => '/usr/lib/libreoffice/program/soffice'
    degrades web-performance to "unusable"
    after setting
    'enable_previews' => false,
    performance was back again

  6. locked as resolved and limited conversation to collaborators on Aug 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions