Page 1 of 1

Crashes while renaming a folder

Posted: Sat Feb 27, 2010 7:22 pm
by Grincheux
If you add a white space to a folder name in the folder treeview, XnView crashes.

Dans XnView, ou plutôt dans le TreeView, si l'on renomme un dossier en y ajoutant un BLANC en fin du nouveau nom, XnView plante. Voici le rapport d'erreur :

AppName: xnview.exe AppVer: 1.97.0.0 ModName: shell32.dll
ModVer: 6.0.2900.5622 Offset: 0002ce3d

Pour info, j'ai voulu essayer ce que fait explorer lorsque l'on renomme un dossier et que le nom de ce dossier se termine par un espace. Explorer enlève les espaces à la fin des noms de dossiers. Pas XnView, dommage.

Bon courage.

Re: Crashes while renaming a folder

Posted: Sun Feb 28, 2010 2:41 pm
by xnview
Yes right, crash. But do you think that xnview must remove space at the end of a name??

Re: Crashes while renaming a folder

Posted: Sun Feb 28, 2010 3:09 pm
by Clo
:P Pierre

:) Hello !
…But do you think that xnview must remove space at the end of a name?
• Indeed it must. Windows and good file managers do so, such a space doesn't make sense…
- If the user - for some (dark) reasons- wants for a trailing space- s¦he can always type Alt+0160
to get a unsecable space (as a “normal” character) :wink:

:mrgreen: KR
Claude
Clo

Re: Crashes while renaming a folder

Posted: Sun Feb 28, 2010 4:15 pm
by Grincheux
I was renaming a folder named "Monroe Marilyn" in "Marilyn Monroe". I forgot the last space and XnView crashes. That's all. This can reproduced by anyone.

Re: Crashes while renaming a folder

Posted: Sun Feb 28, 2010 6:26 pm
by marsh
Clo wrote:
…But do you think that xnview must remove space at the end of a name?
• Indeed it must. Windows and good file managers do so, such a space doesn't make sense…
- If the user - for some (dark) reasons- wants for a trailing space- s¦he can always type Alt+0160
to get a unsecable space (as a “normal” character) :wink:
Good morning C,
It doesn't make sense with Windows-only, but on emulator any automatic renaming could be a problem. Other OS support trailing spaces along with case-sensitive names.