cboxdoerfer / fsearch

A fast file search utility for Unix-like systems based on GTK3
GNU General Public License v2.0
3.33k stars 209 forks source link

[BUG] Error when opening folder in Thunar from within FSearch #453

Closed notdexterslab closed 1 year ago

notdexterslab commented 1 year ago

Describe the bug Folders are not opening from context menu in FSearch.

To Reproduce Steps to reproduce the behavior:

  1. Run fsearch
  2. Select a file/folder in main window
  3. Right-click > Open Folder (or Ctrl+Return)

Expected behavior Folder should open in file manager window (I'm using use thunar 4.18.1)

Screenshots

Desktop (please complete the following information):

Additional context Terminal output:

ERR<45376>: ../src/bin/tools/filemanager/e_fm_cmdline.c:53 fm_open_reply() org.freedesktop.DBus.Error.ServiceUnknown: The name org.enlightenment.FileManager was not provided by any .service files
## Copy & Paste the below (until EOF) into a terminal, then hit Enter

eina_btlog << EOF
/usr/lib/libeina.so.1 0x6d469b307324 0x6d469b2dc000
/usr/lib/libeina.so.1 0x6d469b2fe861 0x6d469b2dc000
/usr/lib/libeina.so.1 0x6d469b30b329 0x6d469b2dc000
/usr/bin/enlightenment_filemanager 0x55a738a53ab 0x55a738a3000
/usr/lib/libeldbus.so.1 0x6d469b214ac9 0x6d469b206000
/usr/lib/libdbus-1.so.3 0x6d469ad13bc0 0x6d469acff000
/usr/lib/libdbus-1.so.3 0x6d469ad18120 0x6d469acff000
/usr/lib/libeldbus.so.1 0x6d469b21ad4a 0x6d469b206000
/usr/lib/libecore.so.1 0x6d469b267e63 0x6d469b252000
/usr/lib/libeo.so.1 0x6d469aea2750 0x6d469ae8e000
/usr/lib/libeo.so.1 0x6d469aea3e77 0x6d469ae8e000
/usr/lib/libecore.so.1 0x6d469b2708c0 0x6d469b252000
/usr/lib/libecore.so.1 0x6d469b270f9d 0x6d469b252000
/usr/lib/libecore.so.1 0x6d469b27ade9 0x6d469b252000
/usr/lib/libecore.so.1 0x6d469b274807 0x6d469b252000
/usr/lib/libecore.so.1 0x6d469b26ce28 0x6d469b252000
/usr/bin/enlightenment_filemanager 0x55a738a5127 0x55a738a3000
/usr/lib/libc.so.6 0x6d469b013290 0x6d469aff0000
/usr/lib/libc.so.6 0x6d469b01334a 0x6d469aff0000
/usr/bin/enlightenment_filemanager 0x55a738a5205 0x55a738a3000
EOF

Did you unload the EFM module? Try loading it.
cboxdoerfer commented 1 year ago

This doesn't sound like a bug in FSearch, but more like a configuration issue on your system or the Enlightenment tools. As you can see in your terminal output, the system attempts to open the enlightenment_filemanager, not Thunar.

What happens when you run the following command:

gio open /

cboxdoerfer commented 1 year ago

I was able to reproduce it by simply installing enlightenment. Seems this package is buggy, it registers itself as the default filemanager but then can't open files without an Enlightenment session. So simply uninstalling enlightenment should fix your issue.

notdexterslab commented 1 year ago

So simply uninstalling enlightenment should fix your issue.

That did it, thanks.