Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(612)

Issue 17042: Drag and drop: Paint issues with Find-in bar. (Closed)

Created:
11 years, 11 months ago by DeArto20
Modified:
9 years, 7 months ago
Visibility:
Public.

Description

* Modified. Update the position of the find-bar when its parent window is changed. (by FindBarWin::SetParent) * Why? When the tab that has the find-bar is detached from the browser and becomes a new window by drag-and-drop, the parent window of the find-bar is changed. In this case, find-bar becomes located in the wrong position. (a little upper than its right position) So, when the parent of the find-bar is changed, update the position of the find-bar to have the right position. * How to reproduce the bug 1. Execute chrome browser with maximized. 2. Make one more tab using '+' button. 3. Make find-bar with 'Ctrl + F'. 3. Drag and drop this tab to be the new window. Then, the find-bar in the newly created window is placed in the wrong place. * Environment MS Windows XP Professional, Chromium 1.0.156.0 (Developer Build 7480) * BUG=3245 (Issue 3245: Drag and drop: Paint issues with Find-in bar. http://crbug.com/3245)

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -0 lines) Patch
M chrome/browser/views/find_bar_win.cc View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
DeArto20
11 years, 11 months ago (2009-01-01 17:29:40 UTC) #1
DeArto20
11 years, 11 months ago (2009-01-05 02:25:04 UTC) #2
Peter Kasting
Changed reviewers to appropriate people
11 years, 11 months ago (2009-01-05 20:28:55 UTC) #3
Finnur
I can reproduce the problem you describe with and without this patch. Are you sure ...
11 years, 11 months ago (2009-01-06 18:18:22 UTC) #4
DeArto20
I have noticed the differences between two problems as you indicated. But about the above ...
11 years, 11 months ago (2009-01-07 08:03:36 UTC) #5
Finnur
Oh, wait - are you saying that you can only reproduce the find bar painting ...
11 years, 11 months ago (2009-01-07 15:58:03 UTC) #6
DeArto20
I'm not saying about the painting problem but the location problem. Maybe my prior description ...
11 years, 11 months ago (2009-01-07 19:51:21 UTC) #7
Finnur
Yes, the location problem I can easily reproduce with and without your patch. So, lets ...
11 years, 11 months ago (2009-01-07 19:53:12 UTC) #8
Finnur
11 years, 11 months ago (2009-01-12 20:55:30 UTC) #9
Ben said:

> Given the priority on stabilization right now it's unlikely
> that I'll be able to spend much time in the short term 
> finishing the find bar changes I have, so go ahead with 
> whatever approach works for the current code.

I still think we should wait and see if this is still an issue with your patch,
given that this patch doesn't seem to fix the issue with the current codebase.

Powered by Google App Engine
This is Rietveld 408576698