! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Search and Replace no longer works on file renamer
Status:
RESOLVED: INVALID

Comments

Description John Duchek 2019-08-05 02:26:00 CEST
When one requests search and replace on the file renamer, it gives you the screen.  If you type in a search phrase, it finds nothing.  Thus one cannot replace it.  Other functions seem to work ok.  I am using Fedora 30 with XFCE
Comment 1 alexxcons editbugs 2019-08-06 09:54:20 CEST
Cannot reproduce. Search & replace in bulk renamer work just like usually for me.

Could you please add a concrete, minimal example to reproduce the bug ?

- Minimal number of files to trigger the bug ?
- Name of the files ?
- Search & replace strings ? Regular Expression ? Case sensitive ?

Thanks !
Comment 2 John Duchek 2019-08-06 14:36:26 CEST
Created attachment 8850 
screenshot of my comment

Here is a screen shot.  I put the image files in (any number) and tell it to find IMG and replace it with test (I tried TEST and unchecked the regular expression with the same result).  In all cases the Rename Files remains grey, as does cancel and nothing appears under the new name.  I use this feature all the time, and it is just in the last several weeks that this problem has occurred.  If I switch to other options (Insert date/time, etc) the rename files and cancel are no long greyed out.  and the new name file is filled with file names.
Comment 3 John Duchek 2019-08-06 14:38:36 CEST
my mistake, the cancel button is not greyed out, just the rename files button.
Comment 4 alexxcons editbugs 2019-08-06 18:18:08 CEST
Looks like you added a space before 'IMG'  ... the renamer did not find any picture with '<space>IMG'  :D
Comment 5 John Duchek 2019-08-06 19:20:16 CEST
You are correct.  Thank you.  Is there any way when you load the program to start with empty fields?  Or eliminating leading spaces?  No idea how the space got there, and it has been loading that screen that way for weeks.  So I guess that is a feature request ;-).  Anyway, thank you for noticing that.  It was driving me nuts.
John
Comment 6 alexxcons editbugs 2019-08-06 23:57:26 CEST
yw :)

The latest renamer-settings are stored in $HOME/.config/Thunar/renamerrc
So theoretically you could whipe this file, e.g. at startup ... well a bit hackish.

Dont think it is a good idea to remove the storage of settings .. I bet that other users will complain.
Comment 7 John Duchek 2019-08-07 00:22:56 CEST
You are probably right about that; maybe making leading blanks visible?  Anyway hopefully next time I will see it. Again thanks for the help. 
John

Bug #15784

Reported by:
John Duchek
Reported on: 2019-08-05
Last modified on: 2019-08-07

People

Assignee:
Xfce Bug Triage
CC List:
1 user

Version

Attachments

screenshot of my comment (43.53 KB, image/png)
2019-08-06 14:36 CEST , John Duchek
no flags

Additional information