Chromium fullscreen should be unredirected by default
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
compiz (Ubuntu) |
Fix Released
|
Medium
|
Eleni Maria Stea | ||
Trusty |
Fix Released
|
Medium
|
Eleni Maria Stea | ||
Xenial |
Fix Released
|
Medium
|
Eleni Maria Stea |
Bug Description
The default Compiz settings cause Chromium to tear when fullscreen.
See also: https:/
By default, "Unredirect Match" contains
(any) & !(class=Totem) & !(class=MPlayer) & !(class=Vlc) & !(class=
This means that fullscreen Chromium videos bypass Compiz, causing them to tear (no V-sync).
Firefox, Totem, VLC and MPlayer videos do not tear when fullscreen, because of the line above.
Due to the popularity of the Chromium browser (and Chrome, now it has brought Netflix to Ubuntu), it should be added to the default Compiz settings, changing the line to
(any) & !(class=Totem) & !(class=MPlayer) & !(class=Vlc) & !(class=
Most likely & !(class=
It's very tedious to do this on each and every machine I install, and I would say that having both Firefox and Chromium be unredirected is a more sane default than just Firefox. Especially because Chromium is the only browser on Ubuntu with full MSE support and Chrome being the only way to use Netflix.
[impact]
Compiz doesn't handle by default the fullscreen windows and this causes tearing in some browsers like Chrome. With the fix revno 3994 compiz handles the chrome windows in fullscreen and the tearing is gone.
[test case]
Open chrome in fullscreen and start a video. You will see some tearing.
Close chrome, apply the compiz patch.
Open chrome in fullscreen and play the same video. There's no more tearing.
[regression potential]
-
Related branches
- PS Jenkins bot (community): Approve (continuous-integration)
- Marco Trevisan (Treviño): Approve
- Will Cooke (community): Approve
- Chad Miller (community): Approve
-
Diff: 12 lines (+1/-1)1 file modifiedplugins/composite/composite.xml.in (+1/-1)
- Marco Trevisan (Treviño): Approve
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 12 lines (+1/-1)1 file modifiedplugins/composite/composite.xml.in (+1/-1)
Changed in compiz (Ubuntu): | |
importance: | Undecided → Low |
no longer affects: | compiz |
Changed in compiz (Ubuntu Xenial): | |
assignee: | nobody → Eleni Maria Stea (hikiko) |
importance: | Low → Medium |
description: | updated |
tags: |
added: verification-done removed: verification-needed |
For the record, "Chromium" class (or "Chrome") will not work for Chrome browser.
Corresponding classes are "Google- chrome- stable" , and presumably "Google- chrome- beta", "Google- chrome- unstable" .
So for Chrome, the needed filter is "& !(class= ^Google- chrome) ".