catfish issueshttps://gitlab.xfce.org/apps/catfish/-/issues2024-01-29T14:03:01Zhttps://gitlab.xfce.org/apps/catfish/-/issues/104Can't open files with special characters in their name: the file Uri is wrong2024-01-29T14:03:01ZStephGbzhCan't open files with special characters in their name: the file Uri is wrongGiven a file with a special character in its name, e.g. a "hash" : `"/tmp/whatever #foo.png"`
Then Catfish will be able to list it but not open it (directly).
We fallback on the "Select Application" menu where the first choice is the d...Given a file with a special character in its name, e.g. a "hash" : `"/tmp/whatever #foo.png"`
Then Catfish will be able to list it but not open it (directly).
We fallback on the "Select Application" menu where the first choice is the default app.
Pressing Enter then opens the file, proving the app is already correctly associated with this file type.
In CatfishWindow.py, we see this:
```plaintext
else:
try:
uri = "file://" + filename
Gio.AppInfo.launch_default_for_uri(uri)
except:
self.on_menu_open_with_activate(self)
return
```
I changed the except part to this:
```plaintext
except Exception as e:
print("The error is: ", e)
self.on_menu_open_with_activate(self)
```
And saw this exception:
```plaintext
g-io-error-quark: Error when getting information for file “'file:///tmp/whatever ”: No such file or directory (1)
```
Which means the uri is wrong and we go to `self.on_menu_open_with_activate(self)`.
One of the following methods could be used to build a correct uri:
```plaintext
import pathlib
...
uri = pathlib.Path(filename).as_uri()
```
```plaintext
import urllib.parse
import urllib.request
...
uri = urllib.parse.urljoin("file://", urllib.request.pathname2url(filename))
```4.18.1StephGbzhStephGbzhhttps://gitlab.xfce.org/apps/catfish/-/issues/102catfish creates an empty ~/.config directory when opened2024-01-07T09:41:27ZSamuerucatfish creates an empty ~/.config directory when openedI have XDG_CONFIG_HOME="$HOME/.local/config" and most xfce4-apps I've tested (thunar, xfce4-terminal, etc) respond correctly to it.
The issue I have is that when catfish is launched, it results in the creation of ~/config/catfish which ...I have XDG_CONFIG_HOME="$HOME/.local/config" and most xfce4-apps I've tested (thunar, xfce4-terminal, etc) respond correctly to it.
The issue I have is that when catfish is launched, it results in the creation of ~/config/catfish which is an empty directory. Changing catfish settings results in no file being created in that directory either but the settings are still being saved somewhere else.
Edit: The issue is caused by this line in CatfishSettings.py
```
DEFAULT_SETTINGS_FILE = os.path.join(os.getenv('HOME'),
'.config/catfish/catfish.rc')
```
I tested changing it to this:
```
config_home = os.getenv('XDG_CONFIG_HOME', os.path.join(os.getenv('HOME'), '.config'))
DEFAULT_SETTINGS_FILE = os.path.join(config_home, 'catfish/catfish.rc')
```
And it worked! The ~/.config dir is no longer being created.4.18.1Gaël BonithonGaël Bonithonhttps://gitlab.xfce.org/apps/catfish/-/issues/101Catfish 4.18.0 - Missing context menu2023-10-17T14:29:57ZPierluigi GargiuloCatfish 4.18.0 - Missing context menuNo response at all when I right click on a file in the result window.
Home PC: Manjaro Linux kernel 6.5.5-1.
Laptop: Manjaro Linux kernel 6.1.55-1.
EDIT: on both, it's XFCE environmentNo response at all when I right click on a file in the result window.
Home PC: Manjaro Linux kernel 6.5.5-1.
Laptop: Manjaro Linux kernel 6.1.55-1.
EDIT: on both, it's XFCE environment4.18.1Gaël BonithonGaël Bonithonhttps://gitlab.xfce.org/apps/catfish/-/issues/99Drag-to-unmaximise only works in modern CSD window layout, but incorrectly ma...2023-08-30T17:14:49ZSimon DedmanDrag-to-unmaximise only works in modern CSD window layout, but incorrectly maximises in 2nd monitorI was going to ask for an enhancement/bugfix to dragging a maximised Catfish window to cause it to unmaximise and move, like Thunar/everything else, but it turns out this works, but only for modern CSD window layout, not classic titlebar...I was going to ask for an enhancement/bugfix to dragging a maximised Catfish window to cause it to unmaximise and move, like Thunar/everything else, but it turns out this works, but only for modern CSD window layout, not classic titlebar layout. I'm happy enough switching to modern now I know it exists and is more functional, but I figure it's still probably a bug that this doesn't work on classic titlebar layout?
Related: if I unmaximise-drag from a Catfish window maximised in monitor 1 (larger) and drag it to the top of monitor 2 (smaller), causing it to expand to the extents of that monitor, it extends to the correct size while leftmouse is still depressed, but then extends more to be too big, once leftmouse is released. It stays too big until focus is clicked off Catfish, whereupon it shrinks again to correct size (full monitor), and stays that way when focus is switched back onto it. Super weird. It behaves normally if maximised on monitor 2 then dragged to the top of monitor 1. [Video](https://drive.google.com/file/d/1Z-mZBmLwdQf7wxKaGmNOw3wP5MDCndcX/view?usp=sharing).
v4.18.0 on Xubuntu 23.04. Cheers!https://gitlab.xfce.org/apps/catfish/-/issues/98Feature Request: libarchive instead of python zipfile2023-07-30T07:26:04ZSaijin-NaibFeature Request: libarchive instead of python zipfileAfter a bit of poking around, I found that Catfish uses the Python library zipfile for searching within archives, which, depending upon how it is built, can handle DEFLATE, BZ2, and LZMA only. This leaves out a ton of archive formats fol...After a bit of poking around, I found that Catfish uses the Python library zipfile for searching within archives, which, depending upon how it is built, can handle DEFLATE, BZ2, and LZMA only. This leaves out a ton of archive formats folks might be using. For me personally, everything is 7z of some sort.
It looks like post-Python 3.7ish, the libarchive python bindings should support almost every format that libarchive handles.
If Catfish were to use that, we'd be able to search within a ton of different archive formats and would, IMO, lead to a much better user experience.https://gitlab.xfce.org/apps/catfish/-/issues/97The CSD/SSD setting only affects the main window: dialogs should also be affe...2023-07-27T15:28:21ZGaël BonithonThe CSD/SSD setting only affects the main window: dialogs should also be affectedInstead, dialogs (starting with the preferences dialog) are always CSD.Instead, dialogs (starting with the preferences dialog) are always CSD.https://gitlab.xfce.org/apps/catfish/-/issues/96gigolo make2023-07-03T10:26:21ZRouskmobirun33@gmail.comgigolo make
$ make
make: *** No targets specified and no makefile found. Stop.
#apt install xfce4-dev-tools
$ make
make: *** No targets specified and no makefile found. Stop.
#apt install xfce4-dev-toolshttps://gitlab.xfce.org/apps/catfish/-/issues/95gigolo make2023-07-03T10:26:21ZRouskmobirun33@gmail.comgigolo make$ make
make: *** No targets specified and no makefile found. Stop.
apt install xfce4-dev-tools$ make
make: *** No targets specified and no makefile found. Stop.
apt install xfce4-dev-toolshttps://gitlab.xfce.org/apps/catfish/-/issues/94catfish shows files only after it is stopped2023-07-31T06:07:28ZCaneRandagiocatfish shows files only after it is stoppedWhen I run a search, catfish only shows the files it finds **after I stop the search**,
or **after a long time**.
The search is performed on a SATA SSD.
Ubuntu 22.10
Catfish 4.16.4
[catfish.mkv](/uploads/cd0d226256d96ac2b2317f1d3e50434...When I run a search, catfish only shows the files it finds **after I stop the search**,
or **after a long time**.
The search is performed on a SATA SSD.
Ubuntu 22.10
Catfish 4.16.4
[catfish.mkv](/uploads/cd0d226256d96ac2b2317f1d3e504344/catfish.mkv)https://gitlab.xfce.org/apps/catfish/-/issues/92Support for plocate.2023-06-07T18:12:26ZJoel BarriosSupport for plocate.Please, add support for [plocate](https://plocate.sesse.net/). Currently catfish only looks for `/var/lib/mlocate/mlocate.db`, while plocate uses `/var/lib/plocate/plocate.db`. Some Linux distributions [seems to be seriously considering ...Please, add support for [plocate](https://plocate.sesse.net/). Currently catfish only looks for `/var/lib/mlocate/mlocate.db`, while plocate uses `/var/lib/plocate/plocate.db`. Some Linux distributions [seems to be seriously considering to replace or have already replaced mlocate with plocate](https://fedoraproject.org/wiki/Changes/Plocate_as_the_default_locate_implementation).
Even without liburing support enabled, plocate is way more efficient and faster than mlocate. Also database is considerably smaller.4.18.0Gaël BonithonGaël Bonithonhttps://gitlab.xfce.org/apps/catfish/-/issues/91Interacting with search results is limited to using the mouse on a single lin...2023-06-09T08:32:52ZGM-Script-Writer-62850Interacting with search results is limited to using the mouse on a single line itemXubuntu 22.04, default packages
So the other day I synced up my new owncloud server to my old install (around 2 years out of date) and ended up with a LOT of conflict files, so I searched using catfish for all the conflict files I could...Xubuntu 22.04, default packages
So the other day I synced up my new owncloud server to my old install (around 2 years out of date) and ended up with a LOT of conflict files, so I searched using catfish for all the conflict files I could just delete, then I pressed Ctrl+A then right clicked and now i am only selecting one file, maybe I can use the delete key... nope
Seems the only way to do anything at all with the results is to right click every file individually
I should be able to select multiple files and preform bulk actions on themhttps://gitlab.xfce.org/apps/catfish/-/issues/90Holding a modifier when Catfish loses focus disables right-click2023-10-11T08:57:48ZnewhoaHolding a modifier when Catfish loses focus disables right-clickIf the Catfish main window loses focus when a modifier (Control or Shift) is being pressed, the value is not removed from `self.keys_pressed` when returning.
This causes the right click menu not to show on results until a modifier is pr...If the Catfish main window loses focus when a modifier (Control or Shift) is being pressed, the value is not removed from `self.keys_pressed` when returning.
This causes the right click menu not to show on results until a modifier is pressed again.
Noticed this after finding/fixing the same bug in !55 (when using a modifier to open the Open dialog). It seems a really unlikely thing to happen under normal circumstances but just thought I'd add it here.https://gitlab.xfce.org/apps/catfish/-/issues/89Catfish fails to update database 4.16 lubuntu 22.04 jammy2023-06-07T18:12:25Zjerson aCatfish fails to update database 4.16 lubuntu 22.04 jammyHello, I have this problem. Every time I open catfish it asks me to update the search index. but it does not update when entering the administrator password, the end says, an error occurred while updating the search index.
the path it sh...Hello, I have this problem. Every time I open catfish it asks me to update the search index. but it does not update when entering the administrator password, the end says, an error occurred while updating the search index.
the path it shows is:/var/lib/mlocate/mlocate.db.
the other path for administrator is: usr/bin/updatedb
What I can do. Thank you.
note. in usr/bin/ there is a shortcut file or link target to; /etc/alternatives/updatedb. which gives another, destination of the link to; /usr/sbin/updatedb.plocate, which is a file with no link target.4.18.0Gaël BonithonGaël Bonithonhttps://gitlab.xfce.org/apps/catfish/-/issues/88Please enable Kazakh locale2023-06-09T11:41:43ZBaurzhan MuftakhidinovPlease enable Kazakh localeI am translating it on Transifex.
Please enable Kazakh (kk) locale
Thanks,I am translating it on Transifex.
Please enable Kazakh (kk) locale
Thanks,https://gitlab.xfce.org/apps/catfish/-/issues/87Drag and Drop to Telegram / Kotatogram doesn't work2023-06-09T11:36:36ZValentin the DeguDrag and Drop to Telegram / Kotatogram doesn't worki'm unable to can drag and drop to telegram :(
the cursor icon turns into "not allowed" and when i release notthing happens
![Снимок_экрана_2022-12-01_23-25-43_xfce_catfish_telegram_drag_drop_fail](/uploads/b3c1501dbd906b4cb95e7600214b...i'm unable to can drag and drop to telegram :(
the cursor icon turns into "not allowed" and when i release notthing happens
![Снимок_экрана_2022-12-01_23-25-43_xfce_catfish_telegram_drag_drop_fail](/uploads/b3c1501dbd906b4cb95e7600214bcbd0/Снимок_экрана_2022-12-01_23-25-43_xfce_catfish_telegram_drag_drop_fail.png)https://gitlab.xfce.org/apps/catfish/-/issues/86Cannot update database message2023-06-07T16:13:23ZJames RobinsonCannot update database messageI have noted that there is a previous issue listed with the same issue- title i.e. since upgrading (downgrading) Xubuntu 20.04 LTS to Xubuntu 22.04.1 LTS I am unable to update the catfish database, issue Number 78.
I am having the same...I have noted that there is a previous issue listed with the same issue- title i.e. since upgrading (downgrading) Xubuntu 20.04 LTS to Xubuntu 22.04.1 LTS I am unable to update the catfish database, issue Number 78.
I am having the same problem. I have not received any answers to my request on the main Ubuntu site and I have not see any questions therefore no answers on the Xubuntu site.
I have checked for permission problems
mlocate file permissions have changed
working version group mlocate R&W version 20.04
non-working version group root RO version 22.04
changed permissions to to the ones associated with previous working version but no obvious change in the end result but I did notice the error message seemed to take longer to appear on one of my upgraded systems.
This leads to a question is there another directory that u=is related as temp directory that I need to check the permissions.
Since I have not received any response to questions on the (X)ubuntu sites, has catfish been replaced by another programme. I would hope not!! because catfish seems to be very efficient with low system requirements.
Best Wishes
Jimhttps://gitlab.xfce.org/apps/catfish/-/issues/85catfish crashed with OSError in _execute_child(): [Errno 7] Argument list too...2023-06-09T11:35:36ZSean Daviscatfish crashed with OSError in _execute_child(): [Errno 7] Argument list too long: 'locate'Reported on Launchpad at https://bugs.launchpad.net/ubuntu/+source/catfish/+bug/1968452
DistroRelease: Ubuntu 22.04
Package: catfish 4.16.3-1
```
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/catfish/Catfish...Reported on Launchpad at https://bugs.launchpad.net/ubuntu/+source/catfish/+bug/1968452
DistroRelease: Ubuntu 22.04
Package: catfish 4.16.3-1
```
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/catfish/CatfishWindow.py", line 2079, in perform_query
for filename in self.search_engine.run(keywords, folder, search_zips, regex=True):
File "/usr/lib/python3/dist-packages/catfish/CatfishSearchEngine.py", line 203, in run
for filename in method.run(keywords, path, search_zips, regex,
File "/usr/lib/python3/dist-packages/catfish/CatfishSearchEngine.py", line 752, in run
self.process = subprocess.Popen(command, stdout=subprocess.PIPE,
File "/usr/lib/python3.10/subprocess.py", line 966, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/lib/python3.10/subprocess.py", line 1842, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
OSError: [Errno 7] Argument list too long: 'locate'
```https://gitlab.xfce.org/apps/catfish/-/issues/84"Show in File Manager" doesn't open files in Thunar2023-06-09T11:06:06ZSimon Dedman"Show in File Manager" doesn't open files in ThunarXubuntu 22.04 with Thunar and dependencies compiled from source, v4.17.9git-82879d9b.
With Thunar already open or closed, 'show in file manager' does nothing.
Thunar is my default File Manager in Default Applications... though I'm not ...Xubuntu 22.04 with Thunar and dependencies compiled from source, v4.17.9git-82879d9b.
With Thunar already open or closed, 'show in file manager' does nothing.
Thunar is my default File Manager in Default Applications... though I'm not sure if that's the original version of Thunar or the new git cloned version. If I type 'thunar' in terminal, the git clone version opens, in case that's any help.
Thankshttps://gitlab.xfce.org/apps/catfish/-/issues/83Document FileType doesn't show pdf; works with no FileType selected, or Appli...2023-06-06T17:31:53ZSimon DedmanDocument FileType doesn't show pdf; works with no FileType selected, or Applications selectedv4.16.3 but this wasn't addressed in the 4.16.4 updates in NEWS.
Reproduce:
1. Set search folder (may be optional)
2. type search term for a known pdf
3. select filetype = Documents
4. No results
5. Change filetype to none
6. pdf result...v4.16.3 but this wasn't addressed in the 4.16.4 updates in NEWS.
Reproduce:
1. Set search folder (may be optional)
2. type search term for a known pdf
3. select filetype = Documents
4. No results
5. Change filetype to none
6. pdf result appears
7. Change filetype to Applications
8. pdf result appears
![catfish-bug-1](/uploads/1e685303abd8cac567dd2254f5a487bd/catfish-bug-1.png)
![catfish-bug-2](/uploads/792aba51460aca5af2c6917c110f5697/catfish-bug-2.png)
![catfish-bug-3](/uploads/627668d2c30844b32623265fa242277c/catfish-bug-3.png)
Cheers!4.18.0newhoanewhoahttps://gitlab.xfce.org/apps/catfish/-/issues/82[Enhancement] Catfish - highlight the text-entry search box's magnifying glas...2023-06-09T11:35:11ZNM64[Enhancement] Catfish - highlight the text-entry search box's magnifying glass when the mouse cursor hovers over itI did not realize that the search magnifying glass in catfish is in fact a clickable button - visually it looks identical to the magnifying glass that is in the whisker menu's own text-entry search box, but the magnifying glass in the wh...I did not realize that the search magnifying glass in catfish is in fact a clickable button - visually it looks identical to the magnifying glass that is in the whisker menu's own text-entry search box, but the magnifying glass in the whisker menu's own text-entry search box is *not* a clickable button.
So yeah, providing some sort of visual feedback that it's actually a clickable button would be useful, and presumably the same goes for the (X) stop button when a search is actually in progress.
Before discovering that it was a clickable button, I thought one *had* to press the enter key instead to make a search.