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

Issue 1933923002: x11: Don't wait on a MapNotify on override-redirect windows. (Closed)

Created:
4 years, 7 months ago by Elliot Glaysher
Modified:
4 years, 7 months ago
Reviewers:
danakj
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

[reland] x11: Don't wait on a MapNotify on override-redirect windows. [This reland should theoretically fix a case where timing issues on AMD drivers appear to cause a blank window by forcing a redraw when we are an override-redirect window and receive a MapNotify.] Some window managers do not send MapNotify on override-redirect windows. Enlightenment doesn't send one, XFCE does, and I don't know which behaviour is more common. This makes mapping resilient against whether we would have received a MapNotify message on override-redirect window. On override-redirect windows, we immediately trigger the code that would run in the future MapNotify handler, and ignore it in the future MapNotify message if it is already run. BUG=381732, 606661 First Review URL: https://codereview.chromium.org/1896363004 Committed: https://crrev.com/a23e0eae44653ab9f132d454ac6488c8c8005479 Cr-Commit-Position: refs/heads/master@{#390773}

Patch Set 1 #

Patch Set 2 : Theoretical fix. #

Total comments: 1

Patch Set 3 : Link to bug. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+63 lines, -24 lines) Patch
M ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h View 2 chunks +10 lines, -0 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc View 1 2 6 chunks +53 lines, -24 lines 0 comments Download

Messages

Total messages: 12 (6 generated)
Elliot Glaysher
danakj: patch 2 is all that changed. I'm not sure of this patch; I've tested ...
4 years, 7 months ago (2016-04-29 20:24:48 UTC) #3
danakj
LGTM https://codereview.chromium.org/1933923002/diff/20001/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/1933923002/diff/20001/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc#newcode1412 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc:1412: // because on AMD drivers we might get ...
4 years, 7 months ago (2016-04-29 20:50:30 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1933923002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1933923002/40001
4 years, 7 months ago (2016-04-29 20:55:22 UTC) #7
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 7 months ago (2016-04-29 21:51:26 UTC) #9
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/a23e0eae44653ab9f132d454ac6488c8c8005479 Cr-Commit-Position: refs/heads/master@{#390773}
4 years, 7 months ago (2016-04-30 17:29:21 UTC) #10
Elliot Glaysher
4 years, 7 months ago (2016-05-02 17:13:49 UTC) #12
Message was sent while issue was closed.
A revert of this CL (patchset #3 id:40001) has been created in
https://codereview.chromium.org/1934413002/ by erg@chromium.org.

The reason for reverting is: Forcing a draw didn't actually fix the blank
submenu issue..

Powered by Google App Engine
This is Rietveld 408576698