Issue metadata
Sign in to add a comment
|
Maximize chrome,display only part of the UI
Reported by
xyz...@gmail.com,
Aug 26 2016
|
||||||||||||||||||||||
Issue descriptionUserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2837.0 Safari/537.36 Steps to reproduce the problem: 1. Unmaximize chrome window 2. Maximize chrome vindow What is the expected behavior? Full screen display What went wrong? Only display part of the Window Did this work before? N/A Chrome version: 54.0.2837.0 Channel: dev OS Version: Fedora 24 Flash Version: Shockwave Flash 23.0 r0 $ cat /proc/version Linux version 4.6.7-300.fc24.x86_64 (mockbuild@bkernel02.phx2.fedoraproject.org) (gcc version 6.1.1 20160621 (Red Hat 6.1.1-3) (GCC) ) #1 SMP Wed Aug 17 18:48:43 UTC 2016
,
Sep 14 2016
Recorded the behavior of this bug. First part shows the bug occurring, second part is a workaround by enabling "Use system title bar and borders".
,
Sep 14 2016
I investigated this a bit from the gnome-shell/mutter side and I'm fairly sure this is a chrome bug. When maximizing, mutter calls XConfigureWindow with the correct size. When repainting the scene, we call XCompositeNameWindowPixmap and the new pixmap also has the correct size (i.e. what we set in XConfigureWindow). So, from mutter's POV everything seems fine. It looks like it's chrome that doesn't repaint its X window. I can reproduce this on an intel haswell but it's not 100% reproducible, I need to maximize and unmaximize a few times in quick succession until it happens.
,
Sep 14 2016
Screencast of the problem as I see it here on a uptodate Fedora 24, open radeon driver
,
Sep 17 2016
Confirming this behavior: if the Chrome window is, for example, 800x600 in windowed mode, and the "use system title bar and borders" is UNset (thus using chrome title bar), maximizing the window succeeds but only paints an 800x600 region. Tested on 54.0.2840.27 beta (64-bit), Linux. Version 53.0.2785.116 (64-bit) does not exhibit this bug.
,
Sep 20 2016
,
Sep 20 2016
,
Sep 20 2016
If this is the same as https://bugs.chromium.org/p/chromium/issues/detail?id=642095 I have done a bisect there (407803 good, 407808 bad). https://chromium.googlesource.com/chromium/src/+log/28f548205f0219ffef31a5644412716bf6d8b17c..4479b653205f98f226e7f5d4cf1c6a78897ca97f Maybe someone else can confirm by testing these two builds: wget 'https://www.googleapis.com/download/storage/v1/b/chromium-browser-snapshots/o/Linux_x64%2F407803%2Fchrome-linux.zip?alt=media' -O 407803.zip wget 'https://www.googleapis.com/download/storage/v1/b/chromium-browser-snapshots/o/Linux_x64%2F407808%2Fchrome-linux.zip?alt=media' -O 407808.zip
,
Sep 20 2016
,
Sep 20 2016
Based on #8, it looks like the culprit is https://chromium.googlesource.com/chromium/src/+/e5fdc90d17a40a9166a335a0d7c8fd8b2ccf40cd Assigning to j.isorce
,
Sep 20 2016
Attaching chrome://gpu for 407803 and 407808, as well as a diff. It looks like 407808 picked up +Driver vendor Mesa +Driver version 11.2.0 and enabled WebGL, hardware compositing, and other hardware acceleration features.
,
Sep 21 2016
I'm not sure Issue 642095 should have been merged with this. For me, the bug is reproducible both with and without --disable-gpu. So, from a bystander POV, that OpenGL version parsing change shouldn't have anything to do with this. The one thing that works around the bug for me, is to use system titlebar and borders instead of chrome's.
,
Sep 21 2016
As per comment #10 removing bisect label for now. In case if it's required please feel free to add it back.
,
Sep 21 2016
tiagoma..., can you try builds 407803 and 407808 linked above and see if 407803 is good and 407808 is bad? If that is not the case, this is not the same bug and should be un-merged.
,
Sep 21 2016
Have some detailed steps of how to reproduce in my case at least: If I delete the Chrome config folders from ~/.config I get back to a state where the rendering is fine. On Arch running Chrome Dev that means I am deleting '~/.config/google-chrome' and '~/.config/google-chrome-unstable'. At this point maximize is working fine. Then I can reliably trigger the rendering issue with the following steps: 1) Navigate to 'youtube.com' and play a video (I'm assuming any page with video or other hardware accelerated content will do). 2) Close all Chrome windows 3) Open Chrome 4) Try to maximize the window Now maximizing has the rendering issue. Note: you can close and reopen Chrome many times, including navigating to sites without hardware accelerated content such as just going to 'google.com' without triggering the issue. But as soon as you go to a site with hardware accelerated content then the next restart of Chrome the issue is present regardless of what site you are on. Then the only way to stop the issue is to delete the Chrome config folders again. After the issue has been triggered the following text is added to the '~/.config/google-chrome-unstable/Local State' file: "gl_renderer_string":"Gallium 0.4 on AMD CYPRESS (DRM 2.45.0 / 4.7.4-1-ARCH, LLVM 3.8.1)","gl_vendor_string":"X.Org","gl_version_string":"4.1 (Core Profile) Mesa 12.0.3" I attached a screen-cast of this process.
,
Sep 21 2016
I can confirm that from the above-mentioned builds, 407803 is good and 407808 bad on my Fedora 24
,
Sep 21 2016
I also can confirm build 407803 is good, 407808 is bad based on testing with the steps from comment 15.
,
Sep 21 2016
,
Sep 23 2016
Hi, in #11 it shows that the list of GPU driver bug workarounds is different since driver version and vendor is now properly set. Please try 407808 with previous list, so for example passing --disable_transparent_visuals=1 Please also post the exact diff of workarounds here since I can't see it properly on my mobile. Thx
,
Sep 23 2016
Adding --disable_transparent_visuals=1 to build 407808 does solve the render size issue when maximized (The issue this bug is about). However bug #642095 , which was merged with this issue, can still be triggered by maximizing and un-maximizing quickly (only happens maybe 10% of the time). So you might need to split that back off as a separate bug.
,
Sep 23 2016
--disable-gpu-compositing seems to fix bug #642095 . So a combination of --disable-gpu-compositing and --disable_transparent_visuals=1 solves all issues.
,
Sep 29 2016
Not sure what changed, but as of Chrome Dev version 55.0.2873.0 bug #642095 seems to be fixed with gpu compositing still on. To to edit comment #21, only --disable_transparent_visuals is needed now.
,
Oct 10 2016
,
Jan 24 2017
The assigned owner "j.isorce@samsung.com" is not able to receive e-mails, please re-triage. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Jan 24 2017
,
Jan 29 2017
I experienced this in my Wayland session on Ubuntu GNOME.
,
Feb 4 2017
,
Mar 24 2017
,
Jun 12 2017
Hi, I think this issue is obsolete. According to comment #22 it works with flag --disable_transparent_visuals though this flag does not exist anymore. I think this has been reworked by thomasanderson@chromium.org and it is much better now.
,
Jun 12 2017
I'd be inclined to leave this open. c#26 was able to repro at the end of Jan. Chrome stable should have included all of the transparent visual changes by then
,
Jun 13 2018
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue. Sorry for the inconvenience if the bug really should have been left as Available. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Jun 29 2018
julien.isorce@, could you verify if the issue is fixed on current stable and close this bug?
,
Jun 29 2018
It works for me. thomasanderson@ how does it behave for you ?
,
Jun 29 2018
I was never able to reproduce.
,
Jun 29 2018
|
|||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||
Comment 1 by leebick...@gmail.com
, Sep 13 2016