This forum has been archived. All content is frozen. Please use KDE Discuss instead.
The Discussions and Opinions forum is a place for open discussion regarding everything related to KDE, within the boundaries of KDE Code of Conduct. If you have a question or need a solution for a KDE problem, please post in the apppropriate forum instead.

Bezier Clock Live Wallpaper for KDE Plasma 5: please help me

Tags: None
(comma "," separated)
User avatar
EXL
Registered Member
Posts
1
Karma
0
OS
Hi, KDE developers!

I ported Bezier Clock by Jack Frigaard from Processing to Qt Quick/QML live wallpaper for KDE Plasma 5.

Image

Image

Image

https://github.com/EXL/BezierClock

But I encountered with a strange bug in the plasmashell 5.7.3: default configuration settings from file contents/config/mail.xml don't read and don't saved.
But on the plasmashell 5.5.3 all works well!

Please look at my load settings code. Where am I wrong?
Code: Select all
import QtQuick 2.0

import org.kde.plasma.core 2.0 // For wallpaper.configuration

Item {
    property color backgroundColor: wallpaper.configuration.BackgroundColor
    property real visualScaling: wallpaper.configuration.ScalingValue / 10
    property real animDurationUser: wallpaper.configuration.DurationAnim / 100
    property bool continualAnimation: wallpaper.configuration.ContinualAnimation

    property bool showFps: wallpaper.configuration.ShowFps
    property int frameRate: 1000 / wallpaper.configuration.FrameRate

    property color digitColor: wallpaper.configuration.DigitColor
    property int digitWidth: wallpaper.configuration.DigitWidth
    property int digitCap: wallpaper.configuration.DigitCap

    property bool showContinualShadows: wallpaper.configuration.ContinualShadows
    property color digitColorShadow: wallpaper.configuration.ShadowColor
    property int digitWidthShadow: wallpaper.configuration.ShadowWidth

    property bool drawControlLines: wallpaper.configuration.ControlLines
    property color linesColor: wallpaper.configuration.ControlLinesColor
    property color rectColor: wallpaper.configuration.SquaresColor
    property int linesWidth: wallpaper.configuration.LinesWidth
    property int radius: wallpaper.configuration.CirclesRadius

    property bool showDots: wallpaper.configuration.ShowDots
    property bool blinkDots: wallpaper.configuration.BlinkDots
    property int radiusDots: wallpaper.configuration.RadiusDots

    // 1 for Linear
    // 2 for Quadratic
    // 3 for Cubic
    // 4 for Sinuisoidial
    // 5 for No animation
    property int animationType: wallpaper.configuration.AnimationType + 1
}


Thanks!


Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell, Yahoo [Bot]