Bug 400983 - org.kde.plasma.mediacontroller QML loading errors breaking media controller
Summary: org.kde.plasma.mediacontroller QML loading errors breaking media controller
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Media Player widget (show other bugs)
Version: master
Platform: Neon Linux
: HI crash
Target Milestone: 1.0
Assignee: Marco Martin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-12 21:00 UTC by Brian
Modified: 2019-04-20 18:01 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Media controls widget crash (273.85 KB, image/png)
2018-11-12 21:00 UTC, Brian
Details
attachment-20441-0.html (2.99 KB, text/html)
2019-04-17 13:18 UTC, Fabricio
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Brian 2018-11-12 21:00:32 UTC
Created attachment 116268 [details]
Media controls widget crash

SUMMARY

This morning after updating to the latest packages in KDE Neon Git Unstable (In both xorg and wayland), i noticed the media controls were broken when i opened a media player (in my case Spotify from flatpak). The media controller shows a monitor icon in place of the usual icon, with crash information which displays in the widget once you open it.

I'm sorry if this isn't the proper place for this bug, I've never reported one before, and I'm hoping i selected the right component. I'm also not sure if i should report Git unstable bugs here?

STEPS TO REPRODUCE
1. Open a media player
2. Click media player widget (which looks like a monitor now)
3. Observe red error icon with error list

OBSERVED RESULT

Monitor icon pops up in the task bar and on click it displays 
errors in place of the media controls.

EXPECTED RESULT

Media controls to pop up in the widget & Keyboard media shortcuts to work


SOFTWARE/OS VERSIONS

Operating System: KDE neon Developer Edition
KDE Plasma Version: 5.14.80
Qt Version: 5.11.2
KDE Frameworks Version: 5.53.0
Kernel Version: 4.19.1-041901-generic
OS Type: 64-bit
Processors: 8 × Intel® Core™ i7-4790 CPU @ 3.60GHz
Memory: 15.6 GiB of RAM


ADDITIONAL INFORMATION

Error loading QML file: file:///usr/share/plasma/plasmoids/org.kde.plasma.mediacontroller/contents/ui/main.qml:145:34: Type ExpandedRepresentation unavailable
file:///usr/share/plasma/plasmoids/org.kde.plasma.mediacontroller/contents/ui/ExpandedRepresentation.qml:127:5: Type PlasmaComponents3.ComboBox unavailable
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/plasma/components.3/ComboBox.qml:42:15: Type ItemDelegate unavailable
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/plasma/components.3/ItemDelegate.qml: Type MobileTextActionsToolBar unavailable
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/plasma/components.3/private/MobileTextActionsToolBar.qml:25:25: Expected token `;'
Comment 1 Robert Griffiths 2018-11-12 23:29:46 UTC
Same here, Neon Dev Stable 5.14.3. Monitor icon appears, I found this because a youtube video didn't play/pause in Vivaldi.
Comment 2 Kai Uwe Broulik 2018-11-12 23:35:01 UTC
@Marco: that's the bug i've been telling you about on telegram
Comment 3 Brian 2018-11-13 00:08:34 UTC
I'm not sure if i should add this here, but i found that KDE Connect is having the same problem:

Error loading QML file: file:///usr/share/plasma/plasmoids/org.kde.kdeconnect/contents/ui/main.qml:44:34: Type FullRepresentation unavailable
file:///usr/share/plasma/plasmoids/org.kde.kdeconnect/contents/ui/FullRepresentation.qml:55:23: Type DeviceDelegate unavailable
file:///usr/share/plasma/plasmoids/org.kde.kdeconnect/contents/ui/DeviceDelegate.qml:252:9: Type PlasmaComponents3.TextArea unavailable
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/plasma/components.3/TextArea.qml: Type MobileTextActionsToolBar unavailable
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/plasma/components.3/private/MobileTextActionsToolBar.qml:25:25: Expected token `;'
Comment 4 Kai Uwe Broulik 2018-11-13 12:03:38 UTC
Fixed by https://cgit.kde.org/plasma-framework.git/commit/?id=61269548168d5cd08a60826c7d417b002a698723

Thanks all for your insanely fast reporting of this bug :)
Comment 5 Brian 2018-11-13 19:51:24 UTC
I just got the update, KDE Connect is fixed, however the media controller is now saying:

Error loading QML file: file:///usr/share/plasma/plasmoids/org.kde.plasma.mediacontroller/contents/ui/main.qml:145:34: Type ExpandedRepresentation unavailable
file:///usr/share/plasma/plasmoids/org.kde.plasma.mediacontroller/contents/ui/ExpandedRepresentation.qml:384:17: Type PlasmaComponents3.ToolButton unavailable
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/plasma/components.3/ToolButton.qml: No such file or directory
Comment 6 Robert Griffiths 2018-11-13 23:41:41 UTC
Don't know if this helps but on my Neon Dev Stable, there is no KDE connect error (I'm using it more now to control videos in Vivaldi because the media player plugin isn't working so I can't use my steam controller as usual).
Comment 7 Brian 2018-11-15 22:06:52 UTC
Seems to be fixed now after a couple updates came through.
Comment 8 Robert Griffiths 2018-11-18 13:19:20 UTC
Fixed on mine too, Neon Dev Stable 5.4.13
Comment 9 Robert Griffiths 2018-11-18 13:56:46 UTC
Fixed on mine too, Neon Dev Stable 5.14.3
Comment 10 Johannes Hirte 2019-04-12 07:18:02 UTC
Broken again, now with this error message:

Error loading QML file: file:///usr/share/plasma/plasmoids/org.kde.plasma.mediacontroller/contents/ui/main.qml:145:34: Type ExpandedRepresentation unavailable
file:///usr/share/plasma/plasmoids/org.kde.plasma.mediacontroller/contents/ui/ExpandedRepresentation.qml:127:5: Type PlasmaComponents3.ComboBox unavailable
file:///usr/lib64/qt5/qml/org/kde/plasma/components.3/ComboBox.qml:22:26: Expected token `;'

seems to be related to plasma commit 

58dd4c5c0f1218e0096f4e18d37ee06f8ea80cb5
Author: Marco Martin <notmart@gmail.com>
Date:   Wed Apr 10 11:27:37 2019 +0200

    separe mobile text selection to avoid recursive imports
    
    Summary:
    the mobile text selection toolbar uses toolbuttons, which in turn use the
    private import. This will make the components loading stuck in dependency
    resolution
    
    Test Plan: all loads correctly now
    
    Reviewers: #plasma, hein
    
    Reviewed By: #plasma, hein
    
    Subscribers: hein, kde-frameworks-devel
    
    Tags: #frameworks
    
    Differential Revision: https://phabricator.kde.org/D20428
Comment 11 Fabricio 2019-04-15 14:07:54 UTC
I have the same problem; The system tray Icon appears, but when I click on it the message bellow appear.

The same problem occur if I add the desktop widget. This problem happen after the plasma upgrade. 


Error loading QML file: file:///usr/share/plasma/plasmoids/org.kde.plasma.mediacontroller/contents/ui/main.qml:145:34: Type ExpandedRepresentation unavailable
file:///usr/share/plasma/plasmoids/org.kde.plasma.mediacontroller/contents/ui/ExpandedRepresentation.qml:127:5: Type PlasmaComponents3.ComboBox unavailable
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/plasma/components.3/ComboBox.qml:175:9: Type Private.MobileCursor unavailable
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/plasma/components.3/private/MobileCursor.qml: No such file or directory

System version:
Operating System: KDE neon Testing Edition
KDE Plasma Version: 5.15.4
KDE Frameworks Version: 5.58.0
Qt Version: 5.12.0
Kernel Version: 5.0.7
OS Type: 64-bit
Processors: 8 × Intel® Core™ i7-8550U CPU @ 1.80GHz
Memory: 15,6 GiB of RAM
Comment 12 Patrick Silva 2019-04-17 12:42:08 UTC
it's working again for me on neon dev unstable since yesterday.
Comment 13 Fabricio 2019-04-17 13:18:06 UTC
Created attachment 119458 [details]
attachment-20441-0.html

Yes, you are right @Patrick Silva, It works for me too :)

Thanks all
---
*Fabrício G. Valadares*
Lattes: http://lattes.cnpq.br/1002632563427298
Linkedin:http://br.linkedin.com/pub/fabricio-valadares/45/586/5a1/
mail: fabricio.valadares@gmail.com

*Os homens conseguiriam muito mais coisas se julgassem menos coisas
impossíveis.*

Embora ninguém possa voltar atrás e fazer um novo começo, qualquer um pode
começar agora e fazer um novo fim. Francisco Cândido Xavier


The information contained in this email and any attachments is confidential
and may be subject to copyright or other intellectual property protection.
If you are not the intended recipient, you are not authorized to use or
disclose this information, and we request that you notify us by reply mail
or telephone and delete the original message from your mail system.



On Wed, 17 Apr 2019 at 09:42, Patrick Silva <bugzilla_noreply@kde.org>
wrote:

> https://bugs.kde.org/show_bug.cgi?id=400983
>
> Patrick Silva <bugseforuns@gmx.com> changed:
>
>            What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>                  CC|                            |bugseforuns@gmx.com
>
> --- Comment #12 from Patrick Silva <bugseforuns@gmx.com> ---
> it's working again for me on neon dev unstable since yesterday.
>
> --
> You are receiving this mail because:
> You are on the CC list for the bug.