Closed
Bug 1342740
Opened 8 years ago
Closed 8 years ago
Regression: when copying image, Firefox sometimes gives invalid CF_HDROP, causing pasting problem in other programs
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 1340039
People
(Reporter: fireattack, Unassigned)
References
Details
(Keywords: regression)
User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.74 Safari/537.36
Steps to reproduce:
STD:
1. Install Clipboard Format Spy (http://delphidabbler.com/software/cfs/main ) or any similar problem to investigate clipboard.
2. Open any Google Image search result or Twitter tweet with image, for example, this one:
https://twitter.com/MacciattoS2/status/835711163681783808
3. Copy the embed image by right-click->"Copy image"
4. Check the CFS, find the entry "CF_DHROP", double-click.
5. You can see a file path which is supposed to locate in your temp folder.
What happened:
That file is a 0kB file. It's invalid and can't open.
What should happen:
That file should be a cached version of that image. Actually, if you use "Copy Image" from the image direct link page ( https://pbs.twimg.com/media/C5kK1u3UwAAWHJk.jpg:orig ), it will generate the correct file in your temp folder.
This will cause problem when pasting images into other applications when pasting images, if they rely on CF_HDROP. A famous example is QQ (the most popular instant messaging software in China).
This is a regression caused by changeset 71c8d652e638dd67c5c56879df83d76b30033458 https://hg.mozilla.org/integration/fx-team/pushloghtml?fromchange=46045ec8a4aa09a341b7209170089ade3c27c1a5&tochange=71c8d652e638dd67c5c56879df83d76b30033458
Mozregression log:
---
2017-02-26T01:27:55: INFO : [Child 18344] WARNING: pipe error: 109: file c:/builds/moz2_slave/fx-team-w64-000000000000000000/build/src/ipc/chromium/src/chrome/common/ipc_channel_win.cc, line 346
2017-02-26T01:27:55: INFO : [Child 18344] WARNING: pipe error: 109: file c:/builds/moz2_slave/fx-team-w64-000000000000000000/build/src/ipc/chromium/src/chrome/common/ipc_channel_win.cc, line 346
2017-02-26T01:27:57: INFO : Narrowed inbound regression window from [46045ec8, 2565f0ee] (3 revisions) to [46045ec8, 71c8d652] (2 revisions) (~1 steps left)
2017-02-26T01:27:57: DEBUG : Starting merge handling...
2017-02-26T01:27:57: DEBUG : Using url: https://hg.mozilla.org/integration/fx-team/json-pushes?changeset=71c8d652e638dd67c5c56879df83d76b30033458&full=1
2017-02-26T01:27:57: DEBUG : Found commit message:
Bug 1291009 - Fix closed caption button icon in hidpi mode. r=jaws
MozReview-Commit-ID: lDumJxyzTr
2017-02-26T01:27:57: INFO : The bisection is done.
2017-02-26T01:27:57: INFO : Stopped
---
Very likely caused by the fix in bug 664717
| Reporter | ||
Updated•8 years ago
|
Component: Untriaged → General
OS: Unspecified → Windows
| Reporter | ||
Comment 1•8 years ago
|
||
Just to clarify: by "by changeset" I mean changes between 46045ec8a4aa09a341b7209170089ade3c27c1a5 and 71c8d652e638dd67c5c56879df83d76b30033458. See the pushlog link.
Keywords: regression
Comment 2•8 years ago
|
||
Hello, do you see browser console message similar to that in bug 1340039 comment 3? This might be a dupe.
Flags: needinfo?(human.peng)
| Reporter | ||
Comment 3•8 years ago
|
||
Yes, it shows
Content Security Policy: The page’s settings blocked the loading of a resource at https://pbs.twimg.com/media/C5kK1u3UwAAWHJk.jpg (“default-src https://twitter.com”).
Flags: needinfo?(human.peng)
Updated•8 years ago
|
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•