RegEx Rename - Preview Window

Features wanted...
Pagat
Posts: 308
Joined: 09 Oct 2007 21:23
Location: Austria

Post by Pagat »

for me the RegEx Preview dialog expands to the edge of the screen (with ~10 pixel margin)
OS: Windows 11, 64-bit, Version 25H2, Build 26200.8655 (10.0), AMD64
Monitor: 1/2 (Primary) Primary Screen DPI: 96 (100%)

jacky
XYwiki Master
Posts: 3106
Joined: 23 Aug 2005 22:25
Location: France
Contact:

Post by jacky »

admin wrote::shock: :? Can anybody confirm this? Are you sure you are using the latest beta??
Well, it seems your algo uses the new names only, so renaming short filenames into long one will get a window as wide as the screen (if needed), but renaming very long filenames to short(er) ones will get a small window with scrolling to do...
Proud XYplorer Fanatic

Pagat
Posts: 308
Joined: 09 Oct 2007 21:23
Location: Austria

Post by Pagat »

indeed... i checked only the short -> long situation...
OS: Windows 11, 64-bit, Version 25H2, Build 26200.8655 (10.0), AMD64
Monitor: 1/2 (Primary) Primary Screen DPI: 96 (100%)

admin
Site Admin
Posts: 66310
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Post by admin »

jacky wrote:
admin wrote::shock: :? Can anybody confirm this? Are you sure you are using the latest beta??
Well, it seems your algo uses the new names only, so renaming short filenames into long one will get a window as wide as the screen (if needed), but renaming very long filenames to short(er) ones will get a small window with scrolling to do...
Aaaahhhh...... :roll: .... :oops:

Mesh
Posts: 956
Joined: 24 Mar 2008 21:22

Post by Mesh »

There's something else it's not taking into account also:

If the maximum file name length is 50 characters, then it will size each pane for 50 characters. But if any of those filenames on the right pane end up being prefixed with "<Unchanged>", it doesn't take that into account, and the right pane needs to be scrolled.


In addition to the height issue, may I ask that if you're going to keep this window autosizing, can you please add 3-4 character widths of padding between the end of the longest filename and the edge of the pane? Having text run right up to the pane is not only aesthetically displeasing, but it always - every single time - has me double and triple checking that there isn't more text being scrolled offscreen that I'm not seeing (which is one of the reasons why I like to resize windows like this).

jacky
XYwiki Master
Posts: 3106
Joined: 23 Aug 2005 22:25
Location: France
Contact:

Post by jacky »

Since we're adding stuff here : I don't think both pane have to be the same width. Better to have a smaller window with each panel only as wide as they need to, even if that means one is smaller than the other...
Proud XYplorer Fanatic

admin
Site Admin
Posts: 66310
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Post by admin »

jacky wrote:Since we're adding stuff here : I don't think both pane have to be the same width. Better to have a smaller window with each panel only as wide as they need to, even if that means one is smaller than the other...
I actually had tried this and while it's very economic with space it was aesthetically displeasing. But hey, I'll let you decide in the next upload...

admin
Site Admin
Posts: 66310
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Post by admin »

Mesh wrote:There's something else it's not taking into account also:
...
Okay, will try to improve.

Pagat
Posts: 308
Joined: 09 Oct 2007 21:23
Location: Austria

Post by Pagat »

admin wrote:
jacky wrote:Since we're adding stuff here : I don't think both pane have to be the same width. Better to have a smaller window with each panel only as wide as they need to, even if that means one is smaller than the other...
I actually had tried this and while it's very economic with space it was aesthetically displeasing. But hey, I'll let you decide in the next upload...
Hm, isn't that exactly how v7.40.0008 behaves? In my situation the left pane is 5 times larger than the right one... (vice versa also possible).
OS: Windows 11, 64-bit, Version 25H2, Build 26200.8655 (10.0), AMD64
Monitor: 1/2 (Primary) Primary Screen DPI: 96 (100%)

admin
Site Admin
Posts: 66310
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Post by admin »

Pagat wrote:
admin wrote:
jacky wrote:Since we're adding stuff here : I don't think both pane have to be the same width. Better to have a smaller window with each panel only as wide as they need to, even if that means one is smaller than the other...
I actually had tried this and while it's very economic with space it was aesthetically displeasing. But hey, I'll let you decide in the next upload...
Hm, isn't that exactly how v7.40.0008 behaves? In my situation the left pane is 5 times larger than the right one... (vice versa also possible).
Damn, your are right! I had planned to take it out but forgot!

So, do you like it? I must say I'm slowly getting used to it... :)

jacky
XYwiki Master
Posts: 3106
Joined: 23 Aug 2005 22:25
Location: France
Contact:

Post by jacky »

admin wrote:So, do you like it? I must say I'm slowly getting used to it... :)
Oh yeah, 7.40.0008 does that... and I like it. Also, I like it much better than having a huge window for nothing!

The only thing I'd ask now, is if the preview could use the colors from List? Cause I find the alternate/zebra color you use a little too light as I can't really see the distinction between the lines, so if the color for Grid could be used (maybe only if Zebra stripping is enabled?) I'd like that!
Proud XYplorer Fanatic

Pagat
Posts: 308
Joined: 09 Oct 2007 21:23
Location: Austria

Post by Pagat »

I'd say the advantage (smaller/optimized window) outweighs the little disadvantage (the aesthetical thing)
OS: Windows 11, 64-bit, Version 25H2, Build 26200.8655 (10.0), AMD64
Monitor: 1/2 (Primary) Primary Screen DPI: 96 (100%)

Mesh
Posts: 956
Joined: 24 Mar 2008 21:22

Post by Mesh »

admin wrote:
Damn, your are right! I had planned to take it out but forgot!

So, do you like it? I must say I'm slowly getting used to it... :)

I'll vote yes - it's nicely functional by making it easier to line up the lines on the left with the ones on the right, and it doesn't waste space.

So, in order to judge the autosizing method fully, what's left is to fix the horizontal algorithm and enable the vertical. If you really want to get a proper comparison, you could temporarily put in a setting somewhere that would switch between autosizing and manual/remember methods - and people could compare them side by side, so to speak. Actually, with XY's portability, they could copy it into a second folder and literally compare them side by side...

I love XY. :)

Mesh
Posts: 956
Joined: 24 Mar 2008 21:22

Post by Mesh »

I just tried out 7.40.0010, and the horizontal algorithm is working much better now. While I'd still prefer to be able to resize the window, once the height issue is resolved, I could live with this.

Don, when you add the height algorithm, could you please add an extra line of padding at the bottom of the list as well?

Mesh
Posts: 956
Joined: 24 Mar 2008 21:22

Re: RegEx Rename - Preview Window

Post by Mesh »

I was wondering what the status was on implementing the vertical auto-resizing. I just tried out 7.50, but I haven't noticed any difference, unless there's an INI setting I missed?

Post Reply