Bug 15077 - REGRESSION: Cannot drag selected text out of a background window
Summary: REGRESSION: Cannot drag selected text out of a background window
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 523.x (Safari 3)
Hardware: Mac OS X 10.4
: P1 Normal
Assignee: Nobody
Keywords: InRadar, Regression
Depends on:
Reported: 2007-08-25 11:47 PDT by mitz
Modified: 2007-08-25 12:08 PDT (History)
0 users

See Also:

Add missing coordinate conversion (2.85 KB, patch)
2007-08-25 11:57 PDT, mitz
sam: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description mitz 2007-08-25 11:47:21 PDT
EventHandler::eventMayStartDrag() is missing a conversion from window to contents coordinates, causing it to give false results. The only effect of that is that if you have a piece of selected text in a Safari window that's in the background, sometimes you cannot click-hold-and-drag the text out of the window. Instead, the window comes to the front right when you click it.

Patch forthcoming.
Comment 1 mitz 2007-08-25 11:57:50 PDT
Created attachment 16119 [details]
Add missing coordinate conversion

Includes change log and manual test
Comment 2 Mark Rowe (bdash) 2007-08-25 12:06:37 PDT
Comment 3 Mark Rowe (bdash) 2007-08-25 12:08:33 PDT
Landed in r25248.