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

Issue 1462373003: Fix for a long standing bug in Chrome windows with the auto hide taskbar. (Closed)

Created:
5 years, 1 month ago by ananta
Modified:
5 years ago
Reviewers:
sky
CC:
chromium-reviews, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix for a long standing bug in Chrome windows with the auto hide taskbar. This bug reproduces at times with multiple monitors and occurs when our attempt to retrieve the taskbar edge information via the ABM_GETAUTOHIDEBAR appbar message fails. msdn recommends using the ABM_GETAUTOHIDEBAREX call with the monitor rectangle for the multiple monitor case. However that does not work. The following fallback does work though. 1. Query for the auto hide status of the taskbar. 2. Retrieve its position and check if the edge information returned in this call matches the edge we are looking for. This along with the monitor check is sufficient. BUG=472139 TEST=Set taskbar to autohide. Connect multiple monitors to the machine and start chrome on the primary monitor and attempt to reproduce this case. If it does not repro then move chrome to the other monitor and attempt the test case. If that fails, disconnect the secondary monitor exit chrome and try. One of these cases should reproduce the problem. Committed: https://crrev.com/c64c903e110dc5f34a6348eb9b83e15900d96fbf Cr-Commit-Position: refs/heads/master@{#361188}

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -3 lines) Patch
M chrome/browser/ui/views/chrome_views_delegate.cc View 2 chunks +23 lines, -3 lines 2 comments Download

Messages

Total messages: 9 (2 generated)
ananta
5 years, 1 month ago (2015-11-21 02:48:30 UTC) #2
sky
https://codereview.chromium.org/1462373003/diff/1/chrome/browser/ui/views/chrome_views_delegate.cc File chrome/browser/ui/views/chrome_views_delegate.cc (right): https://codereview.chromium.org/1462373003/diff/1/chrome/browser/ui/views/chrome_views_delegate.cc#newcode117 chrome/browser/ui/views/chrome_views_delegate.cc:117: unsigned int taskbar_state = SHAppBarMessage(ABM_GETSTATE, All these ole function ...
5 years ago (2015-11-22 15:57:19 UTC) #3
ananta
https://codereview.chromium.org/1462373003/diff/1/chrome/browser/ui/views/chrome_views_delegate.cc File chrome/browser/ui/views/chrome_views_delegate.cc (right): https://codereview.chromium.org/1462373003/diff/1/chrome/browser/ui/views/chrome_views_delegate.cc#newcode117 chrome/browser/ui/views/chrome_views_delegate.cc:117: unsigned int taskbar_state = SHAppBarMessage(ABM_GETSTATE, On 2015/11/22 15:57:19, sky ...
5 years ago (2015-11-23 19:10:44 UTC) #4
sky
:) LGTM
5 years ago (2015-11-23 19:15:28 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1462373003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1462373003/1
5 years ago (2015-11-23 19:53:43 UTC) #7
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years ago (2015-11-23 21:28:34 UTC) #8
commit-bot: I haz the power
5 years ago (2015-11-23 21:29:11 UTC) #9
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/c64c903e110dc5f34a6348eb9b83e15900d96fbf
Cr-Commit-Position: refs/heads/master@{#361188}

Powered by Google App Engine
This is Rietveld 408576698