New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 641944 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 173691
Owner: ----
Closed: Jan 2017
Cc:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

copy url in Google Chrome's address bar cause QClipboard::dataChanged() to be emitted twice

Reported by redstone...@163.com, Aug 29 2016

Issue description

UserAgent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36

Steps to reproduce the problem:
Run the program in
1. http://stackoverflow.com/questions/39191394/slot-of-qclipboarddatachanged-was-called-twice
2.  copy url in Google Chrome's address bar

What is the expected behavior?
The program should only prin <url in Google Chrome's address bar> in the console once , but <url in Google Chrome's address bar> was actually printed twice 

What went wrong?
Other program like notepad only  cause  QClipboard::dataChanged() to be emitted once ,this is the correct behavior ,while chrome caused twice 

Did this work before? N/A 

Chrome version: 45.0.2454.101  Channel: n/a
OS Version: 6.1 (Windows 7, Windows Server 2008 R2)
Flash Version: Shockwave Flash 22.0 r0
 
Cc: durga.behera@chromium.org
Labels: Needs-Feedback
Checked the issue in windows-10 using stable chrome build 52.0.2743.116 by following the below steps: 

1. Copied the url http://stackoverflow.com/questions/39191394/slot-of-qclipboarddatachanged-was-called-twice in the Google Chrome's address bar 
2. Opened dev tools and checked the console tab. 
3. Observed the URL got printed only once as expected. 

Reporter@ - Could you Please check this issue by upgrading the chrome version from 45.0.2454.101 to latest stable 52.0.2743.116 and update this bug with latest behavior.
I don't know how to use Chrome dev tools with console tab checked in this scenario to see the behavior ,however ,I tested the program provided above with Chrome/52.0.2743.116 and checked that QClipboard::dataChanged() was still emitted twice. Someone says it is  a bug in Chromium https://bugs.chromium.org/p/chromium/issues/detail?id=173691


Project Member

Comment 3 by sheriffbot@chromium.org, Sep 8 2016

Labels: -Needs-Feedback Needs-Review
Owner: brajkumar@chromium.org
Thank you for providing more feedback. Adding requester "brajkumar@chromium.org" for another review and adding "Needs-Review" label for tracking.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Cc: pkasting@chromium.org
Labels: -Needs-Review Needs-Feedback
Owner: ----
Adding @pkasting for more updates on this issue. 

pkasting@ - Could you please confirm is this issue is similar to  bug 173691 ?
Mergedinto: 173691
Status: Duplicate (was: Unconfirmed)
Yeah, probably dupe

Sign in to add a comment