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

Issue 542113004: [Linux] Show preview contents for minimized windows (Closed)

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

Description

[Linux] Show preview contents for minimized windows When minimizing a window, we hide the contents to prevent unnecessary redrawing. However, this means that when the frame is redrawn after the hiding, it is blank. Several desktop environments rely on the window having contents when minimized, drawing the window off-screen to be able to show preview content in overviews (Unity, Gnome Shell). This patch stops all drawing operations before hiding the window, making sure that the content before hiding is retained and can be shown by the window manager as a preview, but still avoiding unnecessary redrawing of minimized windows. BUG=156346 Committed: https://crrev.com/d2ff06116540022bb9d835eec843bcb70ada67d0 Cr-Commit-Position: refs/heads/master@{#293909}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Use Compositor::SetVisible #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -2 lines) Patch
M ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc View 1 1 chunk +9 lines, -2 lines 0 comments Download

Messages

Total messages: 14 (2 generated)
Arjan van Leeuwen
6 years, 3 months ago (2014-09-05 13:22:43 UTC) #2
danakj
https://codereview.chromium.org/542113004/diff/1/ui/compositor/compositor.cc File ui/compositor/compositor.cc (right): https://codereview.chromium.org/542113004/diff/1/ui/compositor/compositor.cc#newcode296 ui/compositor/compositor.cc:296: void Compositor::SetVisible(bool visible) { Why don't you just call ...
6 years, 3 months ago (2014-09-05 15:03:15 UTC) #3
Arjan van Leeuwen
On 2014/09/05 15:03:15, danakj wrote: > https://codereview.chromium.org/542113004/diff/1/ui/compositor/compositor.cc > File ui/compositor/compositor.cc (right): > > https://codereview.chromium.org/542113004/diff/1/ui/compositor/compositor.cc#newcode296 > ...
6 years, 3 months ago (2014-09-05 15:18:04 UTC) #4
danakj
On 2014/09/05 15:18:04, arjanl wrote: > On 2014/09/05 15:03:15, danakj wrote: > > https://codereview.chromium.org/542113004/diff/1/ui/compositor/compositor.cc > ...
6 years, 3 months ago (2014-09-05 15:21:02 UTC) #5
Arjan van Leeuwen
On 2014/09/05 15:21:02, danakj wrote: > On 2014/09/05 15:18:04, arjanl wrote: > > On 2014/09/05 ...
6 years, 3 months ago (2014-09-05 16:02:46 UTC) #6
danakj
Ok thanks, look forward to more details. On Fri, Sep 5, 2014 at 12:02 PM, ...
6 years, 3 months ago (2014-09-05 16:20:29 UTC) #7
Arjan van Leeuwen
On 2014/09/05 16:20:29, danakj wrote: > Ok thanks, look forward to more details. > > ...
6 years, 3 months ago (2014-09-08 11:44:52 UTC) #8
danakj
Thanks! LGTM tho not an owner
6 years, 3 months ago (2014-09-08 16:33:29 UTC) #9
Elliot Glaysher
owners stamp lgtm
6 years, 3 months ago (2014-09-08 18:12:37 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/arjanl@opera.com/542113004/20001
6 years, 3 months ago (2014-09-09 06:40:16 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:20001) as d2b596c1fa0501345eb0fc48b3ddf0b4b850bbb5
6 years, 3 months ago (2014-09-09 09:40:52 UTC) #13
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 03:52:25 UTC) #14
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/d2ff06116540022bb9d835eec843bcb70ada67d0
Cr-Commit-Position: refs/heads/master@{#293909}

Powered by Google App Engine
This is Rietveld 408576698