Bug 437225 - No files match filter to install cursor themes
Summary: No files match filter to install cursor themes
Status: RESOLVED NOT A BUG
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_cursortheme (show other bugs)
Version: 5.21.4
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-17 01:01 UTC by Chef Niko
Modified: 2021-05-19 15:29 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chef Niko 2021-05-17 01:01:24 UTC
SUMMARY
No files match the filter when attempting to install new cursor theme, so they cannot be selected in the UI. This includes new and previously working files.

STEPS TO REPRODUCE
1. Open kcm_cursortheme
2. Click "Install From File..."
3. Browse to directory containing theme

OBSERVED RESULT
No files are shown to install

EXPECTED RESULT
Files are shown to install

SOFTWARE/OS VERSIONS
Kubuntu 21.04
Plasma: 5.21.4
Frameworks: 5.80.0
QT: 5.15.2
Kernel 5.11.0-17-generic x64

ADDITIONAL INFORMATION
Konsole output:
$) ~/.icons/SM: kcmshell5 kcm_cursortheme
Model size of -82 is less than 0
Model size of -10 is less than 0
kf.kio.widgets.kdirmodel: No node found for item that was just removed: QUrl("file:///home/niko/.Xauthority")
Model size of -82 is less than 0
Model size of -10 is less than 0

Sample theme file
($) ~/.icons/warcraft-3-cursors: cat index.theme
[Icon Theme]
Name=Sorely's Warcraft cursors

Attempting to set a new cursor theme results in the following error:
QDBusConnection: error: could not send signal to service "" path "//home/niko/.kde/share/config/kdeglobals" interface "org.kde.kconfig.notify" member "ConfigChanged": Invalid object path: //home/niko/.kde/share/config/kdeglobals
Comment 1 Nate Graham 2021-05-18 21:38:18 UTC
You need to give it the .tar.gz/.zip file, rather than unarchiving it first. Does that work? It works for me.
Comment 2 Chef Niko 2021-05-18 21:57:06 UTC
Thanks for the info! I didn't read in the wiki that I needed an archive.

First, I tried making an archive out of the contents of the folder, and it said it was invalid.

Then, I tried making an archive out of the entire folder, but then kcm_cursortheme crashed.

I used 'tar -cvzf <folder>'  I believe this is a .tar.gz file, correct? Am I doing something wrong?

Here's the konsole output:
($) ~/.icons: kcmshell5 kcm_cursortheme
Model size of -82 is less than 0
Model size of -10 is less than 0
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/templates/InlineMessage.qml:259:9: QML ActionToolBar: Binding loop detected for property "atBottom"
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/templates/InlineMessage.qml:259:9: QML ActionToolBar: Binding loop detected for property "atBottom"
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = kcmshell5 path = /usr/bin pid = 13906
KCrash: Arguments: /usr/bin/kcmshell5 kcm_cursortheme 
KCrash: Attempting to start /usr/lib/x86_64-linux-gnu/libexec/drkonqi
QSocketNotifier: Invalid socket 8 and type 'Read', disabling...
QSocketNotifier: Invalid socket 15 and type 'Read', disabling...
QSocketNotifier: Invalid socket 25 and type 'Read', disabling...

[1]+  Stopped                 kcmshell5 kcm_cursortheme

After some time, this appeared on the konsole as well:
($) ~/.icons: pa_write() failed while trying to wake up the mainloop: Bad file descriptor
pa_write() failed while trying to wake up the mainloop: Bad file descriptor
Invalid write to eventfd: Bad file descriptor
Code should not be reached at pulsecore/fdsem.c:199, function pa_fdsem_post(). Aborting.
Unable to start Dr. Konqi
Re-raising signal for core dump handling.
Comment 3 Nate Graham 2021-05-19 15:29:13 UTC
Sounds like the contents of the theme isn't valid somehow. The crash is another bug; can you please file that separately? Meanwhile please ask in a support-related venue for details on how to manually create a cursor theme. Thanks!