Skip to content

[Bug]: Configuration screen does not allow setting polling interval to less than 30 seconds #8479

@jonasof

Description

@jonasof

⚠️ Before submitting, please verify the following: ⚠️

Bug description

Configuration screen does not allow setting polling interval to less than 30 seconds.

I see is possible to set a polling interval down to 5 seconds using the config file, but the UI only allows a minimum of 30 seconds.

Even by writing 5000ms in the configuration file, the screen keep showing 30 seconds.

I suppose that minimum shown in the General tab is hardcoded in this line: https://github.com/nextcloud/desktop/pull/7926/files#diff-065267e8e617e9101395f03602d2958e1ba98322527e550744161edf0673580aR212
...

Steps to reproduce

  1. Click General settings
  2. In the Server poll interval try to input "5", press tab
  3. The value is not accepted

Or:

  1. edit nextcloud.cfg file
  2. set [Nextcloud] remotePollInterval=5000
  3. save file
  4. start nextcloud client
  5. click General settings
  6. value "30" is shown at poll interval, even if internally it's running with 5s interval
    ...

Expected behavior

The minimum poll interval in the interface should be 5 seconds, which seems to be what the desktop client accepts internally.
...

Which files are affected by this bug

Operating system

Linux

Which version of the operating system you are running.

Ubuntu 24 / Windows 10

Package

Distro package manager

Nextcloud Server version

31.0.6

Nextcloud Desktop Client version

3.16.6daily (Ubuntu)

Is this bug present after an update or on a fresh install?

Fresh desktop client install

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

Are you using an external user-backend?

  • Default internal user-backend
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Nextcloud Server logs

Additional info

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions