https://bugs.kde.org/show_bug.cgi?id=394961

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #2 from [email protected] ---
(In reply to Steffen from comment #0)
> OpenSuse Leap 15.0
> plasma5-pk-updates 0.3.1
> 
> After login KDE i will get a error messages: "Download (curl) error for
> 'http://download.opensuse.org/repositories/KDE:/Extra/openSUSE_Leap_15.0/
> repodata/repomd.xml': Error code: Connection failed Error message: Could not
> resolve host: download.opensuse.org" because the Networkmanager is not
> finish to connect to the wlan network.
> 
> After some try and error I have modify the main.qml File from the plasmoid,
> to give the Networkmanager more time to finish the connection, and now the
> error is gone. 
> 
> --- main.qml.orginal    2018-05-12 18:46:05.000000000 +0200
> +++ main.qml    2018-06-02 17:23:28.368694070 +0200
> @@ -59,6 +59,20 @@
>          }
>      }
>  
> +    Timer {                         //wait on start, to give Networkmanager
> time to make the wlan connection
> +        id: waitonstart
> +        repeat: false
> +        triggeredOnStart: false
> +        interval: 1000*60*2 // 2 Minuten
> +        onTriggered: {
> +        if(!needsForcedUpdate() && batteryAllowed && networkAllowed) {
> +            PkUpdates.checkUpdates(false);
> +        }
> +        timer.start()
> +        }
> +    }
> +    
> +    
>      Binding {
>          target: plasmoid
>          property: "status"
> @@ -95,9 +109,6 @@
>      }
>  
>      Component.onCompleted: {
> -        if(!needsForcedUpdate() && batteryAllowed) {
> -            PkUpdates.checkUpdates(false);
> -        }
> -        timer.start()
> +        waitonstart.start()
>      }
>  }
> 
>  I hope it help to make KDE better :-)

I had the same issue on Leap 15.0. Thanks for sharing the workaround...this was
really bugging me and my KDE is definetely better now :-)

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to