Summary: | Installing compressed version of package on top of old uncompressed version causes severe issues | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-kpackage | Reporter: | Vadym Krevs <vkrevs> |
Component: | default | Assignee: | Marco Martin <notmart> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | arojas, fabian, jsardid, kde, nate, plasma-bugs, rdieter, stas.kazmin, vkrevs, wbauer1, zrenfire |
Priority: | HI | Keywords: | regression |
Version: | 5.42.0 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/kpackage/3a82b33e57c2577f31a7e496d81358a4de0b305c | Version Fixed In: | 5.82.0 |
Sentry Crash Report: |
Description
Vadym Krevs
2018-01-19 10:22:13 UTC
Works here. I downloaded the "Dilbert (en)" from the store and it works fine. I tried on 42.3 and it works fine here as well. Did you enable "Dilbert" in the configuration after installation? Problem is that there was nothing to enable. Usually, there is a checkbox next to the downloaded comic - but there is nothing now. Can you provide a screenshot of that? Short video: https://photos.app.goo.gl/t34IypynI9vxHrTx1 I had a similar problem here (also after updating to 5.11.95 and Frameworks 5.42). The installed comics didn't show up in the settings anymore, and installing them again (they showed up as uninstalled in the "Get New" dialog) didn't change that. After I installed a different comic, they reappeared though, everything works fine here now. Wolfgang - thank you, your workaround (installing a different comic) worked. As I have another system with the same problem, I was able to investigate this some more. Moving away the file ~/.local/share/plasma/comic/kplugincache.json fixes it as well, moving that file back breaks it again. I suppose the reason is this: $ kpackagetool5 -l -t Plasma/Comic Listing service types: Plasma/Comic in /home/test/.local/share/plasma/comics/ kf5.karchive: bzDecompress returned -5 After downgrading kpackage to 5.41.0: $ kpackagetool5 -l -t Plasma/Comic Listing service types: Plasma/Comic in /home/test/.local/share/plasma/comics/ kpluginindex: Using indexfile: "/home/test/.local/share/plasma/comics/kpluginindex.json" true garfield nichtlustig I found https://cgit.kde.org/kpackage.git/commit/?id=056fc67cecda5e5bd0541f57181e70a80bc72476 introduced compressing this file, but apparently it can't read *uncompressed* files from previous versions anymore. (installing a new comic helps as this deletes that cache file) This will likely affect other things too, not just the comic applet. (In reply to Wolfgang Bauer from comment #8) > Moving away the file ~/.local/share/plasma/comic/kplugincache.json fixes it > as well, moving that file back breaks it again. I mean kpluginindex.json, of course. *** Bug 389101 has been marked as a duplicate of this bug. *** TL;DR: Confirm Wolfgang's findings that the compression changed (none? => something). ----- I noticed that my task switcher theme (`./local/share/kwin/tabbox/thumbnail_grid`) had changed to "List". It wasn't detected either in the system settings either even though it was still installed on disk. Several of my widgets (redshift and some of mine) also disappeared from the panel. I found that deleting: ~/.local/share/plasma/plasmoids/kpluginindex.json ~/.local/share/kwin/tabbox/kpluginindex.json And restarting the system settings would allow me to select my Task Switcher skin. For the missing widgets, I had to restart plasmashell. At first I thought maybe it was just me (since I tend to fuck with the customization stuff), but I've noticed a few others have detected this too. The fix also worked for this guy: * https://www.reddit.com/r/kde/comments/7yox2j/redshitft_not_showing_up_in_the_system_tray/ Maybe this too: * https://www.reddit.com/r/kde/comments/7xm4xp/installed_themes_dont_show_up_in_list/ ----- I noticed that the old file is ~300Kb and the new file is ~40Kb. In the old file, you can read same of the strings using a hex editor. In the new file there's no readable strings. So the compression (or lack there of) was changed, which supports Wolfgang's findings. *** Bug 389297 has been marked as a duplicate of this bug. *** This can cause severe issues for users who have run Plasma as root at some point, see bug 389297 This should be fixed in KDE Frameworks 5.82.0 by this change: https://invent.kde.org/frameworks/kpackage/-/commit/3a82b33e57c2577f31a7e496d81358a4de0b305c The kpluginindex.json caching was removed completely, existing files will be ignored now and therefore no longer cause problems. |