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

Issue 174215: Fix issue 19785: Chrome enters full-screen mode when a maximized window is mo... (Closed)

Created:
11 years, 4 months ago by James Su
Modified:
9 years, 7 months ago
Reviewers:
tony, Daniel Erat
CC:
chromium-reviews_googlegroups.com, Ben Goodger (Google)
Visibility:
Public.

Description

Fix issue 19785: Chrome enters full-screen mode when a maximized window is moved to another screen This CL fixes issue 19785 by recording fullscreen state of the browser window. If Window Manager wants to turn the browser window into fullscreen mode automatically without our request, then we refuse to change. However, this CL causes a side effect: some time, the window may be refreshed twice when maximizing the window. BUG=19785 : Chrome enters full-screen mode when a maximized window is moved to another screen TEST=Turn off system window decoration, move chrome window to the second monitor then maximize the window to see if the window is maximized instead of entering the full screen mode.

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -7 lines) Patch
M chrome/browser/gtk/browser_window_gtk.h View 1 2 1 chunk +16 lines, -0 lines 0 comments Download
M chrome/browser/gtk/browser_window_gtk.cc View 1 2 6 chunks +22 lines, -7 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
James Su
Hi, It's a CL to fix issue 19785.
11 years, 4 months ago (2009-08-21 10:07:45 UTC) #1
tony
I don't think we want to do this. There are plenty of valid cases where ...
11 years, 4 months ago (2009-08-21 17:23:29 UTC) #2
use derat at chromium.org
I agree. I think that this would cause additional bugs (but this time, with window ...
11 years, 4 months ago (2009-08-21 17:29:46 UTC) #3
James Su
11 years, 4 months ago (2009-08-22 00:26:40 UTC) #4
Agree. I have the same concern about this CL :-)

Regards
James Su

On 2009/08/21 17:29:46, derat wrote:
> I agree.  I think that this would cause additional bugs (but this
> time, with window managers that are doing things correctly).  The
> right way to resolve issues like this is by fixing the window manager
> (and it sounds like this one might already be fixed in later
> versions).
> 
> On Fri, Aug 21, 2009 at 10:23 AM, <mailto:tony@chromium.org> wrote:
> > I don't think we want to do this. =A0There are plenty of valid cases wher=
> e
> > the window manager or some other app will try to full screen the window.
> > =A0I don't think we want to block these use cases.
> >
> > For example, ion3 has a key binding (mod1+enter) that toggles full
> > screen mode. =A0You could also imagine a window manager having a full
> > screen option in the titlebar context menu. =A0These should continue to
> > work.
> >
> > http://codereview.chromium.org/174215
> >

Powered by Google App Engine
This is Rietveld 408576698