Page 1 of 1

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

Posted: 26 Mar 2024 11:57
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

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

Posted: 31 Mar 2024 11:57
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.

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

Posted: 31 Mar 2024 19:40
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

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

Posted: 31 Mar 2024 19:48
by admin
So v25.80.0005 fixed it, right?

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

Posted: 31 Mar 2024 20:03
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 :)

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

Posted: 02 Apr 2024 15:19
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
==

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

Posted: 02 Apr 2024 15:22
by admin
Fira Code again?

Same input files as in the first post?

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

Posted: 02 Apr 2024 19:53
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.

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

Posted: 02 Apr 2024 20:55
by admin
It's probably the 200% that makes the difference here. The next version should handle it better.

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

Posted: 04 Apr 2024 13:37
by matewo
SOLVED, tested using v25.80.0007.