Page 1 of 1

When Skip File, Rename Numbering is Off

PostPosted: Sun Dec 04, 2016 12:54 am
by adonismale
Hi,

Quick introduction: I've been using BRU for over three years now and I don't think I can survive without it. I routinely upload many images to my online community and this tool has been an absolute lifesaver ... over time, I've become a rather advanced user by cleaning up filenames and doing some incredible things with BRU.

Running BRU v3.0.0.1 on Windows 10 PC

This didn't used to be a problem until a couple of months ago with an update. I used to be able to do the following:
OLD NAME 1 --> NEW NAME 001
OLD NAME 10 --> (skip)
OLD NAME 2 --> NEW NAME 002
OLD NAME 3 --> NEW NAME 003
OLD NAME 4 --> NEW NAME 004

However, now when I skip a file, it does all sorts of weird things:
1. It skips the auto-numbering sequence
OLD NAME 1 --> NEW NAME 001
OLD NAME 10 --> (skip)
OLD NAME 2 --> NEW NAME 003
OLD NAME 3 --> NEW NAME 004
OLD NAME 4 --> NEW NAME 005

(By the way, usually I first select all files by hitting CTRL+A, and then unselect a file.)

2. It also skips the cursor selection prior to my CTRL+A selection.

For example, if I had "Old Name 4" selected before choosing all files, then it'll skip that as well ...
OLD NAME 1 --> NEW NAME 001
OLD NAME 10 --> (intentionally skipped)
OLD NAME 2 --> NEW NAME 004
OLD NAME 3 --> NEW NAME 005
OLD NAME 4 --> (unintentionally skipped)

Image

I would definitely appreciate your advice, since this is driving me nuts. I checked menu Renaming Options > Retain Autonumber, since that doesn't solve the problem.

BUG: Ctrl+click deselects unintended file

PostPosted: Sun Dec 04, 2016 3:52 pm
by therube
There is a weird bug in there.
Probably a few interrelated weird bugs.

One BUG:
CTRL+click may reverse the selection status of an unintended file

Two BUG:
CTRL+click may or may not renumber (10:Renumbering) consecutively as expected


-------


Using a set of 9 files, names are immaterial
Enable:
10:Numbering, Prefix, Start 1, Incr 1, Pad 4

Place focus on the first file
New Name: 0001_name

Ctrl+A to select all
Files are named, 0001_name ... 0009_name

Ctrl+click to deselect 0003_name

Expected:
0003 is deselected

Results:
Both 0001 & 0003 are deselected


"Focus" appears to stick with 0001 (the original file that you first placed focus on in these steps), so even though you only CTRL+click 0003 to deselect that, both end up being deselected.

At that point, note that (what had been 0001) is still highlighted in blue.
It is highlighted in blue, yet the 10:Numbering option is not affecting it,
- at least the New Name column does not show it will be affected,
( though thinking it will - nonetheless, but not sure ... at this point? )
(( no, it does not rename ))
Since it is not being affected by a rename operation, you would not expect a blue highlight, but for it to be white.
( not to mention that it should not have been deselected at all )


THEN:

Harder to describe (& actually can be seen with just the steps above) is the non-consecutive numbering that results - at times.
Such that depending on what, how*, you click, results may or may not be numbered consecutively.
How... as in, CTRL+click, 1 3 5, vs CTRL+click 1 3, release, again hold down CTRL & click 5, that kind of thing.


ALSO:

If you deselect/select the checkbox in 10:Numbering, that will cause all the blue highlighted files (including any that were already blue but were being left unaffected, like 0001 above) to then be affected, with the numbering as expected.

Re: When Skip File, Rename Numbering is Off

PostPosted: Sun Dec 04, 2016 7:04 pm
by adonismale
So you're able to duplicate the bug?

Re: When Skip File, Rename Numbering is Off

PostPosted: Tue Dec 06, 2016 1:21 am
by therube
Yes, I'd say there are various oddities, bugs in there.

Re: When Skip File, Rename Numbering is Off

PostPosted: Wed Dec 07, 2016 2:32 am
by Admin
We will check this in the source code and report back.