exiting mozilla causes clipboard overwrite/corruption

VERIFIED FIXED in M18

Status

()

P2
normal
VERIFIED FIXED
19 years ago
19 years ago

People

(Reporter: sean, Assigned: mikepinkerton)

Tracking

Trunk
x86
Windows 2000
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [nsbeta3+])

(Reporter)

Description

19 years ago
Steps to repro:
1. start mozilla
2. copy the url or text in a displayed page.
3. paste into any text editor to see what it copied (should be what you expect)
4. copy text from some other application to the clipboard
5. repeat step 3
6. exit mozilla
7. repeat step 3

Expected results:
Steps 5 and 7 should have identical results (and should be different than 3).

Actual results:
Step 7 is the same as step 3 less the last character.

Exiting mozilla causes it to place what it last copied back onto the clipboard
overwriting what any other app has placed there.  And the last character gets
chopped.

Comment 1

19 years ago
reassigning to pinkerton as P2 for M18, nominating for nsbeta3, correctness
(data loss)
Assignee: trudelle → pinkerton
Keywords: correctness, nsbeta3
Priority: P3 → P2
Target Milestone: --- → M18

Comment 2

19 years ago
Worse than that, on Win98, using today's verification build, I lose the entire 
clipboard buffer on exit, regardless of which app put it there.
nsbeta3+, P2 for M18
Whiteboard: [nsbeta3+]

Comment 3

19 years ago
on win2k, it is still as sean describes with today's win32 build (i.e., not 
only is the clipboard overwritten by mozilla on exit, but that last character
is still truncated). 

on win95, I see what trudelle notes above (clipboard is empty on win95 mozilla 
exit). 

(For completeness, Mac and Linux (both clipboards) do not show either variation
of this problem).
(Assignee)

Updated

19 years ago
Status: NEW → ASSIGNED
(Assignee)

Comment 4

19 years ago
fixed, tested on win2k and win98. replace my own code with oleFlushClipboard().
Status: ASSIGNED → RESOLVED
Last Resolved: 19 years ago
Resolution: --- → FIXED
(Reporter)

Comment 5

19 years ago
vrfy - thanks!
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.