Renaming directory/file using '?' char - no error

Discussion of bugs and problems found in Altap Salamander. In your reports, please be as descriptive as possible, and report one incident per report. Do not post crash reports here, send us the generated bug report by email instead, please.
cincura.net
Posts: 593
Joined: 09 Dec 2005, 17:30
Location: a step further
Contact:

Renaming directory/file using '?' char - no error

Post by cincura.net »

Hello,

when I try to rename directory and I'm using '?' char, I got no error message and the name of directory stay same. Same behavior for files.

IMO there should be error dialog saying, that this character cannot be used.

WinVista 64bit.
Jiri {x2} Cincura
User avatar
Ether
Posts: 1471
Joined: 10 May 2007, 16:08
Location: Czech Republic
Contact:

Post by Ether »

What do you mean by 'using'? I tried renaming an item to '?' and '?????????' and '???xxx???' and AS behaves as expected. '?' is a wildcard character and it stands for the character which is at its place in the original name.

If you mean renaming e.g. 'Who is who' to 'Who is who?', that's completely normal, too. The Microsoft command shells behave the same[*][/size]. However, Windows Explorer doesn't use wildcard chars and doesn't allow the special chars to be even typed when renaming, and shows an explaining tooltip.

I guess a tooltip or something would be enough to warn an inexperienced user that '?' and '*' are handled differently. I'd certainly not like anything that would block the interface, like an error dialog.

*] Tested on Windows v5.1.2600, command 'rename foo foo?' didn't actually change the name and didn't display any error messages.
Ελληνικά rulez.
cincura.net
Posts: 593
Joined: 09 Dec 2005, 17:30
Location: a step further
Contact:

Post by cincura.net »

ether wrote: I guess a tooltip or something would be enough to warn an inexperienced user that '?' and '*' are handled differently. I'd certainly not like anything that would block the interface, like an error dialog.
No matter what kind of info should be there, but there should be at least one. Explorer on WinVista shows the tooltip, but AS nothing.
Jiri {x2} Cincura
Jan Rysavy
ALTAP Staff
ALTAP Staff
Posts: 5231
Joined: 08 Dec 2005, 06:34
Location: Novy Bor, Czech Republic
Contact:

Post by Jan Rysavy »

Salamander does support operation mask in the Quick Rename command, so this is not a bug.
See http://www.altap.cz/salam_en/help/salam ... _renam.htm

We can disable operation masks for this command (for compatibility with Windows Explorer), but we are not sure if it is a good idea.
Removing features from software is not so popular.
cincura.net
Posts: 593
Joined: 09 Dec 2005, 17:30
Location: a step further
Contact:

Post by cincura.net »

Jan Rysavy wrote:Salamander does support operation mask in the Quick Rename command, so this is not a bug.
Ah I've never see this function. Cool. Now it makes sense. :) Maybe a good idea will be to add some hint, that '?' and '*' can be used as mask, to avoid confusion (like I experienced :roll:).
Jiri {x2} Cincura
User avatar
zarevak
Plugin Developer
Plugin Developer
Posts: 789
Joined: 04 Feb 2006, 16:49
Location: Prague, Czech Republic

Post by zarevak »

In the Czech part of the forum I've posted overview about quick Rename features in Salamander and Windows Explorer in Vista.

One of the features I've liked in Vista was the tooltip about illegal characters. I'm voting for displaying warning tooltip when mask character is used and error tooltip when illegal character is used.

There are already such context-sensitive warning tooltips used in Windows: Try loging in to Windows with CAPS-LOCK on. It will display warning tooltip asking you to check the CAPS-LOCK status.

Image

Image
User avatar
Ether
Posts: 1471
Joined: 10 May 2007, 16:08
Location: Czech Republic
Contact:

Post by Ether »

zarevak wrote:One of the features I've liked in Vista was the tooltip about illegal characters.
Note: that's not a Vista feature, XP have it too.
Ελληνικά rulez.
Post Reply