1.3.1 - catalog - 'Relocate folder' has no path validation

Older bugs which are supposed to be fixed in 0.84. *** Please try to reproduce your bug and confirm the bug fix. ***

Moderators: XnTriq, helmut, xnview, Dreamer

User avatar
user0
XnThusiast
Posts: 1645
Joined: Sat May 09, 2015 9:37 am

1.3.1 - catalog - 'Relocate folder' has no path validation

Post by user0 »

XnView: MP 1.3.1 64bits
OS: Windows 64bit (22H2), display resolution 3840x2160, win scaling 150%

Settings → Catalog → Catalog tab
'Relocate folder' functionality has no path validation.

To reproduce:
1. run clean portable XnViewMP
2. open Settings (F12)
3. goto Catalog → Catalog tab
4. press 'Relocate...' button and select root directory, e.g. c:\

Actual behaviour:
User can type anything in 'New path:' field

Expected behaviour:
Guess there shall be standard folder selection dialog
You do not have the required permissions to view the files attached to this post.
User avatar
xnview
Author of XnView
Posts: 43828
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: 1.3.1 - catalog - 'Relocate folder' has no path validation

Post by xnview »

:bugconfirmed: Thanks to your detailed description I can reproduce the problem.
Pierre.
User avatar
user0
XnThusiast
Posts: 1645
Joined: Sat May 09, 2015 9:37 am

Re: 1.3.1 - catalog - 'Relocate folder' has no path validation

Post by user0 »

xnview wrote: Wed Oct 26, 2022 12:51 pm :bugconfirmed: Thanks to your detailed description I can reproduce the problem.
partially fixed in 1.4.0b1:
- OK - it does not allow to replace root path (e.g. E:\) with not_valid_path
- BUG - it still allows to replace long path (e.g. E:\test\) with not_valid_path
You do not have the required permissions to view the files attached to this post.
User avatar
xnview
Author of XnView
Posts: 43828
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: 1.3.1 - catalog - 'Relocate folder' has no path validation

Post by xnview »

This problem is supposed to be fixed in XnView MP 1.4.0. Please check and confirm the bug fix here.
Pierre.
User avatar
user0
XnThusiast
Posts: 1645
Joined: Sat May 09, 2015 9:37 am

Re: 1.3.1 - catalog - 'Relocate folder' has no path validation

Post by user0 »

xnview wrote: Tue Dec 13, 2022 7:36 am This problem is supposed to be fixed in XnView MP 1.4.0. Please check and confirm the bug fix here.
1.4.5
issues still remain - it still allows to replace long_path (e.g. "e:\test\") with not_valid_path (e.g. "qqq")
as described in my message above