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

Issue 100623008: Allow inactive windows to be created with Linux Aura. (Closed)

Created:
7 years ago by mlamouri (slow - plz ping)
Modified:
6 years, 11 months ago
CC:
chromium-reviews, tfarina, ben+views_chromium.org, chrome-apps-syd-reviews_chromium.org, Matt Giuca
Base URL:
https://chromium.googlesource.com/chromium/src.git@show_inactive
Visibility:
Public.

Description

Allow inactive windows to be created with Linux Aura. BUG=325142 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=245338

Patch Set 1 #

Total comments: 4

Patch Set 2 : #

Total comments: 4

Patch Set 3 : update/rebase #

Total comments: 14

Patch Set 4 : #

Total comments: 1

Patch Set 5 : apply mgiuca comments #

Total comments: 6

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -24 lines) Patch
M ui/views/widget/desktop_aura/desktop_root_window_host_x11.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_root_window_host_x11.cc View 1 2 3 4 5 3 chunks +50 lines, -24 lines 0 comments Download

Messages

Total messages: 30 (0 generated)
mlamouri (slow - plz ping)
I am not sure if the method I am using is the right one but ...
7 years ago (2013-12-10 18:04:43 UTC) #1
Elliot Glaysher
+sadrul, piman Adding the X-perts. https://codereview.chromium.org/100623008/diff/1/ui/views/widget/desktop_aura/desktop_root_window_host_x11.cc File ui/views/widget/desktop_aura/desktop_root_window_host_x11.cc (right): https://codereview.chromium.org/100623008/diff/1/ui/views/widget/desktop_aura/desktop_root_window_host_x11.cc#newcode355 ui/views/widget/desktop_aura/desktop_root_window_host_x11.cc:355: XSetWMHints(xdisplay_, xwindow_, &wm_hints); While ...
7 years ago (2013-12-10 20:21:55 UTC) #2
mlamouri (slow - plz ping)
https://codereview.chromium.org/100623008/diff/1/ui/views/widget/desktop_aura/desktop_root_window_host_x11.cc File ui/views/widget/desktop_aura/desktop_root_window_host_x11.cc (right): https://codereview.chromium.org/100623008/diff/1/ui/views/widget/desktop_aura/desktop_root_window_host_x11.cc#newcode372 ui/views/widget/desktop_aura/desktop_root_window_host_x11.cc:372: XSetWMHints(xdisplay_, xwindow_, &wm_hints); On 2013/12/10 20:21:55, Elliot Glaysher wrote: ...
7 years ago (2013-12-11 14:58:47 UTC) #3
mlamouri (slow - plz ping)
ping sadrul@, piman@ and erg@. The Chrome Apps feature has landed and it will not ...
7 years ago (2013-12-13 12:11:44 UTC) #4
Elliot Glaysher
(Note that I'm not commenting because I don't know much about hints. Hence adding the ...
7 years ago (2013-12-13 18:48:20 UTC) #5
piman
On Fri, Dec 13, 2013 at 10:48 AM, <erg@chromium.org> wrote: > (Note that I'm not ...
7 years ago (2013-12-13 21:06:23 UTC) #6
sadrul
I think this looks reasonable in general. I don't know about hints a lot myself. ...
7 years ago (2013-12-13 21:37:20 UTC) #7
sadrul
I think this looks reasonable in general. I don't know about hints a lot myself. ...
7 years ago (2013-12-13 21:37:20 UTC) #8
Elliot Glaysher
Further thoughts about this patch: - Creating windows which become inactive immediately still seems like ...
7 years ago (2013-12-13 23:32:52 UTC) #9
benwells
On 2013/12/13 23:32:52, Elliot Glaysher wrote: > Further thoughts about this patch: > > - ...
7 years ago (2013-12-15 05:10:56 UTC) #10
sadrul
https://codereview.chromium.org/100623008/diff/10001/ui/views/widget/desktop_aura/desktop_root_window_host_x11.cc File ui/views/widget/desktop_aura/desktop_root_window_host_x11.cc (right): https://codereview.chromium.org/100623008/diff/10001/ui/views/widget/desktop_aura/desktop_root_window_host_x11.cc#newcode374 ui/views/widget/desktop_aura/desktop_root_window_host_x11.cc:374: if (show_state != ui::SHOW_STATE_INACTIVE) Is this change sufficient to ...
7 years ago (2013-12-16 03:40:09 UTC) #11
mlamouri (slow - plz ping)
> - After reading I suspect that it would be better to lay out this ...
7 years ago (2013-12-16 15:26:05 UTC) #12
mlamouri (slow - plz ping)
This is an updated patch with ::Show() creating an activated window. What should we do ...
6 years, 11 months ago (2014-01-09 14:37:47 UTC) #13
mlamouri (slow - plz ping)
Brief summary of the issue: We want to be able to create inactive windows in ...
6 years, 11 months ago (2014-01-12 23:35:08 UTC) #14
Matt Giuca
It seems like a reasonable approach. Can you elaborate on what you mean by "it ...
6 years, 11 months ago (2014-01-13 00:18:57 UTC) #15
mlamouri (slow - plz ping)
On 2014/01/13 00:18:57, Matt Giuca wrote: > It seems like a reasonable approach. Can you ...
6 years, 11 months ago (2014-01-13 00:50:43 UTC) #16
mlamouri (slow - plz ping)
https://codereview.chromium.org/100623008/diff/30001/ui/views/widget/desktop_aura/desktop_root_window_host_x11.cc File ui/views/widget/desktop_aura/desktop_root_window_host_x11.cc (right): https://codereview.chromium.org/100623008/diff/30001/ui/views/widget/desktop_aura/desktop_root_window_host_x11.cc#newcode349 ui/views/widget/desktop_aura/desktop_root_window_host_x11.cc:349: // will ignore toplevel XMoveWindow commands. On 2014/01/13 00:18:57, ...
6 years, 11 months ago (2014-01-13 02:04:58 UTC) #17
Matt Giuca
Can you upload the new patch set?
6 years, 11 months ago (2014-01-13 03:33:20 UTC) #18
mlamouri (slow - plz ping)
On top of cl 137533006, this patch is working fine. Could you PTAL?
6 years, 11 months ago (2014-01-14 02:44:30 UTC) #19
Matt Giuca
https://codereview.chromium.org/100623008/diff/30001/ui/views/widget/desktop_aura/desktop_root_window_host_x11.cc File ui/views/widget/desktop_aura/desktop_root_window_host_x11.cc (right): https://codereview.chromium.org/100623008/diff/30001/ui/views/widget/desktop_aura/desktop_root_window_host_x11.cc#newcode358 ui/views/widget/desktop_aura/desktop_root_window_host_x11.cc:358: wm_hints.input = show_state != ui::SHOW_STATE_INACTIVE; I don't see any ...
6 years, 11 months ago (2014-01-14 05:43:27 UTC) #20
mlamouri (slow - plz ping)
Matt, I apply all your comments. PTAL. (Summary: added the comments that disappeared, remove the ...
6 years, 11 months ago (2014-01-15 02:50:04 UTC) #21
Matt Giuca
https://codereview.chromium.org/100623008/diff/170001/ui/views/widget/desktop_aura/desktop_root_window_host_x11.cc File ui/views/widget/desktop_aura/desktop_root_window_host_x11.cc (right): https://codereview.chromium.org/100623008/diff/170001/ui/views/widget/desktop_aura/desktop_root_window_host_x11.cc#newcode338 ui/views/widget/desktop_aura/desktop_root_window_host_x11.cc:338: if (!window_mapped_) { Nit: No curlies. https://codereview.chromium.org/100623008/diff/170001/ui/views/widget/desktop_aura/desktop_root_window_host_x11.cc#newcode347 ui/views/widget/desktop_aura/desktop_root_window_host_x11.cc:347: native_widget_delegate_->AsWidget()->SetInitialFocus(); ...
6 years, 11 months ago (2014-01-15 03:46:56 UTC) #22
mlamouri (slow - plz ping)
https://codereview.chromium.org/100623008/diff/170001/ui/views/widget/desktop_aura/desktop_root_window_host_x11.cc File ui/views/widget/desktop_aura/desktop_root_window_host_x11.cc (right): https://codereview.chromium.org/100623008/diff/170001/ui/views/widget/desktop_aura/desktop_root_window_host_x11.cc#newcode347 ui/views/widget/desktop_aura/desktop_root_window_host_x11.cc:347: native_widget_delegate_->AsWidget()->SetInitialFocus(); On 2014/01/15 03:46:56, Matt Giuca wrote: > I ...
6 years, 11 months ago (2014-01-15 04:03:03 UTC) #23
Matt Giuca
https://codereview.chromium.org/100623008/diff/170001/ui/views/widget/desktop_aura/desktop_root_window_host_x11.cc File ui/views/widget/desktop_aura/desktop_root_window_host_x11.cc (right): https://codereview.chromium.org/100623008/diff/170001/ui/views/widget/desktop_aura/desktop_root_window_host_x11.cc#newcode347 ui/views/widget/desktop_aura/desktop_root_window_host_x11.cc:347: native_widget_delegate_->AsWidget()->SetInitialFocus(); > Let's have this dealt with in the ...
6 years, 11 months ago (2014-01-15 04:11:24 UTC) #24
mlamouri (slow - plz ping)
https://codereview.chromium.org/100623008/diff/170001/ui/views/widget/desktop_aura/desktop_root_window_host_x11.cc File ui/views/widget/desktop_aura/desktop_root_window_host_x11.cc (right): https://codereview.chromium.org/100623008/diff/170001/ui/views/widget/desktop_aura/desktop_root_window_host_x11.cc#newcode347 ui/views/widget/desktop_aura/desktop_root_window_host_x11.cc:347: native_widget_delegate_->AsWidget()->SetInitialFocus(); On 2014/01/15 04:11:24, Matt Giuca wrote: > > ...
6 years, 11 months ago (2014-01-15 04:16:37 UTC) #25
Matt Giuca
lgtm https://codereview.chromium.org/100623008/diff/170001/ui/views/widget/desktop_aura/desktop_root_window_host_x11.cc File ui/views/widget/desktop_aura/desktop_root_window_host_x11.cc (right): https://codereview.chromium.org/100623008/diff/170001/ui/views/widget/desktop_aura/desktop_root_window_host_x11.cc#newcode347 ui/views/widget/desktop_aura/desktop_root_window_host_x11.cc:347: native_widget_delegate_->AsWidget()->SetInitialFocus(); OK.
6 years, 11 months ago (2014-01-15 04:21:58 UTC) #26
Elliot Glaysher
lgtm
6 years, 11 months ago (2014-01-15 19:02:14 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mlamouri@chromium.org/100623008/280001
6 years, 11 months ago (2014-01-16 04:26:21 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mlamouri@chromium.org/100623008/280001
6 years, 11 months ago (2014-01-16 20:26:42 UTC) #29
commit-bot: I haz the power
6 years, 11 months ago (2014-01-16 21:45:25 UTC) #30
Message was sent while issue was closed.
Change committed as 245338

Powered by Google App Engine
This is Rietveld 408576698