Bug 1262600
| Summary: | Plasma live session notifies for available updates | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Giulio 'juliuxpigface' <juliux.pigface> |
| Component: | spin-kickstarts | Assignee: | Jeroen van Meeuwen <vanmeeuwen+fedora> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 23 | CC: | admiller, awilliam, bruno, juliux.pigface, kde-sig, kevin, kevin, kparal, mcatanzaro+wrong-account-do-not-cc, rdieter, robatino, satellitgo, than, vanmeeuwen+fedora, vpavlin |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i686 | ||
| OS: | Linux | ||
| Whiteboard: | AcceptedBlocker | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-10-22 19:16:58 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1170821 | ||
|
Description
Giulio 'juliuxpigface'
2015-09-13 09:41:20 UTC
Proposed as a Blocker for 23-final by Fedora user juliuxpigface using the blocker tracking app because: Proposed as Final Blocker, because this seems to violate the following criteria: 2.4.8 Update notification (https://fedoraproject.org/wiki/Fedora_23_Final_Release_Criteria#Update_notification) "Release-blocking desktops must notify the user of available updates, but must not do so when running as a live image." Not sure how this isn't working anymore, from https://git.fedorahosted.org/cgit/spin-kickstarts.git/tree/fedora-live-kde-base.ks : # Disable plasma-pk-updates sed -i \ -e "s|^X-KDE-PluginInfo-EnabledByDefault=true|X-KDE-PluginInfo-EnabledByDefault=false|g" \ /usr/share/kservices5/plasma-applet-org.kde.plasma.pkupdates.desktop Discussed at 2015-09-14 blocker review meeting: https://meetbot-raw.fedoraproject.org/fedora-blocker-review/2015-09-14/f23-blocker-review.2015-09-14-16.00.log.txt . Accepted as a blocker per criterion cited in #c1. I also see this in virt-manager f23 f23 kde live beta tc-5 x86_64 live checks for updates and notifies for 151 updates Seems the initial login to plasma that one cannot configure visible systray applets. right click systray -> system tray settings -> general(section-> extra items all of them appear to be unchecked, and no changes made there do anything. This works as expected on subsequent logins. (once you workaround logind previous lingering login session, but that's a separate issue) I confirmed this both for live image, and installed versions. seen in boot of gnome-disks USB boot of Fedora-Live-KDE-i686-23-TC9.iso as live usb. also as installed to HD: notifies and installs updates Filed bug upstream, https://bugs.kde.org/show_bug.cgi?id=353962 Rex, i think we can use this js script to disable it for live image
pids = panelIds;
for (i = 0; i < pids.length; ++i) { //search through the panels
panel = panelById(pids[i]);
if (!panel) continue;
ids = panel.widgetIds;
for (j = 0; j < ids.length; ++j) { //search through the widgets for systray
widget = panel.widgetById(ids[j]);
if (!widget || widget.type != "systemtray") {
continue;
}
//widget var is now the systray
widget.currentConfigGroup = Array("Applets");
noOfApplets = widget.configGroups.length;
var groups = new Array();
for (k = 0; k < noOfApplets; ++k) {
groups.push(widget.configGroups[k])
}
for (k = 0; k < noOfApplets; ++k) {
widget.currentConfigGroup = new Array("Applets", groups[k]);
if (widget.readConfig("plugin") == "org.kde.plasma.pkupdates") {
widget.writeConfig("plugin",""); //found it at last, wipe it blank
}
}
}
}
i created a fix for this issue. I already tested it and it works fine. cat spin-kickstarts-kde-disable-pkupdates.patch diff -up spin-kickstarts-0.24.0/fedora-live-kde-base.ks.than spin-kickstarts-0.24.0/fedora-live-kde-base.ks --- spin-kickstarts-0.24.0/fedora-live-kde-base.ks.than 2015-10-19 23:47:04.603996818 +0200 +++ spin-kickstarts-0.24.0/fedora-live-kde-base.ks 2015-10-19 23:47:54.351685132 +0200 @@ -82,8 +82,8 @@ AKONADI_EOF # Disable plasma-pk-updates sed -i \ - -e "s|^X-KDE-PluginInfo-EnabledByDefault=true|X-KDE-PluginInfo-EnabledByDefault=false|g" \ - /usr/share/kservices5/plasma-applet-org.kde.plasma.pkupdates.desktop + -e "s|^X-KDE-PluginInfo-EnabledByDefault=true||g" \ + /usr/share/plasma/plasmoids/org.kde.plasma.pkupdates/metadata.desktop # Disable baloo cat > /home/liveuser/.config/baloofilerc << BALOO_EOF i also did a scratch build http://koji.fedoraproject.or/koji/taskinfo?taskID=11505959 because i dont have permssion to commit the fix. Please test it!! add correct url http://koji.fedoraproject.org/koji/taskinfo?taskID=11505960 The script from comment #8 will not work, that way of controlling systray applets only works in Plasma 4. The patch from comment #9 looks like it may work (as a workaround – it sure doesn't fix the real issue [http://bugs.kde.org/show_bug.cgi?id=353962], which must be somewhere in C++ and/or QML code). So if the comment #9 patch works for you, I guess we can use that. (Unfortunately, the blocker process encourages quick hacks instead of real fixes. :-( ) the release process requires a releasable level of quality. how you achieve that is between you, your upstream, your conscience and your deity...we *did* report and approve this as a blocker over a month ago, you had all that time to work on 'real fixes'. thanks for the patch, I'll test it out. Fix is looking good here, live image doesn't check updates, installed system does. Worryingly, my installed KVM booted to a black screen twice before I got it to boot to SDDM, but this issue looks good. Kevin, do you want to apply the change to spin-kickstarts git? yes, it's a workaround for this issue. But it's good enough to add it in f23 release. if someone can give the permission to commit the change to spin-kickstarts git, i can apply it and build it in f23 Interesting, I thought I had even tested the case of removing the .desktop file completely and the sucker had still loaded. I'll commit the workaround asap OK, my prior comment was misguided, missed initially that the .desktop file being modified was different. Tested a slightly different variant, with same positive results, https://git.fedorahosted.org/cgit/spin-kickstarts.git/commit/?h=f23&id=21a379ef79a61d1f4a602471e6fc66ea21b67df7 OK, counting as ON_QA, we will verify fix with RC1 when it comes. I have waited about 15 minutes in RC2 KDE, no notification. Seems fixed. There's no package to push, here, we can just close it. |