Closed
Bug 402439
Opened 17 years ago
Closed 17 years ago
Clipboard is emptied on application exit
Categories
(Core :: Widget: Win32, defect, P2)
Tracking
()
VERIFIED
FIXED
People
(Reporter: sgautherie, Assigned: emaijala+moz)
References
Details
(Keywords: dataloss, regression, relnote)
Attachments
(1 file)
3.99 KB,
patch
|
neil
:
review+
roc
:
superreview+
mtschrep
:
approval1.9+
|
Details | Diff | Splinter Review |
Regressed between [Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9a9pre) Gecko/2007103103 Minefield/3.0a9pre] (nightly) (W2Ksp4) and [Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9a9pre) Gecko/2007110103 Minefield/3.0a9pre] (nightly) (W2Ksp4) Confirmed by [Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9a9pre) Gecko/2007103102 SeaMonkey/2.0a1pre] (nightly) (W2Ksp4) and [Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9a9pre) Gecko/2007110103 SeaMonkey/2.0a1pre] (nightly) (W2Ksp4) My steps: 1. Start browser application. 2. Load <about:>. 3. Copy the build id "line". 4. Paste it in another app: works :-) 5. Exit browser application. 6. Paste it in another app: no more data :-( <http://bonsai.mozilla.org/cvsquery.cgi?treeid=default&module=MozillaTinderboxAll&branch=HEAD&branchtype=match&sortby=Date&hours=2&date=explicit&mindate=2007-10-31+03&maxdate=2007-11-01+04+&cvsroot=%2Fcvsroot> My best guess would be bug 386286.
Flags: in-testsuite?
Flags: blocking1.9?
Comment 1•17 years ago
|
||
Blocking, but not blocking beta. Adding relnote ...
Assignee | ||
Comment 3•17 years ago
|
||
This should fix it. The problem was that OleUninitialize was called before the observer in nsClipboard tried to call OleFlushClipboard. I removed the observed and moved OleFlushClipboard right before OleUninitialize. The comment changes are just removed CR's.
Attachment #287856 -
Flags: review?(neil)
Assignee | ||
Updated•17 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 4•17 years ago
|
||
And the CloseClipboard call in nsClipboard was superfluous.
Reporter | ||
Comment 5•17 years ago
|
||
(Had a look at MSDN for both functions: the fix looks perfect ;-))
Component: General → Widget: Win32
Comment 6•17 years ago
|
||
Comment on attachment 287856 [details] [diff] [review] Patch >+NS_IMPL_ISUPPORTS1(nsClipboard, nsBaseClipboard) >+ NS_DECL_ISUPPORTS You shouldn't need these, nsBaseClipboard already provides them. (They were there before to resolve the ambiguous nsISupports cast.)
Attachment #287856 -
Flags: review?(neil) → review+
Assignee | ||
Comment 7•17 years ago
|
||
Comment on attachment 287856 [details] [diff] [review] Patch Ok, I'll remove them before checking in.
Attachment #287856 -
Flags: superreview?(roc)
Attachment #287856 -
Flags: superreview?(roc) → superreview+
Assignee | ||
Updated•17 years ago
|
Attachment #287856 -
Flags: approval1.9?
Assignee | ||
Updated•17 years ago
|
Priority: -- → P2
Updated•17 years ago
|
Attachment #287856 -
Flags: approval1.9? → approval1.9+
Comment 8•17 years ago
|
||
Ere, jst-review takes exception to your patch as well. http://beaufour.dk/jst-review/
Comment 9•17 years ago
|
||
(In reply to comment #8) >Ere, jst-review takes exception to your patch as well. >http://beaufour.dk/jst-review/ That's a bug in jst-review, not in the patch.
Comment 10•17 years ago
|
||
Not the complaint about Windows line endings...
Assignee | ||
Comment 11•17 years ago
|
||
?? The patch _removes_ a couple of Windows line endigns and I can't see jst-review complaining about that.
Comment 12•17 years ago
|
||
OK, nevermind me then :). Sorry for the spam.
Updated•17 years ago
|
Keywords: checkin-needed
Comment 13•17 years ago
|
||
Ere, think you could commit this soon? If you don't have time, just let me know, and I can check it in for you.
Assignee | ||
Comment 14•17 years ago
|
||
Fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•17 years ago
|
Keywords: checkin-needed
Depends on: 403724
Reporter | ||
Comment 15•17 years ago
|
||
[Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9b2pre) Gecko/2007111403 SeaMonkey/2.0a1pre] (nightly) (W2Ksp4) V.Fixed.
Status: RESOLVED → VERIFIED
Comment 17•17 years ago
|
||
FYI, this bug isn't listed in Beta 1 rel notes yet: http://www.mozilla.com/en-US/firefox/3.0b1/releasenotes/
Assignee | ||
Comment 18•17 years ago
|
||
(In reply to comment #17) > FYI, this bug isn't listed in Beta 1 rel notes yet: > http://www.mozilla.com/en-US/firefox/3.0b1/releasenotes/ Is there still a reason to relnote something as this is fixed?
Comment 19•15 years ago
|
||
This may be a fixed bug but I see it every day.
Reporter | ||
Comment 20•15 years ago
|
||
(In reply to comment #19) > This may be a fixed bug but I see it every day. This bug was (reported) fixed 2 years ago. Please file a new bug, with details.
You need to log in
before you can comment on or make changes to this bug.
Description
•