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

Issue 10266021: GTK Panels - fix crash when clicking on titlebar to restore a panel. (Closed)

Created:
8 years, 7 months ago by jennb
Modified:
8 years, 7 months ago
Reviewers:
Dmitry Titov
CC:
chromium-reviews, jennb, jianli, dcheng, Andrei
Visibility:
Public.

Description

GTK Panels - fix crash when clicking on titlebar to restore a panel. This bug was introduced by r10170037 which waited until mouse was released to truly end a grab. BUG=crash when clicking on titlebar to restore a minimized panel TEST=minimize a panel. click on titlebar to restore. verify no crash. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=134655

Patch Set 1 #

Patch Set 2 : add extra drag state to make code clearer #

Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -28 lines) Patch
M chrome/browser/ui/panels/panel_drag_gtk.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/panels/panel_drag_gtk.cc View 1 9 chunks +44 lines, -27 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
jennb
Bug was caught by dcheck in OnMouseMoveEvent. I didn't release the grabs if mouse did ...
8 years, 7 months ago (2012-04-30 23:10:16 UTC) #1
Dmitry Titov
lgtm
8 years, 7 months ago (2012-04-30 23:19:10 UTC) #2
jennb
Does it look easier to follow with the added drag state?
8 years, 7 months ago (2012-05-01 00:04:32 UTC) #3
Dmitry Titov
8 years, 7 months ago (2012-05-01 01:07:37 UTC) #4
Even LGTMer :-)

Powered by Google App Engine
This is Rietveld 408576698