Titlebar corruption after window maximization

Bug #1317921 reported by Theor
30
This bug affects 6 people
Affects Status Importance Assigned to Milestone
chromium-browser (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Version 34.0.1847.116 Ubuntu 14.04 aura (260972) with Unity shell
Using the default settings: NOT using native GTK+ theme, NOT using system title bar and borders, and no custom extension.

Problem:
After maximizing the window then un-maximizing it, the title bar and a small part of the main window (a few pixels on the right border) get corrupted. Moving the windows or losing the focus to the desktop will redraw it correctly.

Step to reproduce:
-Open Chromium 34 on Ubuntu 14.04 / Unity 7.2.0+14.04.20140423-0ubuntu1.2
-Maximize the window
-Un-maximize it
-The minimize/maximize/close buttons are not visible anymore. Hovering the mouse over the tabs and elements will display them shifted. Move the window or lose the focus to redraw the window properly. See screenshot attached.

Important notes :
-NOT a problem with Unity, problem persists with other shells. Problem replicated successfully with Gnome-flashback.
-Changing to native GTK+ does not solve the problem, but changing to native system title bar and borders does (maybe could we make this the default setting in the next release, as it integrates Chromium better with Unity).

Revision history for this message
Theor (theor) wrote :
Revision history for this message
David Feng (jiguanglizipao) wrote :

I tried to reproduce the bug and Chromuim corrupted too.

Changed in chromium (Ubuntu):
status: New → Confirmed
affects: chromium (Ubuntu) → chromium-browser (Ubuntu)
Revision history for this message
José Tomás Atria (jtatria) wrote :

This also happens in KDE, using kde-window-manager version 4:4.11.9-0ubuntu0.2

Steps to reproduce are slightly different. In this case corruption occurs when maximising after un-maximizing, ie: chromium always starts ok, and only gets corrupted after maximize/unmaximize/maximize.

Also, here the affected area can be rather large. If its useful, it always affects up to a similar chunck of the top of the window, but not always the full area (see atached).

Revision history for this message
José Tomás Atria (jtatria) wrote :
Revision history for this message
José Tomás Atria (jtatria) wrote :

Also, the problem is independent of the theme chosen in chromium, and of whether the native title bar is used or not.

Revision history for this message
Saikrishna Arcot (saiarcot895) wrote :

Can you try --ui-disable-partial-swap?

Revision history for this message
Theor (theor) wrote :

Indeed, --ui-disable-partial-swap solves the corruption problem!

Forgot to mention, I'm using an AMD FirePro 5950m and Intel i915 integrated chipset. Problem solved on both GPUs on 14.04 with Unity.

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

Other bug subscribers

Remote bug watches

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