Giter Site home page Giter Site logo

Comments (12)

veitw avatar veitw commented on August 16, 2024 4

Instead of disabling these notifications, I'd like to propose a shift to this logic:

  1. Notifications are issued only after Nextcloud Client lost connection and did not succeed to re-establish the connection for a reasonable timespan (say; 60 seconds). A user-configurable timespan would be nice.
  2. After a connection has been re-established successfully, Nextcloud Client removes the corresponding notification from the notification stack.
  3. Errors affecting multiple Nextcloud accounts are combined into a single notification.

from desktop.

willemb2 avatar willemb2 commented on August 16, 2024 2

My impression: the client always needed some time to pick up the connection after resume from sleep. But until 3.12.0 or 3.12.1 the only symptom was that it took around 30 sec. for the taskbar icon to become green. For us, that is no problem at all. Nobody manages to edit and save a document in the first 30 sec. after resume.
So the only new behavior is the insistent error notification. It worries and irritates my end users and doesn't help with getting Nextcloud accepted.
BTW I used MS 365 until 2 years ago and the OneDrive client also needed 20-30 sec. after resume from sleep.

from desktop.

Genda1ph avatar Genda1ph commented on August 16, 2024 1

Yup, got RTL8125 here, about 15m run to the router and get IP and DNS via DHCP. I think setting static network config would resolve the issue. Maybe disabling auto-negotiation and hard setting speed to 1Gbps would improve things (NIC supports 2.5G, router is 1G).
And I bet laptop users see the same error.

from desktop.

SerjPo avatar SerjPo commented on August 16, 2024

Confirmed. I have the same issue here on 3.12.0. My network card: Intel I219-V, Win10x64 22H2 fully updated. I connected to router via cable, so there is no Wifi issues here. I suppose network card can't get IP address immediately after awake. It needs couple of seconds for speed auto-negotiation and to get IP. Is it that Nextcloud detects there is no internet during that time? This error isn't raised in previous client versions.

from desktop.

qwertfisch avatar qwertfisch commented on August 16, 2024

I saw the error since about 10 to 14 days ago. On my laptop there was a new Nextcloud installation, so the newest client was installed. On my main tower computer the same message occured since a few days ago, possibly after an automatic update of the client.

I do not leave my computers running but put them in standby, so naturally they will restart / wakeup in no time with an already running Nextcloud client, but the internet connection might need 5 to 10 seconds, especially with WiFi. Even with an Ethernet direct connection the Nextcloud client calls an error immediately after waking up from standby.

This is a regression because I cannot recall having this error (or that much occurence) previously. Or maybe the client was always that quick with the status but never issued a system notification?
Either way, a little extra verification like “was the computer just woken up from standby? If so, wait 15 seconds before alarming everyone about nothing” would be great.

“Just … wait, relax a bit” – you would say to any normal impatient person. Except this is impatient software.

from desktop.

samfuin avatar samfuin commented on August 16, 2024

...still occures with Nextcloud Desktop-Client 3.12.1 never happened on Release 3.11.1

from desktop.

dsebire avatar dsebire commented on August 16, 2024

...still occures with Nextcloud Desktop-Client 3.12.1 never happened on Release 3.11.1

same for me

from desktop.

dominalien avatar dominalien commented on August 16, 2024

This also happens in Linux, in this case Fedora 39. Nextcloud client version 3.12.1. On wake from sleep I get 2 network error notifications, one for each account I presume. So annoying. A second or two later after wifi connects the client works normally.

from desktop.

electrickite avatar electrickite commented on August 16, 2024

I am also experiencing this bug in client version 3.12.3 on Arch Linux. Every time the system starts, wakes from sleep, or I am connected to a network that cannot reach the Nextcloud server, the client creates desktop notifications about network errors. This did not happen in previous client versions.

I would rather have the option to disable network error messages entirely if they are going to be this verbose and misleading. Network connections may not be available at all times and the client should not assume that a missing network connection is an unusual situation. I would much prefer a notification if sync had not occurred in several days or something similar.

from desktop.

ColiZei avatar ColiZei commented on August 16, 2024

This also happens in Linux, in this case Fedora 39. Nextcloud client version 3.12.1. On wake from sleep I get 2 network error notifications, one for each account I presume. So annoying. A second or two later after wifi connects the client works normally.

Same for me.

from desktop.

electrickite avatar electrickite commented on August 16, 2024

I think @willemb2 is spot on - we really just need a way to disable these notifications.

from desktop.

mcnesium avatar mcnesium commented on August 16, 2024

As a workaround, we can completely disable the notification popups in the system settings, if we don't rely on some of them.

For example on Gnome Desktop:

nextcloud-settings

from desktop.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.