Closed
Bug 366245
Opened 19 years ago
Closed 19 years ago
SeaMonkey doesn't write dde server keys to the Windows Registry
Categories
(SeaMonkey :: UI Design, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: une.crl, Assigned: une.crl)
Details
(Keywords: fixed-seamonkey1.1.1)
Attachments
(2 files, 3 obsolete files)
|
35.97 KB,
image/png
|
Details | |
|
3.64 KB,
patch
|
neil
:
review+
csthomas
:
approval-seamonkey1.1.1+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.2pre) Gecko/20061231 SeaMonkey/1.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.2pre) Gecko/20061231 SeaMonkey/1.1
After setting up SeaMonkey as default browser, SeaMonkey doesn't write dde server keys to the Windows Registry.
Reproducible: Always
Steps to Reproduce:
1. Edit -> Preferences -> Navigator -> Set Default Browser -> OK
2. Restart SeaMonkey
3. Open the Registry Editor, then navigate to HKEY_CLASSES_ROOT\HTTP\shell\open
Actual Results:
'ddeexec', 'ddeexec\application' and 'ddeexec\topic' subkeys don't exist
Expected Results:
'ddeexec', 'ddeexec\application' and 'ddeexec\topic' subkeys should point to SeaMonkey
SeaMonkey writes values in HKEY_CLASSES_ROOT root directory.
| Assignee | ||
Comment 1•19 years ago
|
||
Updated•19 years ago
|
Assignee: general → jag
Status: UNCONFIRMED → NEW
Component: General → XP Apps
Ever confirmed: true
QA Contact: general
Version: unspecified → 1.8 Branch
To clarify, instead of adding the keys at the correct place, it adds them under the top-level classes key.
| Assignee | ||
Updated•19 years ago
|
Attachment #250767 -
Flags: review?(neil)
Updated•19 years ago
|
Assignee: jag → une.crl
Comment 3•19 years ago
|
||
Comment on attachment 250767 [details] [diff] [review]
patch for SM-1.1
Over to CTho as KaiRo blames him for this code (in bug 287943 comment #7).
Note: you don't seem to close your keys anywhere.
Attachment #250767 -
Flags: review?(neil) → review?(cst)
| Assignee | ||
Comment 4•19 years ago
|
||
Attachment #250767 -
Attachment is obsolete: true
Attachment #250767 -
Flags: review?(cst)
Comment on attachment 250790 [details] [diff] [review]
closing keys
Use spaces instead of tabs in patches.
I'm not sure I'm qualified to review this... if you want me to do the review you'll need to give me time to read up on the API on MSDN. I don't even remember doing the patch KaiRo referenced. I also don't understand our DDE code (any more) so I'd have to (re)learn that too.
Does the bug exist in Toolkit?
Comment 6•19 years ago
|
||
Comment on attachment 250790 [details] [diff] [review]
closing keys
Maybe ere can spare the time to look at this fix.
Attachment #250790 -
Flags: review?(emaijala)
Comment 7•19 years ago
|
||
Just FYI: Bug 353089 contains some info about what FF does and what changed a few month ago in their code.
Comment 8•19 years ago
|
||
Comment on attachment 250790 [details] [diff] [review]
closing keys
Sure, but it'll take me a while to get my Seamonkey build working again..
Comment 9•19 years ago
|
||
Comment on attachment 250790 [details] [diff] [review]
closing keys
Get rid of tabs and Windows line-endings. With those changed, r=emaijala.
Attachment #250790 -
Flags: review?(emaijala) → review+
Comment 10•19 years ago
|
||
Comment on attachment 250790 [details] [diff] [review]
closing keys
Don't worry about the line endings, MSYS patch doesn't seem to mind them.
The tabs do need fixing though.
>+ rc = ::RegCreateKeyEx(HKEY_CLASSES_ROOT,
>+ "http\\shell\\open\\ddeexec",
Please line up the parameters under each other.
If you think it looks better, you can list multiple parameters on one line,
but you should limit the lines to 80 characters in any case.
>+
>+ if (REG_SUCCEEDED(rc)) {
>+ ::RegSetValueEx( hKey,
>+ "",
>+ 0,
>+ REG_SZ,
>+ ddeexec,
>+ sizeof ddeexec );
>+ ::RegCloseKey(hKey);
>+ }
Please move the declaration of ddeexec into this block. (Similarly for topic). Also, you're not being consistent with your bracketing style; sometimes you're using ( mAppName ) and sometimes (hKey); please stick to one or the other.
>+ (unsigned char *) mAppName,
The parameter is a BYTE * is it not?
| Assignee | ||
Comment 11•19 years ago
|
||
Attachment #250790 -
Attachment is obsolete: true
Attachment #251713 -
Flags: review?(neil)
| Assignee | ||
Comment 12•19 years ago
|
||
RegSetValueEx function expects a const BYTE* parameter.
Attachment #251713 -
Attachment is obsolete: true
Attachment #251719 -
Flags: review?(neil)
Attachment #251713 -
Flags: review?(neil)
Comment 13•19 years ago
|
||
Comment on attachment 251719 [details] [diff] [review]
patch
sr=me
Attachment #251719 -
Flags: review?(neil) → review+
Comment 14•19 years ago
|
||
Comment on attachment 251719 [details] [diff] [review]
patch
landed on trunk
Comment 15•19 years ago
|
||
Comment on attachment 251719 [details] [diff] [review]
patch
I guess this needs to go on the branch too, right?
Attachment #251719 -
Flags: approval-seamonkey1.1.1?
Attachment #251719 -
Flags: approval-seamonkey1.1.1? → approval-seamonkey1.1.1+
Comment 16•19 years ago
|
||
Comment on attachment 251719 [details] [diff] [review]
patch
I landed this on the 1.8 branch
| Assignee | ||
Updated•19 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•