Bug 362748 - unable to create new activities with the user interface
Summary: unable to create new activities with the user interface
Status: RESOLVED FIXED
Alias: None
Product: frameworks-kactivities
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.20.0
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Ivan Čukić
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-06 14:06 UTC by trekrek
Modified: 2016-09-19 06:13 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description trekrek 2016-05-06 14:06:26 UTC
unable to create new activities with the kcm user interface 

Reproducible: Always

Steps to Reproduce:
1. run "kcmshell5 kcm_activities"
2. click on "Create Activity"

Actual Results:  
the "Create New Activity" window appear behind the kcm_activities main window and you can't interact with it (so you can't create the new activity)

Expected Results:  
"Create New Activity" should open on top of the main window and you must be able to interact with it

"kcmshell5 kcm_activities" prints those two errors immediately after it is opened:
file:///usr/share/kf5/kactivitymanagerd/workspace/settings//qml/privacyTab/BlacklistApplicationView.qml:28:5: QML Flow: Binding loop detected for property "width"
file:///usr/share/kf5/kactivitymanagerd/workspace/settings//qml/privacyTab/BlacklistApplicationView.qml:28:5: QML Flow: Binding loop detected for property "width"

after clicking on "Create Activity" also those errors appears:
QMetaObject::invokeMethod: No such method GeneralTab_QMLTYPE_106::load()
file:///usr/share/kf5/kactivitymanagerd/workspace/settings//qml/activityDialog/OtherTab.qml:33: ReferenceError: content is not defined
file:///usr/share/kf5/kactivitymanagerd/workspace/settings//qml/activityDialog/OtherTab.qml:32: ReferenceError: content is not defined
QMetaObject::invokeMethod: No such method OtherTab_QMLTYPE_154::load()

The window to edit an existing activity work as expected (it seems to be the same window so I assume that the code is shared).

This is the bug report on Fedora's bug tracker https://bugzilla.redhat.com/show_bug.cgi?id=1311535
Comment 1 Rex Dieter 2016-05-06 14:09:13 UTC
I can confirm this testing on f24/x86_64 with plasma-5.6.3 + kf5-kactivities-5.21.0
Comment 2 Ivan Čukić 2016-07-18 11:33:40 UTC
Does this button work in the activity switcher? (Meta + q by default)

Can you test with Plasma 5.7.2 (or older 5.7) since this seems like a problem in the installation/packages related to the repository transition we had for 5.6.
Comment 3 trekrek 2016-07-21 14:08:01 UTC
still present in plasma 5.7.1. I will test it again when packages for plasma 5.7.2 will appear in the repositories.

The button works in the activity switcher and also under system settings->desktop behaviour->activities
Comment 4 Ivan Čukić 2016-07-21 14:21:21 UTC
Wait - activity switcher *and* system settings work, but kcmshell does not?

That is strange for a few reasons:
 - The code is shared between all three
 - The code is the same for system settings and kcmshell - that is, both load exactly the same dialogue.

Is there a live ISO with all the packages updated where I could test this?
Comment 5 trekrek 2016-07-21 14:53:57 UTC
yes only kcmshell doesn't work. 

There is only this one https://spins.fedoraproject.org/kde/download/index.html but it's quite old as you can see here http://archive.fedoraproject.org/pub/fedora/linux/releases/24/Spins/x86_64/iso/.
I'm downloading it to see if the bug is present (it should be there in principle, since it's newer than my first post)
Comment 6 Ivan Čukić 2016-07-21 14:55:09 UTC
Thanks for being an active bug reporter :)
Comment 7 trekrek 2016-07-21 16:00:03 UTC
yes you can use that live image to reproduce it
Comment 8 Ivan Čukić 2016-09-18 20:51:44 UTC
I forgot to reply - the activity creation dialogue opens, but it does not go above the main kcmshell window. There was a bug in kcmshell which was fixed some time ago (can't remember whether the fix is in 5.7 or it will be released with 5.8).
Comment 9 trekrek 2016-09-19 06:13:44 UTC
it's fixed on 5.7.5, I didn't test in 5.7.4, but I'm quite sure that I've tested it on 5.7.3 and it was not fixed. So the fix is either in 5.7.4 or in 5.7.5.

Thanks