Incorrect message box text when using locked tab.

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
Flint
Power Member
Power Member
Posts: 3506
Joined: 2003-10-27, 09:25 UTC
Location: Belgrade, Serbia
Contact:

Incorrect message box text when using locked tab.

Post by *Flint »

Set in wincmd.ini:
LockedTabChange=0
TabEnterDirChange=2

Then, lock some tab and try to open a subdirectory in it. You will be asked:
The tab is locked!
OK/Cancel
Where is the question??? :lol:

Moreover, I cannot edit this message box and add the question by myself, because of the following two reasons:
1. The message used in this message box is taken (as I could determine) from line 1551: from the beginning till the first exclamation mark. The whole line 1551 is used when closing a locked tab ("This tab is locked! Close anyway?"). So, I cannot change the first message box so that the second didn't change.
2. The message must be different for different values of LockedTabChange (see help for details). So, for example, if LockedTabChange=0, one should be asked "Do you want to create a new tab?" As the line 1551 is single, I cannot combine all variants into a single one.

As for me personally, this is only a cosmetic bug, as I know what all this means and what will OK and Cancel make. But for some newbie it can be a problem to find out, what TC asks about...
User avatar
Sheepdog
Power Member
Power Member
Posts: 5150
Joined: 2003-12-18, 21:44 UTC
Location: Berlin, Germany
Contact:

Re: Incorrect message box text when using locked tab.

Post by *Sheepdog »

I agree to your opinion. There should be one more message.

Until that one may alter the line 1551 to
Should this TAB really be closed or the subdir really opened in a new TAB?
\n\t I ask because this TAB is locked!
It's not very short but I think iit will make the situation clearer.

sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
Post Reply