Skip to content

PlasmaExtras.Highlight is not a type #1

Description

@tvvoty

The plugin wouldn't work throwing something along the lines of "Sorry. Error. PlasmaExtras.Highlight is not a type. /home/USER/.local/share/plasma/plasmoids/org.nielsvm.plasma.menupager/contents/ui/main.qml" or something like that. It's probably just a 5.24.7 (and older) version problem, since I tried it on my laptop with a newer plasma and it worked fine. So it probably doesn't need fixing since older versions aren't officially supported and older plasma versions will soon be deprecated for the most part, but case anybody still runs an older version (for example Kubuntu LTS like me) and comes here looking for a solution, you can fix it by deleting this block of code

property Item delegateHighlight: PlasmaExtras.Highlight {
            id: delegateHighlight
            parent: null
            width: parent ? parent.width : undefined
            height: parent ? parent.height : undefined
            hovered: parent && parent.containsMouse
            z: -1 // raise to prevent tinted font color.
        }

in the file
/home/USER/.local/share/plasma/plasmoids/org.nielsvm.plasma.menupager/contents/ui/main.qml

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions