Tooltips have a black squares outside of its rounded corners

Bug #1508357 reported by Didier Roche-Tolomelli
38
This bug affects 7 people
Affects Status Importance Assigned to Milestone
gtk+3.0 (Ubuntu)
Fix Released
Medium
Marco Trevisan (Treviño)
Wily
Fix Released
Medium
Unassigned

Bug Description

* Impact:
gtk tooltips have buggy corners rendering under unity (squares outside the rounded shape)

* Test Case:
over a gtk element like a toolbar icon in gedit and looks at the tooltips

* Regression potential:
look at how gtk applications are displayed and if there is any issue

-----------------

Hover over any elements on a gtk apps making a tooltip appearing.

See that the tooltip is rectangular, containing rounded corner with a gradient.
However, the external part is just plain black and don't have transparency as expected.

Related branches

Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in compiz (Ubuntu):
status: New → Confirmed
Changed in gtk+3.0 (Ubuntu):
status: New → Confirmed
no longer affects: compiz (Ubuntu)
affects: gtk+3.0 (Ubuntu) → ubuntu
Changed in ubuntu:
assignee: nobody → Marco Trevisan (Treviño) (3v1n0)
importance: Undecided → Medium
status: Confirmed → In Progress
affects: ubuntu → gtk+3.0 (Ubuntu)
Revision history for this message
Marco Trevisan (Treviño) (3v1n0) wrote :

This happens because unity (compiz) doesn't advertize to support _GTK_FRAME_HINTS (as we don't), so gtk3 doesn't set up an rgba surface for tooltips and other client-side decorated windows (such as the ones with headerbar, to be fixed differently).

However in unity we do support rgba surfaces, and so to get proper transparent corners we need to force this.

Will Cooke (willcooke)
Changed in gtk+3.0 (Ubuntu):
status: In Progress → Fix Committed
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gtk+3.0 - 3.16.7-0ubuntu4

---------------
gtk+3.0 (3.16.7-0ubuntu4) xenial; urgency=medium

  * debian/patches/unity_rbga_tooltips.patch:
    - GtkTooltip: set always an rgba visual when running in Unity (LP: #1508357)

 -- Marco Trevisan (Treviño) <email address hidden> Fri, 30 Oct 2015 10:03:36 +0100

Changed in gtk+3.0 (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello Didier, or anyone else affected,

Accepted gtk+3.0 into wily-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/gtk+3.0/3.16.7-0ubuntu3.2 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in gtk+3.0 (Ubuntu Wily):
importance: Undecided → Medium
status: New → Fix Committed
tags: added: verification-needed
Revision history for this message
Brian Murray (brian-murray) wrote :

Hello Didier, or anyone else affected,

Accepted gtk+3.0 into wily-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/gtk+3.0/3.16.7-0ubuntu3.3 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Revision history for this message
Mateusz Stachowski (stachowski-mateusz) wrote :

The new gtk+3.0 from wily-proposed fixes this bug.

tags: added: verification-done
removed: verification-needed
Revision history for this message
sotiris papadimitriou (sotiris21papadimitriou) wrote :

From today 16.04 have same problem

Revision history for this message
Mariano Draghi (chaghi) wrote :

I'm also seeing this artifact again in Ubuntu 16.04, libgtk-3-0 3.18.9-1ubuntu3

Revision history for this message
Will Cooke (willcooke) wrote :

Can't reproduce here on a "proposed" installation.

Revision history for this message
sotiris papadimitriou (sotiris21papadimitriou) wrote :

When using nvidia i have rounded corners with rounded swadows, but when using intel i have rounded corners with squares swadows.
Ubuntu 16.04

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gtk+3.0 - 3.16.7-0ubuntu3.3

---------------
gtk+3.0 (3.16.7-0ubuntu3.3) wily; urgency=medium

  * debian/patches/git_screenshot_hidpi.patch:
    - revert that change for now, it creates a regression

gtk+3.0 (3.16.7-0ubuntu3.2) wily; urgency=medium

  * debian/patches/git_non_uri_dnd_segfault.patch:
    - placessidebar: do not crash if uris is NULL, (lp: #1283426)
  * debian/patches/git_screenshot_hidpi.patch:
    - gdk_pixbuf_get_from_window: honor device scale, that fixes screenshots
      not looking right on hidpi screens, thanks Lars

gtk+3.0 (3.16.7-0ubuntu3.1) wily; urgency=medium

  * debian/patches/unity_rbga_tooltips.patch:
    - GtkTooltip: set always an rgba visual when running in Unity (LP: #1508357)

 -- Sebastien Bacher <email address hidden> Tue, 08 Dec 2015 15:32:58 +0100

Changed in gtk+3.0 (Ubuntu Wily):
status: Fix Committed → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote : Update Released

The verification of the Stable Release Update for gtk+3.0 has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

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

Other bug subscribers

Bug attachments

Remote bug watches

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