Created attachment 112821 [details] Wrong icon size in network manager applet The network manager applet displays wrong sized icons causing missalignment and difficulties to select a network, see attached screenshot. This behavior is present regardless of the theme used by plasma (Breeze,Arc-Dark, etc) and icon theme used. This bug just appeared in the dev/stable branch of KDE Neon.
It was a cache corruption.
(In reply to TYY331 from comment #1) > It was a cache corruption. and how to resolve it?
I can't reproduce the issue, all I did was to delete the cache files and folders associated with KDE in the ~.cache folder for example icon-cache.kcache but I really don't know what file did the trick. These kinds of problems are frequent when have big Plasma updates (5.11->5.12->5.13) Maybe it would be sensible to have these cache files removed when a plasma update is installed.
(In reply to TYY331 from comment #3) > I can't reproduce the issue, all I did was to delete the cache files and > folders associated with KDE in the ~.cache folder for example > icon-cache.kcache but I really don't know what file did the trick. > These kinds of problems are frequent when have big Plasma updates > (5.11->5.12->5.13) > Maybe it would be sensible to have these cache files removed when a plasma > update is installed. thanks for response my ask. Another question. This cache files will be regenerated after delete them?
> thanks for response my ask. Another question. This cache files will be > regenerated after delete them? Every cache file by definition is regenerated if not found, Qt isn't the exception.
(In reply to TYY331 from comment #5) > > thanks for response my ask. Another question. This cache files will be > > regenerated after delete them? > > Every cache file by definition is regenerated if not found, Qt isn't the > exception. thanks... I will try
I can reproduce the issue locally, clearing cache doesn't help :(
Created attachment 112932 [details] oversized icons Same here, I'm on KDE neon git stable branch. I use the oxygen theme. I cleared ~/.cache/plasmashell/qmlcache/ (followed by logout and login again) but it didn't help.
(In reply to Jonathan from comment #6) > (In reply to TYY331 from comment #5) > > > thanks for response my ask. Another question. This cache files will be > > > regenerated after delete them? > > > > Every cache file by definition is regenerated if not found, Qt isn't the > > exception. > > thanks... I will try Not work :(:(:(
I think what did the trick was change the name of /home/sebastian/.config/plasmashellrc, log out, log in (now the icons should be the correct size) then change back the name of the config file to get back the plasma layout, log out and in again, see if the problem persist.
(In reply to Jonathan from comment #6) > (In reply to TYY331 from comment #5) > > > thanks for response my ask. Another question. This cache files will be > > > regenerated after delete them? > > > > Every cache file by definition is regenerated if not found, Qt isn't the > > exception. > > thanks... I will try Finally, I uninstaled and reinstaled plasma-nm5 package. It's worked. I work on opensuse leap 42.3, plasma 5.8.7, kde-framework 5.46 and QT 5.11. greetings
*** Bug 395345 has been marked as a duplicate of this bug. ***
I started seeing this on _one_ of my PCs only after upgrading to 5.13.0 in Ubuntu16.04/Neon
*** Bug 395387 has been marked as a duplicate of this bug. ***
(In reply to Alex Sidorenko from comment #13) > I started seeing this on _one_ of my PCs only after upgrading to 5.13.0 in > Ubuntu16.04/Neon I am also affected by this bug, after upgrading to 5.13.0 on Manjaro.
Bug reproduced for mostly old themes. For reproduce need remove cache and restart plasmashell: rm -rf ~/.cache/plasm* ~/cache/ico* killall -9 plasmashell ALT+F2 > plasmashell It's happened because network document not used size 22x22. For example, on Oxygen used network.svgz with: width="403.04306" height="399.01367" For fix that need change document size too: width="22" height="22" Also percent not supported too: width="100%" height="100%" I think better solution - this need fix on network manager widget, because new update broken compability with some(mostly) old plasma themes
Network widget not use ID's size on document, but use with and height on SVG document. It's wrong
Does it mean that plasma-nm does not use Plasma's icons (loaded via KIconLoader), but just QtQuick image items?
No, plasma-nm used icons from plasma theme, but with wrong size on widget. Widget use SVG-document sizes for icons and ignore Layers ID sizes. Any icons for plasma have ID and size - but after last update plasma-nm ignore ID size and use document size (width & height). For example, Oxygen plasma theme: - netowrk.svgz (document have size width="403.04306" & height="399.01367") - network.svg contained ID network-wired-available with size width="24" & height="24". - BUT plasma-nm widget use size width="403.04306" & height="399.01367" for network-wired-available and other icons too... Open Oxygen plasma theme, kill cache, restart plasma theme and see.
This bug has happened to apparently some of us non-Breeze using Manjaro users: https://forum.manjaro.org/t/plasma-5-13-network-connections-gui-broken/49855 I can confirm that deleting the cache fixed it.
Created attachment 113363 [details] Apparent large icon problem and missing network and vpn connections Deleting the .cache files did not make any difference. Cannot select and connect with VPN, must use alternate method. OS is Gentoo.
*** Bug 395489 has been marked as a duplicate of this bug. ***
Depends on icon theme and probably caused by the switch to QtQuick Layouts where counterintuitively "width" has no effect when the item has an implicit size. This is probably an easy fix by changing width to Layout.preferredWidth (likewise for height) in ConnectionItem
Git commit 6dc2fc113a89fd14d4b5144485c639ac1e500e40 by Jan Grulich. Committed on 18/06/2018 at 05:50. Pushed by grulich into branch 'Plasma/5.13'. Attempt to fix icon size for connection delegate M +2 -1 applet/contents/ui/ConnectionItem.qml https://commits.kde.org/plasma-nm/6dc2fc113a89fd14d4b5144485c639ac1e500e40
Git commit c43ae59a06b7f2b6324a5bfaba1dec357c17499d by Jan Grulich. Committed on 18/06/2018 at 07:32. Pushed by grulich into branch 'Plasma/5.13'. Properly fix icon size for connection delegate M +2 -2 applet/contents/ui/ConnectionItem.qml https://commits.kde.org/plasma-nm/c43ae59a06b7f2b6324a5bfaba1dec357c17499d
*** Bug 395568 has been marked as a duplicate of this bug. ***
Confirmed fixed with current Plasma/5.13 sources.
*** Bug 395700 has been marked as a duplicate of this bug. ***