Files to rename not selectable (only folders)

Support for Ubuntu and other Desktop Linux distributions
Post Reply
Sjonnie
Posts: 10
Joined: 23 Apr 2019, 16:56

Files to rename not selectable (only folders)

Post by Sjonnie »

Hi All,

I recently bought a one year license for FileBot because I had some trouble with the version I was using. I had major problems (failed to initialize JavaFX-type of problems) getting FileBot installed and run properly but finally managed. I am using FileBot_4.8.5_amd64.deb on Ubuntu 18.04.

When I try to rename files I cannot select individual files but only a folder. This requires me to move files to a separate folder before I can rename them.

Anyone have a solution for this?

Looking forward :)

Regards,

Sjonnie
User avatar
rednoah
The Source
Posts: 22899
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Files to rename not selectable (only folders)

Post by rednoah »

You can use drag & drop or copy & paste from your File Manager to select individual files effectively. If you right-click on the Load button, you will also get additional options for File / Folder Selection Dialogs.
:idea: Please read the FAQ and How to Request Help.
Sjonnie
Posts: 10
Joined: 23 Apr 2019, 16:56

Re: Files to rename not selectable (only folders)

Post by Sjonnie »

Hi Red,

Right clicking the load button does allow me to select files. Is there a reason for this changed behavior?

Tx!

Greetz,

Sjonnie
User avatar
rednoah
The Source
Posts: 22899
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Files to rename not selectable (only folders)

Post by rednoah »

Gnome File Chooser doesn't support File & Folder mode. It's either or.

The Java Swing implementation supports both, but is ugly and doesn't network drives and user preferences etc that you get with the Gnome File Chooser.

Regardless, use drag and drop instead, i haven't seen a file dialog in years.

You can use system properties for different file Chooser implementations. The default has changed, but you can used the previous one if you prefer.
:idea: Please read the FAQ and How to Request Help.
Sjonnie
Posts: 10
Joined: 23 Apr 2019, 16:56

Re: Files to rename not selectable (only folders)

Post by Sjonnie »

Hi Red,

D&D doesn't work on my machine. I tried creating a preset but somehow I don't get what I want. So I'll stick to right-clicking the load button. It takes some getting used to but I'll live ;)

Greetz,

Sjonnie
User avatar
rednoah
The Source
Posts: 22899
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Files to rename not selectable (only folders)

Post by rednoah »

If dnd doesn't work, then you should get some log entries that might help us figure out why.

Can you check the log and see what it says?
:idea: Please read the FAQ and How to Request Help.
Sjonnie
Posts: 10
Joined: 23 Apr 2019, 16:56

Re: Files to rename not selectable (only folders)

Post by Sjonnie »

Hi Red,

The latest entries to the log are these:
Apr 24, 2019 6:47:14 PM net.filebot.CachedResource fileNotFound
WARNING: Resource not found: https://api.thetvdb.com/search/series?n ... *+download
Apr 24, 2019 7:06:24 PM net.filebot.Main onStart
SEVERE: Failed to initialize JavaFX
java.lang.NoClassDefFoundError: javafx/embed/swing/JFXPanel
at net.filebot.util.ui.SwingUI.initJavaFX(SwingUI.java:582)
at net.filebot.Main.onStart(Main.java:196)
at net.filebot.Main.lambda$null$0(Main.java:162)
at net.filebot.util.ui.SwingUI$SwingRunnable.doInBackground(SwingUI.java:472)
at net.filebot.util.ui.SwingUI$SwingRunnable.doInBackground(SwingUI.java:462)
Caused by: java.lang.ClassNotFoundException: javafx.embed.swing.JFXPanel
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:583)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
... 5 more

Apr 26, 2019 4:36:45 PM net.filebot.media.XattrMetaInfo setMetaInfo
WARNING: Failed to set xattr: FileSystemException: /mnt/*********_Download/The Orville - 2x14 - The Road Not Taken.mkv: Error writing extended attribute 'net.filebot.metadata': Operation not supported
Apr 26, 2019 4:36:45 PM net.filebot.media.XattrMetaInfo setMetaInfo
WARNING: Failed to set xattr: FileSystemException: /mnt/*********_Download/The Orville - 2x14 - The Road Not Taken.srt: Error writing extended attribute 'net.filebot.metadata': Operation not supported
User avatar
rednoah
The Source
Posts: 22899
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Files to rename not selectable (only folders)

Post by rednoah »

Sorry, none of those are related to DnD. The logs would only show up once you actually drag and drop files onto FileBot.
:idea: Please read the FAQ and How to Request Help.
Sjonnie
Posts: 10
Joined: 23 Apr 2019, 16:56

Re: Files to rename not selectable (only folders)

Post by Sjonnie »

Turns out I have to drag, wait two seconds and then drop. Weird but workable. So now two options to work on files and not folders :)
User avatar
rednoah
The Source
Posts: 22899
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Files to rename not selectable (only folders)

Post by rednoah »

That is weird indeed. Probably not something that can be fixed in the FileBot code though. Are you dropping remote files? Maybe something somewhere is slow because accessing files via the network is super slow.
:idea: Please read the FAQ and How to Request Help.
Sjonnie
Posts: 10
Joined: 23 Apr 2019, 16:56

Re: Files to rename not selectable (only folders)

Post by Sjonnie »

The files are dropped from a mounted NFS share. The network is Gigabit all the way and the files are hosted on a DS215+. I suspect the file handler on my Linux machine is the cause of the delay. I can live with it :)
Post Reply