Slow, Unresponsive,Gui errors, segfault

Bug #1573994 reported by moacir
40
This bug affects 7 people
Affects Status Importance Assigned to Milestone
plasma-discover (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Clean install
Kubuntu 16.04, released 04/21/2016.
muondiscover 5.6.2
Language: Brazilian Portuguese

1- Gui is really unresponsive
2- Text on gui are out of space.
Attached print screen

Execute "plasma-discover --listmodes" from console:
-What you expected to happen
Show Modes
- What happened instead
 Segmentation Fault

2-Execute "plasma-discover" from console:
-What you expected to happen
Show normal output, with no sort errors, no ratings erros, no gui problems.
-What happened instead
log_attica_plugin: Loaded paths from config: (QUrl("http://download.kde.org/ocs/providers.xml"))
knewstuff: Initializing KNS3::Engine from ' "/etc/xdg/comic.knsrc" '
knewstuff: Loading KNewStuff3 config: "/etc/xdg/comic.knsrc"
knewstuff: Categories: ("Plasma Comic")
knewstuff: Using registry file: "/home/myuser/.local/share/knewstuff3/.knsregistry"
knewstuff: Loading KNS2 registry of files for the component: ""
knewstuff: Cache read... entries: 0
knewstuff: loading providers from "http://download.kde.org/ocs/providers.xml"
knewstuff: XmlLoader::load(): url: QUrl("http://download.kde.org/ocs/providers.xml")
log_attica_plugin: Loaded paths from config: (QUrl("http://download.kde.org/ocs/providers.xml"))
knewstuff: Initializing KNS3::Engine from ' "/etc/xdg/plasmoids.knsrc" '
knewstuff: Loading KNewStuff3 config: "/etc/xdg/plasmoids.knsrc"
knewstuff: Categories: ("Plasma 5 Plasmoid")
knewstuff: Loading KNS2 registry of files for the component: ""
knewstuff: Cache read... entries: 0
knewstuff: loading providers from "http://download.kde.org/ocs/providers.xml"
knewstuff: XmlLoader::load(): url: QUrl("http://download.kde.org/ocs/providers.xml")
log_attica_plugin: Loaded paths from config: (QUrl("http://download.kde.org/ocs/providers.xml"))
knewstuff: XmlLoader::slotJobData()
knewstuff: XmlLoader::slotJobData()
knewstuff: --Xml Loader-START--
knewstuff: "<providers>\n\n<provider>\n <id>opendesktop</id>\n <location>https://api.opendesktop.org/v1/</location>\n <name>openDesktop.org</name>\n <icon></icon>\n <termsofuse>https://opendesktop.org/terms/</termsofuse>\n <register>https://opendesktop.org/usermanager/new.php</register>\n <services>\n <person ocsversion=\"1.3\" />\n <friend ocsversion=\"1.3\" />\n <message ocsversion=\"1.3\" />\n <activity ocsversion=\"1.3\" />\n <content ocsversion=\"1.3\" />\n <fan ocsversion=\"1.3\" />\n <knowledgebase ocsversion=\"1.3\" />\n <event ocsversion=\"1.3\" />\n </services>\n</provider>\n\n</providers>\n"
knewstuff: --Xml Loader-END--
knewstuff: slotProvidersLoaded
knewstuff: Provider attributes: ""
log_attica_plugin: No credentials found
knewstuff: Engine addProvider called with provider with id "https://api.opendesktop.org/v1/"
knewstuff: XmlLoader::slotJobData()
knewstuff: XmlLoader::slotJobData()
log_attica_plugin: No credentials found
knewstuff: --Xml Loader-START--
knewstuff: "<providers>\n\n<provider>\n <id>opendesktop</id>\n <location>https://api.opendesktop.org/v1/</location>\n <name>openDesktop.org</name>\n <icon></icon>\n <termsofuse>https://opendesktop.org/terms/</termsofuse>\n <register>https://opendesktop.org/usermanager/new.php</register>\n <services>\n <person ocsversion=\"1.3\" />\n <friend ocsversion=\"1.3\" />\n <message ocsversion=\"1.3\" />\n <activity ocsversion=\"1.3\" />\n <content ocsversion=\"1.3\" />\n <fan ocsversion=\"1.3\" />\n <knowledgebase ocsversion=\"1.3\" />\n <event ocsversion=\"1.3\" />\n </services>\n</provider>\n\n</providers>\n"
knewstuff: --Xml Loader-END--
knewstuff: slotProvidersLoaded
knewstuff: Provider attributes: ""
log_attica_plugin: No credentials found
knewstuff: Engine addProvider called with provider with id "https://api.opendesktop.org/v1/"
knewstuff: providerInitialized "openDesktop.org"
knewstuff: providers loaded
knewstuff: providerInitialized "openDesktop.org"
knewstuff: providers loaded
knewstuff: loaded page 0 current page 0
knewstuff: "0,,,0,100" add: 37 keys: ("0,,,0,100")
knewstuff: loaded page 1 current page 1
knewstuff: "0,,,1,100" add: 0 keys: ("0,,,0,100", "0,,,1,100")
qrc:/qml/CategoryDisplay.qml:76: TypeError: Cannot read property 'rating' of null
qrc:/qml/CategoryDisplay.qml:76: TypeError: Cannot read property 'rating' of null
qrc:/qml/CategoryDisplay.qml:76: TypeError: Cannot read property 'rating' of null
qrc:/qml/CategoryDisplay.qml:76: TypeError: Cannot read property 'rating' of null
qrc:/qml/CategoryDisplay.qml:76: TypeError: Cannot read property 'rating' of null
qrc:/qml/CategoryDisplay.qml:60: TypeError: Cannot read property 'sortableRating' of null
qrc:/qml/CategoryDisplay.qml:60: TypeError: Cannot read property 'sortableRating' of null
qrc:/qml/CategoryDisplay.qml:60: TypeError: Cannot read property 'sortableRating' of null
qrc:/qml/CategoryDisplay.qml:60: TypeError: Cannot read property 'sortableRating' of null
qrc:/qml/CategoryDisplay.qml:60: TypeError: Cannot read property 'sortableRating' of null
knewstuff: loaded page 0 current page 0
knewstuff: "0,,,0,100" add: 100 keys: ("0,,,0,100", "0,,,1,100")
knewstuff: loaded page 1 current page 1
knewstuff: "0,,,1,100" add: 88 keys: ("0,,,0,100", "0,,,1,100")
knewstuff: loaded page 2 current page 2
knewstuff: "0,,,2,100" add: 0 keys: ("0,,,0,100", "0,,,2,100", "0,,,1,100")
qrc:/qml/CategoryDisplay.qml:76: TypeError: Cannot read property 'rating' of null
qrc:/qml/CategoryDisplay.qml:76: TypeError: Cannot read property 'rating' of null
qrc:/qml/CategoryDisplay.qml:76: TypeError: Cannot read property 'rating' of null
qrc:/qml/CategoryDisplay.qml:76: TypeError: Cannot read property 'rating' of null
qrc:/qml/CategoryDisplay.qml:76: TypeError: Cannot read property 'rating' of null
qrc:/qml/CategoryDisplay.qml:76: TypeError: Cannot read property 'rating' of null
qrc:/qml/CategoryDisplay.qml:76: TypeError: Cannot read property 'rating' of null
qrc:/qml/CategoryDisplay.qml:76: TypeError: Cannot read property 'rating' of null
qrc:/qml/CategoryDisplay.qml:76: TypeError: Cannot read property 'rating' of null
qrc:/qml/CategoryDisplay.qml:76: TypeError: Cannot read property 'rating' of null
qrc:/qml/CategoryDisplay.qml:76: TypeError: Cannot read property 'rating' of null
qrc:/qml/CategoryDisplay.qml:76: TypeError: Cannot read property 'rating' of null
qrc:/qml/CategoryDisplay.qml:76: TypeError: Cannot read property 'rating' of null
qrc:/qml/CategoryDisplay.qml:76: TypeError: Cannot read property 'rating' of null
qrc:/qml/CategoryDisplay.qml:76: TypeError: Cannot read property 'rating' of null
qrc:/qml/CategoryDisplay.qml:76: TypeError: Cannot read property 'rating' of null
qrc:/qml/CategoryDisplay.qml:76: TypeError: Cannot read property 'rating' of null
qrc:/qml/CategoryDisplay.qml:76: TypeError: Cannot read property 'rating' of null
qrc:/qml/CategoryDisplay.qml:76: TypeError: Cannot read property 'rating' of null
qrc:/qml/CategoryDisplay.qml:76: TypeError: Cannot read property 'rating' of null
qrc:/qml/CategoryDisplay.qml:76: TypeError: Cannot read property 'rating' of null
qrc:/qml/CategoryDisplay.qml:76: TypeError: Cannot read property 'rating' of null
qrc:/qml/CategoryDisplay.qml:76: TypeError: Cannot read property 'rating' of null
qrc:/qml/CategoryDisplay.qml:76: TypeError: Cannot read property 'rating' of null
qrc:/qml/CategoryDisplay.qml:76: TypeError: Cannot read property 'rating' of null
qrc:/qml/CategoryDisplay.qml:76: TypeError: Cannot read property 'rating' of null
qrc:/qml/CategoryDisplay.qml:76: TypeError: Cannot read property 'rating' of null
qrc:/qml/CategoryDisplay.qml:76: TypeError: Cannot read property 'rating' of null
qrc:/qml/CategoryDisplay.qml:76: TypeError: Cannot read property 'rating' of null
qrc:/qml/CategoryDisplay.qml:76: TypeError: Cannot read property 'rating' of null
qrc:/qml/CategoryDisplay.qml:60: TypeError: Cannot read property 'sortableRating' of null
qrc:/qml/CategoryDisplay.qml:60: TypeError: Cannot read property 'sortableRating' of null
qrc:/qml/CategoryDisplay.qml:60: TypeError: Cannot read property 'sortableRating' of null
qrc:/qml/CategoryDisplay.qml:60: TypeError: Cannot read property 'sortableRating' of null
qrc:/qml/CategoryDisplay.qml:60: TypeError: Cannot read property 'sortableRating' of null
qrc:/qml/CategoryDisplay.qml:60: TypeError: Cannot read property 'sortableRating' of null
qrc:/qml/CategoryDisplay.qml:60: TypeError: Cannot read property 'sortableRating' of null
qrc:/qml/CategoryDisplay.qml:60: TypeError: Cannot read property 'sortableRating' of null
qrc:/qml/CategoryDisplay.qml:60: TypeError: Cannot read property 'sortableRating' of null
qrc:/qml/CategoryDisplay.qml:60: TypeError: Cannot read property 'sortableRating' of null
qrc:/qml/CategoryDisplay.qml:60: TypeError: Cannot read property 'sortableRating' of null
qrc:/qml/CategoryDisplay.qml:60: TypeError: Cannot read property 'sortableRating' of null
qrc:/qml/CategoryDisplay.qml:60: TypeError: Cannot read property 'sortableRating' of null
qrc:/qml/CategoryDisplay.qml:60: TypeError: Cannot read property 'sortableRating' of null
qrc:/qml/CategoryDisplay.qml:60: TypeError: Cannot read property 'sortableRating' of null
qrc:/qml/CategoryDisplay.qml:60: TypeError: Cannot read property 'sortableRating' of null
qrc:/qml/CategoryDisplay.qml:60: TypeError: Cannot read property 'sortableRating' of null
qrc:/qml/CategoryDisplay.qml:60: TypeError: Cannot read property 'sortableRating' of null
qrc:/qml/CategoryDisplay.qml:60: TypeError: Cannot read property 'sortableRating' of null
qrc:/qml/CategoryDisplay.qml:60: TypeError: Cannot read property 'sortableRating' of null
qrc:/qml/CategoryDisplay.qml:60: TypeError: Cannot read property 'sortableRating' of null
qrc:/qml/CategoryDisplay.qml:60: TypeError: Cannot read property 'sortableRating' of null
qrc:/qml/CategoryDisplay.qml:60: TypeError: Cannot read property 'sortableRating' of null
qrc:/qml/CategoryDisplay.qml:60: TypeError: Cannot read property 'sortableRating' of null
qrc:/qml/CategoryDisplay.qml:60: TypeError: Cannot read property 'sortableRating' of null
qrc:/qml/CategoryDisplay.qml:60: TypeError: Cannot read property 'sortableRating' of null
qrc:/qml/CategoryDisplay.qml:60: TypeError: Cannot read property 'sortableRating' of null
qrc:/qml/CategoryDisplay.qml:60: TypeError: Cannot read property 'sortableRating' of null
qrc:/qml/CategoryDisplay.qml:60: TypeError: Cannot read property 'sortableRating' of null
qrc:/qml/CategoryDisplay.qml:60: TypeError: Cannot read property 'sortableRating' of null
qrc:/qml/CategoryDisplay.qml:60: TypeError: Cannot read property 'sortableRating' of null
qrc:/qml/CategoryDisplay.qml:60: TypeError: Cannot read property 'sortableRating' of null
qrc:/qml/CategoryDisplay.qml:60: TypeError: Cannot read property 'sortableRating' of null
qrc:/qml/CategoryDisplay.qml:60: TypeError: Cannot read property 'sortableRating' of null
qrc:/qml/CategoryDisplay.qml:60: TypeError: Cannot read property 'sortableRating' of null
qrc:/qml/CategoryDisplay.qml:60: TypeError: Cannot read property 'sortableRating' of null
qrc:/qml/CategoryDisplay.qml:60: TypeError: Cannot read property 'sortableRating' of null
qrc:/qml/CategoryDisplay.qml:60: TypeError: Cannot read property 'sortableRating' of null
qrc:/qml/CategoryDisplay.qml:60: TypeError: Cannot read property 'sortableRating' of null
qrc:/qml/CategoryDisplay.qml:60: TypeError: Cannot read property 'sortableRating' of null
qrc:/qml/CategoryDisplay.qml:60: TypeError: Cannot read property 'sortableRating' of null
qrc:/qml/CategoryDisplay.qml:60: TypeError: Cannot read property 'sortableRating' of null
qrc:/qml/CategoryDisplay.qml:60: TypeError: Cannot read property 'sortableRating' of null
qrc:/qml/CategoryDisplay.qml:60: TypeError: Cannot read property 'sortableRating' of null
qrc:/qml/CategoryDisplay.qml:60: TypeError: Cannot read property 'sortableRating' of null
qrc:/qml/CategoryDisplay.qml:60: TypeError: Cannot read property 'sortableRating' of null
qrc:/qml/CategoryDisplay.qml:60: TypeError: Cannot read property 'sortableRating' of null
qrc:/qml/CategoryDisplay.qml:60: TypeError: Cannot read property 'sortableRating' of null
qrc:/qml/CategoryDisplay.qml:60: TypeError: Cannot read property 'sortableRating' of null
qrc:/qml/CategoryDisplay.qml:60: TypeError: Cannot read property 'sortableRating' of null
qrc:/qml/CategoryDisplay.qml:60: TypeError: Cannot read property 'sortableRating' of null
qrc:/qml/CategoryDisplay.qml:60: TypeError: Cannot read property 'sortableRating' of null
qrc:/qml/CategoryDisplay.qml:60: TypeError: Cannot read property 'sortableRating' of null
qrc:/qml/CategoryDisplay.qml:60: TypeError: Cannot read property 'sortableRating' of null
qrc:/qml/CategoryDisplay.qml:60: TypeError: Cannot read property 'sortableRating' of null
qrc:/qml/CategoryDisplay.qml:60: TypeError: Cannot read property 'sortableRating' of null
qrc:/qml/CategoryDisplay.qml:60: TypeError: Cannot read property 'sortableRating' of null
qrc:/qml/CategoryDisplay.qml:60: TypeError: Cannot read property 'sortableRating' of null
qrc:/qml/CategoryDisplay.qml:60: TypeError: Cannot read property 'sortableRating' of null
qrc:/qml/CategoryDisplay.qml:60: TypeError: Cannot read property 'sortableRating' of null
knewstuff: Write registry
knewstuff: Write registry

Thanks

Revision history for this message
moacir (moacirrf) wrote :
Revision history for this message
moacir (moacirrf) wrote :

kubuntu-16.04-desktop-amd64

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in plasma-discover (Ubuntu):
status: New → Confirmed
Revision history for this message
moacir (moacirrf) wrote :

Im sorry for write here....
Can you tell me where i found source code of plasma-discover?
Thanks

Revision history for this message
Matthias Klumpp (ximion) wrote :

Ensure you have the source-package sources enabled ("deb-src" lines in /etc/apt/sources.list)
Then run
```
apt source plasma-discover
```
to obtain the sources.

Revision history for this message
Aleix Pol (aleixpol-kde) wrote :

This is fixed in the stable branch and should get on your systems soon.

Revision history for this message
moacir (moacirrf) wrote :

Matthias Klumpp and Aleix Pol.

Thanks for reply, i will wait until receive the update.

I made a clone on https://github.com/KDE/discover, master branch.
Compile and install
Run plasma-discover
I receive an error
qrc:/qml/FeaturedImage.qml:3:1: QML FeaturedImage: Binding loop detected for property "isCurrentItem"

So i open FeaturedModel.qml
And comment function
 ....
   function getFeatured(data) {
      return
      /*
        if(data==null)
            return

        for(var packageName in data) {
            var currentData = data[packageName]
            model.append({
                "text": alternateIfNull(currentData.text, currentData.package),
                "color": alternateIfNull(currentData.color, "red"),
                "image": currentData.image,
                "icon": alternateIfNull(currentData.icon, "kde"),
                "comment": alternateIfNull(currentData.comment, ""),
                "packageName": alternateIfNull(currentData.package, ""),
                "url": currentData.url
            })
        }
        initFeatured()
        */
    }
.....
Now i dont have carroussel banner, but im using plasma-discover very well and fast.
Thanks.

Revision history for this message
moacir (moacirrf) wrote :

Hi,maybe it will help anybody.
I think i found what is causing the unresponsive problem, DropShadow effect.
File:FeaturedBanner.qml

    DropShadow {
                anchors.fill: flick
                horizontalOffset: 3
                verticalOffset: 3
                radius: 8.0
                samples: 16
                color: "#80000000"
                source: flick
            }

If a comment samples, solved problem.
I tried "radius: 2.0,samples: 4" with no success.

I created a simple Qt helloworld application with DropShadow and same problem occurred, confirming that is a QtGraphicalEffects problem.

My computer configuration is:
Cpu
Intel(R) Core(TM)2 Duo CPU E7500 @ 2.93GHz

Graphic Card
VGA compatible controller: Intel Corporation 82G33/G31 Express Integrated Graphics Controller (rev 10)

Memory
4Gb Dual Channel

I try replicate on other machine with Core I3 and Intel H61 Express Chipset
No problem, everything runs correctly.

Obs.:
On line 122 i added "wrapMode : Text.WordWrap"
To solve exploded text.

Thanks

Revision history for this message
Marco Dalla Libera (marco-dallas95) wrote :

Hi,

I reported this bug: https://bugs.kde.org/show_bug.cgi?id=363392 to the KDE team but they say that the problem is solved and that I have to ask the kubuntu developers to release the latest stable packages, probably the 5.6.4 version.

Thanks!

Revision history for this message
Matthias Klumpp (ximion) wrote :

Well, 5.6.4 is in Ubuntu Xenial...
Can you update the package and see if the problem still exists?

Changed in plasma-discover (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Matthias Klumpp (ximion) wrote :

Urgh, wrong, Xenial has 5.6.2.

Changed in plasma-discover (Ubuntu):
status: Incomplete → Triaged
Revision history for this message
Marco Dalla Libera (marco-dallas95) wrote :

The problem is still present at this time in Kubuntu 16.04.1, as also confirmed by bug #1609501

Revision history for this message
Flamewart (mojinopocoescozio) wrote :

Same problem happens to me with Kubuntu 16.04.1, which has version 5.6.2 of Discover.

The out of space text in the upper highlighted apps is really annoying.

Revision history for this message
Scarlett Gately Moore (scarlettmoore) wrote :

This bug is very old, if this is still an issue please update bug with info on a supported release.

Changed in plasma-discover (Ubuntu):
status: Triaged → Incomplete
Revision history for this message
moacir (moacirrf) wrote :

You're right, thanks for remember me know.
I will try to mark as fixed.

Thanks

Revision history for this message
moacir (moacirrf) wrote :

Old bug that has already been fixed.

Changed in plasma-discover (Ubuntu):
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.