Chromium-custom title bar corrupt after maximize&restore

Bug #1309076 reported by Islam
104
This bug affects 20 people
Affects Status Importance Assigned to Milestone
Chromium Browser
Unknown
Unknown
chromium-browser (Ubuntu)
Fix Released
High
Unassigned

Bug Description

If the window is maximized, try to restore it and the window title bar, address bar or toolbar will not be rendered correctly also try hovering over them which show the issue.
Also tested while extensions are disabled.

You can see that problem in the attached screenshot.

Version 34.0.1847.116 Ubuntu 14.04 aura (260972)
Ubuntu 14.04

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: chromium-browser 34.0.1847.116-0ubuntu2 [modified: usr/bin/chromium-browser]
Uname: Linux 3.14.0-eudyptula-10313-g39aaf74-dirty x86_64
ApportVersion: 2.14.1-0ubuntu3
Architecture: amd64
CurrentDesktop: Unity
Date: Thu Apr 17 17:31:21 2014
Desktop-Session:
 DESKTOP_SESSION = ubuntu
 XDG_CONFIG_DIRS = /etc/xdg/xdg-ubuntu:/usr/share/upstart/xdg:/etc/xdg
 XDG_DATA_DIRS = /usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/
DetectedPlugins:

Env:
 MOZ_PLUGIN_PATH = None
 LD_LIBRARY_PATH = None
InstallationDate: Installed on 2014-03-24 (24 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64+mac (20131016.1)
SourcePackage: chromium-browser
UpgradeStatus: Upgraded to trusty on 2014-03-29 (19 days ago)
chromium-default: CHROMIUM_FLAGS=""
gconf-keys: /desktop/gnome/applications/browser/exec = b'/usr/bin/chromium-browser\n'/desktop/gnome/url-handlers/https/command = b'/usr/bin/chromium-browser %s\n'/desktop/gnome/url-handlers/https/enabled = b'true\n'/desktop/gnome/url-handlers/http/command = b'/usr/bin/chromium-browser %s\n'/desktop/gnome/url-handlers/http/enabled = b'true\n'/desktop/gnome/session/required_components/windowmanager = b''/apps/metacity/general/compositing_manager = b''/desktop/gnome/interface/icon_theme = b'gnome\n'/desktop/gnome/interface/gtk_theme = b'Clearlooks\n'
modified.conffile..etc.default.chromium.browser: [deleted]

Revision history for this message
Islam (islam) wrote :
tags: added: aura
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in chromium-browser (Ubuntu):
status: New → Confirmed
Chad Miller (cmiller)
summary: - Window rendering problem
+ Chromium-custom title bar corrupt after maximize&restore
Revision history for this message
Ian S. McBride (ian.s.mcb) wrote :

Running chromium from the command line with the following argument fixes the problem for me.

--ui-disable-partial-swap

I heard about this fix from the following website:
https://code.google.com/p/chromium/issues/detail?id=328163

Revision history for this message
Martin Endres (mendres82) wrote :

For Intel graphics drivers, disabling SNA rendering and using UXA acceleration instead fixes the issue as well.

Revision history for this message
Theor (theor) wrote :

Disabling the SNA acceleration will solve the issue at a significant performance cost, though:
http://cynic.cc/blog/posts/sna_acceleration_vs_uxa/
http://www.phoronix.com/scan.php?page=article&item=intel_glamor_first&num=2

For an immediate permanent fix, best is to add the --ui-disable-partial-swap argument to the "Exec=" commands of /usr/share/applications/chromium-browser.desktop

Changed in chromium-browser (Ubuntu):
importance: Undecided → High
Revision history for this message
Olivier Tilloy (osomon) wrote :

@islam: is this bug still affecting you with recent releases of chromium-browser on ubuntu?

According to https://bugs.chromium.org/p/chromium/issues/detail?id=339493 this was fixed upstream a while back.

Revision history for this message
Paul White (paulw2u) wrote :

Upstream bug showing "Fixed" in March 2014
No comments here for over 4 years or a reply to comment #6
Cannot reproduce here on Intel hardware
Closing as being fixed

Changed in chromium-browser (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Ogilvierothchild (ogilvierothchild) wrote :

I'm still seeing this behaviour on 18.04 LTS in both chromium and google-chrome.

To workaround the issue, visit chrome://flags/ and search for "partial". An option called "Partial swap" should appear, with a flag called "#ui-disable-partial-swap". Set the associated dropdown to say "Disabled". Then press "Restart" and let the browser restart itself. Then visit chrome://gpu/ and verify that the last item in the first table under "Version Information" is "Command Line", and than "--ui-disable-partial-swap" appears in the list of commandline options.

For me this doesn't fix 100% of the problem, but makes it much better -- when maximizing the browser window, there isn't garbage at the top of the window. On restoring the window, the problem (or a similar problem) is still there, but simply mousing over it makes it go away; unlike before, I don't need to run the mouse over sections of the window trying to get it to repaint the whole width of the corrput area.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.