Closed
Bug 517398
Opened 15 years ago
Closed 15 years ago
stop using the Mac OS Scrap Manager API in 64-bit builds
Categories
(Core :: Find Backend, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: jaas, Assigned: jaas)
References
Details
Attachments
(1 file)
1.94 KB,
patch
|
mstange
:
review+
benjamin
:
review+
|
Details | Diff | Splinter Review |
We need to stop using the Mac OS Scrap Manager API. It's old and not available for 64-bit applications. We use it in places like "nsWebBrowserFind.cpp".
This will work for right now. We can file another bug on doing this a better way for 64-bit applications, but I don't remember this ever working for 32-bit applications anyway.
Attachment #401377 -
Flags: review?(mstange)
Summary: stop using the Mac OS Scrap Manager API → stop using the Mac OS Scrap Manager API in 64-bit builds
Updated•15 years ago
|
Attachment #401377 -
Flags: review?(mstange) → review+
Attachment #401377 -
Flags: review?(vladimir)
Attachment #401377 -
Flags: review?(vladimir) → review?(benjamin)
Comment 2•15 years ago
|
||
Comment on attachment 401377 [details] [diff] [review] fix v1.0 Do you understand what this code is doing at all? It looks pointless and should just be removed.
Attachment #401377 -
Flags: review?(benjamin) → review-
Mac OS X has a search clipboard, to sync find strings across applications. The code is attempting to use the string from the find clipboard as the search string, and when the user enters a new string it puts the new string on the find clipboard.
Comment 4•15 years ago
|
||
(In reply to comment #1) > I don't remember this ever working for 32-bit > applications anyway. It seems to partially work, at least, in FF 3.5: if I type a string into the Find bar in Firefox, and then go to TextEdit.app and bring up the Find panel there, my same string appears. Doesn't seem to work in the other direction, though. I haven't tried to debug why that is.
In any case, I just want a compile fix. We should file a bug on investigating but such issues are totally separate from this tiny compile fix.
Comment on attachment 401377 [details] [diff] [review] fix v1.0 Re-requesting review because this code is still used in 32-bit builds. See comment #3 for an explanation of what it does. We can file another bug on implementing that for 64-bit and improving the 32-bit implementation.
Attachment #401377 -
Flags: review- → review?(benjamin)
Comment 7•15 years ago
|
||
Comment on attachment 401377 [details] [diff] [review] fix v1.0 Gah, please do make sure a followup is filed: this is not the right place to have this code.
Attachment #401377 -
Flags: review?(benjamin) → review+
pushed to mozilla-central http://hg.mozilla.org/mozilla-central/rev/81c9a9f7ac72
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Filed bug 518660 about the Scrap Manager API usage.
You need to log in
before you can comment on or make changes to this bug.
Description
•