Crashes while renaming a folder

Bugs found in XnView Classic. Please report only one bug per topic!

Moderators: XnTriq, helmut, xnview

Post Reply
User avatar
Grincheux
Posts: 33
Joined: Thu Nov 30, 2006 8:01 am
Location: Arbois - 39
Contact:

Crashes while renaming a folder

Post 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.
Kenavo.
User avatar
xnview
Author of XnView
Posts: 43442
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Crashes while renaming a folder

Post by xnview »

Yes right, crash. But do you think that xnview must remove space at the end of a name??
Pierre.
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

Re: Crashes while renaming a folder

Post 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
Old user ON SELECTIVE STRIKE till further notice
User avatar
Grincheux
Posts: 33
Joined: Thu Nov 30, 2006 8:01 am
Location: Arbois - 39
Contact:

Re: Crashes while renaming a folder

Post 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.
Kenavo.
marsh
XnThusiast
Posts: 2443
Joined: Sun May 15, 2005 6:31 am

Re: Crashes while renaming a folder

Post 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.
Post Reply