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

Issue 543663003: Fix maximize on some window managers (Closed)

Created:
6 years, 3 months ago by Arjan van Leeuwen
Modified:
6 years, 3 months ago
Reviewers:
Elliot Glaysher
CC:
chromium-reviews, tfarina, ben+views_chromium.org, tdanderson+views_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Fix maximize on some window managers On some window managers the Maximize hints are not respected when they are set on an unmapped window. There was an existing workaround for this in the code, but the workaround failed whenever ShowWindowWithState didn't happen to be called with the parameters needed to activate the workaround. This meant that if a window was first made visible and later activated, it would not get maximized at all. This fix saves whether the maximize hints need to be sent to the window, and makes sure it gets done after mapping the window. BUG= Committed: https://crrev.com/79cd33a2ae10b9424fc7bde5b577ec732bfa4a04 Cr-Commit-Position: refs/heads/master@{#293698}

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -3 lines) Patch
M ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h View 1 chunk +3 lines, -0 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc View 5 chunks +13 lines, -3 lines 2 comments Download

Messages

Total messages: 11 (2 generated)
Arjan van Leeuwen
This is a fix for maximizing on some WMs that doesn't depend so much on ...
6 years, 3 months ago (2014-09-04 09:29:03 UTC) #2
Elliot Glaysher
https://codereview.chromium.org/543663003/diff/1/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc File ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc (right): https://codereview.chromium.org/543663003/diff/1/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc#newcode564 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc:564: should_maximize_after_map_ = false; This seems fragile. Could you please ...
6 years, 3 months ago (2014-09-04 17:37:04 UTC) #3
Arjan van Leeuwen
https://codereview.chromium.org/543663003/diff/1/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc File ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc (right): https://codereview.chromium.org/543663003/diff/1/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc#newcode564 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc:564: should_maximize_after_map_ = false; On 2014/09/04 17:37:04, Elliot Glaysher wrote: ...
6 years, 3 months ago (2014-09-05 11:23:26 UTC) #4
Elliot Glaysher
On 2014/09/05 11:23:26, arjanl wrote: > https://codereview.chromium.org/543663003/diff/1/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc > File ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc (right): > > https://codereview.chromium.org/543663003/diff/1/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc#newcode564 > ...
6 years, 3 months ago (2014-09-05 17:22:57 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/arjanl@opera.com/543663003/1
6 years, 3 months ago (2014-09-08 07:56:09 UTC) #7
commit-bot: I haz the power
Committed patchset #1 (id:1) as 334fca491b7e798d75e76a56c57074d3187602be
6 years, 3 months ago (2014-09-08 09:48:05 UTC) #8
Nico
A revert of this CL (patchset #1 id:1) has been created in https://codereview.chromium.org/554843002/ by thakis@chromium.org. ...
6 years, 3 months ago (2014-09-08 20:49:43 UTC) #9
Nico
I aborted the revert, I think before the cq landed it. https://codereview.chromium.org/469993003 looks like a ...
6 years, 3 months ago (2014-09-08 20:56:24 UTC) #10
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 03:45:28 UTC) #11
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/79cd33a2ae10b9424fc7bde5b577ec732bfa4a04
Cr-Commit-Position: refs/heads/master@{#293698}

Powered by Google App Engine
This is Rietveld 408576698