Closed Bug 33349 Opened 25 years ago Closed 24 years ago

Directory name in Create Directory dialog needs to be left aligned

Categories

(SeaMonkey :: Installer, defect, P3)

x86
Windows NT
defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: bugzilla, Assigned: ssu0262)

Details

Attachments

(2 files)

If you press Browse... on the Select Type dialog you're presented with a Select a directory dialog. This dialog needs to be fixed with the following: - Directory name needs to be left aligned - Title of dialog should just be Create Directory. The "?" looks a bit odd. - Text should something like: The selected folder: c:\program files\mozilla\ does not exist. Do you want the folder to be created?
I meant the dialog that appears when the selected directory doesn't exist. The following still needs to be fixed: - Directory name needs to be left aligned
Summary: Fix Create Directory dialog → Directory name in Create Directory dialog needs to be left aligned
Target Milestone: --- → M18
Is this because of the: lstrcpy(szBufTemp, "\n\n "); in http://lxr.mozilla.org/seamonkey/source/xpinstall/wizard/windows/setup/dialogs.c #399 it should just be: lstrcpy(szBufTemp, "\n\n");
Keywords: patch
QA Contact: gbush → gemal
Since this is such an easy fix, perhaps someone (Blake) could check it in...?
Keywords: review
The patch rotted. s/399/401/ 401 lstrcpy(szBufTemp, "\n\n "); 402 lstrcat(szBufTemp, szBuf); 403 RemoveBackSlash(szBufTemp); 404 lstrcat(szBufTemp, "\n\n"); 405 wsprintf(szBufTemp2, szMsgCreateDirectory, szBufTemp); Bredan is wsprintf something that risks buffer overruns and is there a better function?
Keywords: approval
Argh, Windows-specific code! Yes, PR_snprintf should be used instead of any Morris-worm-recapitulating *sprintf. /be
We need faster patch uptake here and in bug 33353, to avoid bitrot.... /be
Patch checked in. Sorry about the delay. I will try to be more ontop of patches. We're not using PR_* functions because this is platform specific, native windows code. Since this is only the windows installer, and not a browser, I'm not too concerned about buffer overruns (except that I am aware of the possibility and have taken steps to minimize it). However, if someone feels strongly different, I can try porting the PR_* functions used in the browser code. File a bug against the windows installer.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
looks good. mo,r=ssu
Status: REOPENED → ASSIGNED
sr=mscott
fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago24 years ago
Resolution: --- → FIXED
installer build 2001020204
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: