[SOLVED] Dialog Rename Preview - last character in new name list is sometimes hidden, if unchanged names are selected

Things you’d like to miss in the future...
Post Reply
matewo
Posts: 70
Joined: 03 Jun 2018 21:35

[SOLVED] Dialog Rename Preview - last character in new name list is sometimes hidden, if unchanged names are selected

Post by matewo »

Hi All,

In dialog Rename Preview, last character in new name list is sometimes hidden, if unchanged names have been selected. This is independant, if the unchanged file names are shown in list or not. Steps to reproduce:

Sample with incorrect result:
  • Create files

Code: Select all

2024-03-25--xyplorer.txt
123456789.123456789.123456 (1).zip
123456789.123456789.1234567 (1).zip
123456789.123456789.12345678 (1).zip
123456789.123456789.123456789.12 (1).zip
  • Select all five files (four zip files and text file).
  • Open Rename Special > Regexp Rename...
Enter ␣*\([0-9]+\)␣>␣ (with ␣ equals space character) as regular expression.
  • Preview result (Preview...)
  • Result: all filenames but the longest are displayed correctly. Filename 123456789.123456789.123456789.12.zip is displayed as 123456789.123456789.123456789.12.zi. The list is horizontally scrollable and last character p is out of view. This is independent of showing / hiding unchanged items.

Sample with correct result:
  • Create files

Code: Select all

2024-03-25--xyplorer.txt
123456789.123456789.123456 (1).zip
123456789.123456789.1234567 (1).zip
123456789.123456789.12345678 (1).zip
123456789.123456789.123456789.12 (1).zip
  • Select all four zip files, but not the text file.
  • Open Rename Special > Regexp Rename...
Enter ␣*\([0-9]+\)␣>␣ (with ␣ equals space character) as regular expression.
  • Preview result (Preview...)
  • Result: all filenames are displayed correctly.
Could anyone reproduce this?

Thanks and best regards, Markus

--
Info: XYplorer v25.80.0000
Font: Fira Code (monospaced), 9 or 10 pt
Display: 200% @ 3000 × 2000
Attachments
XYplorer--Rename-Preview--last-character-hidden--2.png
XYplorer--Rename-Preview--last-character-hidden--2.png (47.7 KiB) Viewed 320 times
XYplorer--Rename-Preview--last-character-hidden.png
XYplorer--Rename-Preview--last-character-hidden.png (43.63 KiB) Viewed 320 times
Last edited by matewo on 04 Apr 2024 13:38, edited 1 time in total.

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

Re: Dialog Rename Preview - last character in new name list is sometimes hidden, if unchanged names are selected

Post by admin »

I can reproduce it with other monospace fonts as well, like Courier New. But always, the "p" can be scrolled into view, right?

PS: Should be fixed in next beta.

matewo
Posts: 70
Joined: 03 Jun 2018 21:35

Re: Dialog Rename Preview - last character in new name list is sometimes hidden, if unchanged names are selected

Post by matewo »

Hi Don,
admin wrote: 31 Mar 2024 11:57 But always, the "p" can be scrolled into view, right?

PS: Should be fixed in next beta.
Yes, the "p" can be scrolled into view.

I would like to thank you (and your team) for your continued support, especially for all these users (or just for me?) using monospaced fonts in XYplorer!

Best regards, Markus

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

Re: Dialog Rename Preview - last character in new name list is sometimes hidden, if unchanged names are selected

Post by admin »

So v25.80.0005 fixed it, right?

matewo
Posts: 70
Joined: 03 Jun 2018 21:35

Re: Dialog Rename Preview - last character in new name list is sometimes hidden, if unchanged names are selected

Post by matewo »

admin wrote: 31 Mar 2024 19:48 So v25.80.0005 fixed it, right?
Please excuse, I have not tested v25.80.0005 yet. Will do so by tuesday at the latest :)

matewo
Posts: 70
Joined: 03 Jun 2018 21:35

Re: Dialog Rename Preview - last character in new name list is sometimes hidden, if unchanged names are selected

Post by matewo »

admin wrote: 31 Mar 2024 19:48 So v25.80.0005 fixed it, right?
I would like to just say yes! But...

Using v25.80.0007, I get:
  • default install, font Segoe UI: horizontal scrollbar, some pixels seem not to be displayed (Rename-list_default-install_horiz-scroll.png) ==> would not have expected the horizontal scrollbar
  • monospaced font, size 9pt: horizontal scrollbar (scrolled to the left), some pixels seem not to be displayed (Rename-list_monospaced-09pt_horiz-scroll-to-left.png) ==> would not have expected the horizontal scrollbar
  • monospaced font, size 9pt: horizontal scrollbar (scrolled to the right) (Rename-list_monospaced-09pt_horiz-scroll-to-right.png) ==> dito
  • monospaced font, size 10pt: NO horizontal scrollbar (Rename-list_monospaced-10pt_FIT_NO-horiz-scroll.png) ==> no horizontal scrollbar ==> fine
Can anyone reproduce? Does this make (some) sense?

Best regards, Markus

--
Info: XYplorer v25.80.0005 / v25.80.0007
Display: 200% @ 3000 × 2000
==
Attachments
Rename-list_default-install_horiz-scroll.png
Rename-list_default-install_horiz-scroll.png (32.92 KiB) Viewed 195 times
Rename-list_monospaced-09pt_horiz-scroll-to-left.png
Rename-list_monospaced-09pt_horiz-scroll-to-left.png (32.78 KiB) Viewed 195 times
Rename-list_monospaced-09pt_horiz-scroll-to-right.png
Rename-list_monospaced-09pt_horiz-scroll-to-right.png (32.77 KiB) Viewed 195 times
Rename-list_monospaced-10pt_FIT_NO-horiz-scroll.png
Rename-list_monospaced-10pt_FIT_NO-horiz-scroll.png (34.61 KiB) Viewed 195 times

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

Re: Dialog Rename Preview - last character in new name list is sometimes hidden, if unchanged names are selected

Post by admin »

Fira Code again?

Same input files as in the first post?

matewo
Posts: 70
Joined: 03 Jun 2018 21:35

Re: Dialog Rename Preview - last character in new name list is sometimes hidden, if unchanged names are selected

Post by matewo »

admin wrote: 02 Apr 2024 15:22 Fira Code again?
In this case "Courier New". Would you like screenshots using "Fira Code" as well?
admin wrote: 02 Apr 2024 15:22 Same input files as in the first post?
Yes, correct.

Thanks and best regards, Markus

P.S.: by the way: current solution does work nearly perfectly, so you don't have to care for the one, two pixels just for one person.

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

Re: Dialog Rename Preview - last character in new name list is sometimes hidden, if unchanged names are selected

Post by admin »

It's probably the 200% that makes the difference here. The next version should handle it better.


Post Reply