When renaming a file in view mode, a dialog appears for entering the new filename.
In 1.82 RC3 one can enter 256 characters for filename plus extension. This is actually too much and will make XnView GPF. There must be a check that length of filename (name + "." + extension) does not exceed 216 characters. (MS Explorer allows a maximum of 216 characters in total, I guess there's some reason for this).
XnView 1.82 <x>
RC3: [GPF] Renaming with very long filename crashes
Moderators: XnTriq, xnview
-
- Posts: 8440
- Joined: Sun Oct 12, 2003 6:47 pm
- Location: Frankfurt, Germany
-
- Author of XnView
- Posts: 37560
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: RC3: [GPF] Renaming with very long filename crashes
Yes, righthelmut wrote:When renaming a file in view mode, a dialog appears for entering the new filename.
In 1.82 RC3 one can enter 256 characters for filename plus extension. This is actually too much and will make XnView GPF. There must be a check that length of filename (name + "." + extension) does not exceed 216 characters. (MS Explorer allows a maximum of 216 characters in total, I guess there's some reason for this).
Pierre.
-
- XnThusiast
- Posts: 2453
- Joined: Tue Feb 17, 2004 1:11 am
- Location: Australia
-
- Posts: 8440
- Joined: Sun Oct 12, 2003 6:47 pm
- Location: Frankfurt, Germany
-
- XnThusiast
- Posts: 4608
- Joined: Sun Jul 25, 2004 9:08 pm