Unusual behavior in "Folder View" desktop layout.

Hi, I recently installed openSUSE Leap 42.2 with KDE 5.8.6 (KDE Frameworks : 5.26, Qt Version: 5.6.1, Theme: Breeze). I configured my desktop layout to “Folder View” and observed some unusual behavior and I need help in resolving them.

  1. In KDE 4.x (configured desktop layout to “Folder View”), I used to press F2, enter a new name for a file in the desktop and left-click the mouse anywhere in the desktop area for the file with the new filename to appear. However, this is not the case in Plasma 5 “Folder View” desktop layout. When I press F2 and enter a new name for a file in the desktop, I need to press “Enter” for the filename to change. If I left-click the mouse anywhere in the desktop, the file name does not change. Now, when I open the desktop folder in Dolphin and rename the file, I am able to change the file name by left-clicking anywhere in the Dolphin window. Is this a bug or a new feature in “Folder View” layout ?

  2. I am unable to extract “zip” files in the “Folder View” desktop layout because there is no “extract” option in the right-click menu options as shown in the link (http://i.imgur.com/IF7rCBH.png) . When I open the desktop folder in Dolphin, I can see “extract” option in the right-click menu options as shown in the link (http://i.imgur.com/7A1u8Hj.png) and I am able to extract the file. I want to be able to extract the “zip” files directly in the “Folder View” desktop layout instead of opening the file in Dolphin.

  3. Tooltip icons of some applications (YAST for example) in the panel is pixalated as shown in the link (http://i.imgur.com/MaVl5eq.png). Some Tooltip icons (Firefox for example) appear normal (http://i.imgur.com/fRW1fr8.png). I guess this has something to do with not having scalable icons in \usr\share\icons but I unable to figure out where to start looking for.

  4. I want to change the lock/logout widget icon because it is not clearly visible with my wallpaper background (please see the link: http://i.imgur.com/VM9kfjg.png ). After going through some of the forum posts, I tried to change the “Icon=” line in metadata.desktop located in /usr/share/plasma/plasmoids/org.kde.plasma.lock_logout/ but there is no change.

Thanks for your help !

Well, I suppose it can be argued whether this is a bug, or whether dolphin does it wrong.

Anyway, it has been reported and it has been changed (I don’t really want to write “fixed” here… :wink: ) for 5.10:
https://bugs.kde.org/show_bug.cgi?id=378447

  1. I am unable to extract “zip” files in the “Folder View” desktop layout because there is no “extract” option in the right-click menu options as shown in the link (http://i.imgur.com/IF7rCBH.png) . When I open the desktop folder in Dolphin, I can see “extract” option in the right-click menu options as shown in the link (http://i.imgur.com/7A1u8Hj.png) and I am able to extract the file. I want to be able to extract the “zip” files directly in the “Folder View” desktop layout instead of opening the file in Dolphin.

Seems to be a missing feature in the versions included in 42.2, apparently the folder view widget doesn’t support the new KFileItemAction plugins yet.
I do have that “Extract” menu here with the latest ones, Plasma 5.9.95 (5.10 beta) and KF 5.34.0.

You can create your own “ServiceMenus” though, via .desktop files in /usr/share/kservices5/ServiceMenus (or ~/.local/share/kservice5/SeviceMenus/)
For an “Extract” menu, this should do:

[Desktop Entry]
Type=Service
ServiceTypes=KonqPopupMenu/Plugin
MimeType=application/x-tar;application/x-compressed-tar;application/x-bzip-compressed-tar;application/x-tarz;application/x-xz-compressed-tar;application/x-lzma-compressed-tar;application/x-deb;application/x-cd-image;application/x-bcpio;application/x-cpio;application/x-cpio-compressed;application/x-sv4cpio;application/x-sv4crc;application/x-rpm;application/x-source-rpm;application/vnd.ms-cab-compressed;application/x-servicepack;application/x-rar;application/x-7z-compressed;application/x-java-archive;application/zip;application/x-compress;application/x-gzip;application/x-bzip;application/x-bzip2;application/x-lzma;application/x-xz;
Actions=arkAutoExtractHere;arkExtractTo;arkExtractHere;
X-KDE-Priority=TopLevel
X-KDE-StartupNotify=false
X-KDE-Submenu=Extract

[Desktop Action arkExtractHere]
Name=Extract Archive Here
Icon=ark
Exec=ark --batch --autodestination %F

[Desktop Action arkExtractTo]
Name=Extract Archive To...
Icon=ark
Exec=ark --batch --autodestination --dialog %F

[Desktop Action arkAutoExtractHere]
Name=Extract Archive Here, Autodetect Subfolder
Icon=ark
Exec=ark --batch --autodestination --autosubfolder %F

Save this as e.g. ~/.local/share/kservices5/ServiceMenus/ark_servicemenu.desktop

  1. Tooltip icons of some applications (YAST for example) in the panel is pixalated as shown in the link (http://i.imgur.com/MaVl5eq.png). Some Tooltip icons (Firefox for example) appear normal (http://i.imgur.com/fRW1fr8.png). I guess this has something to do with not having scalable icons in \usr\share\icons but I unable to figure out where to start looking for.

Set the option “Keep Window Previews” to “Always”, and you’ll get the window’s content instead… :wink:

The icon is provided by the application I think, there’s no way to change it, except maybe by calling the application with the --icon parameter if it supports that.
Or try to change the Icon line in the corresponding .desktop file (in /usr/share/applications/, or ~/.local/share/applications/).

  1. I want to change the lock/logout widget icon because it is not clearly visible with my wallpaper background (please see the link: http://i.imgur.com/VM9kfjg.png ). After going through some of the forum posts, I tried to change the “Icon=” line in metadata.desktop located in /usr/share/plasma/plasmoids/org.kde.plasma.lock_logout/ but there is no change.

The metadata.desktop specifies the icon for the widget explorer (the “Add Widgets” dialog).

The icons that the widget itself uses are part of the desktop theme.

If you want to change them, they are in the file /usr/share/plasma/desktoptheme/themename/icons/system.svgz. To avoid your changes being overwritten by updates, you can do them in ~/.local/share/plasma/…, or just create a new theme.

Of course you could also change the desktop theme in the settings if there already is one that fits you.

Thanks wolfi323 ! I really appreciate your help.