gtk drawing area - missing or incorrect expose or draw event

Bug #1302546 reported by Mike Cornelison
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GTK+
Fix Released
Medium
LiVES
Confirmed
Critical
auto-salsaman
gtk+3.0 (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Application is Fotoxx 14.04. A GTK notebook is used with tabs containing drawing areas inside scrolled windows. The program works on Ubuntu 13.10 and earlier (GTK 3.8) and fails on Ubuntu 14.04 beta (as of April 4) (GTK 3.10).

When the notebook tab is changed the new tab's drawing area is not updated (Fotoxx gallery page). Some prior data is present and the rest is background color only. Clicking elsewhere and then clicking the window title bar (unfocus and refocus the app) causes the tab to update correctly. Removing the default "double buffered" attribute from the drawing area widget after it is created makes everything work correctly on Ubuntu 14.04. However on earlier Ubuntu releases the background is not updated and is filled with data from the previous tab.

This seems to be a problem with missing "draw" events or events with incorrect update regions. I have verified that draw events are not sent when the tab is switched but are sent when the window acquires focus.

The GTK bug tracking system seems to have related bugs but I cannot be sure (too much technical jargon for my knowledge of GTK internals). I did not file a report there because the expected knowledge of internals is missing. The bug may be fixed in GTK 3.12.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: libgtk-3-0 3.10.7-0ubuntu5
ProcVersionSignature: Ubuntu 3.13.0-22.44-generic 3.13.8
Uname: Linux 3.13.0-22-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.14-0ubuntu1
Architecture: amd64
CurrentDesktop: Unity
Date: Fri Apr 4 13:28:59 2014
InstallationDate: Installed on 2014-03-28 (7 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Beta amd64 (20140326)
SourcePackage: gtk+3.0
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Mike Cornelison (kornelix-i) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. The issue you are reporting is an upstream one and it would be nice if somebody having it could send the bug to the developers of the software by following the instructions at https://wiki.ubuntu.com/Bugs/Upstream/GNOME. If you have done so, please tell us the number of the upstream bug (or the link), so we can add a bugwatch that will inform us about its status. Thanks in advance.

affects: gtk+3.0 (Ubuntu) → ubuntu
Changed in ubuntu:
importance: Undecided → Low
affects: ubuntu → gtk+3.0 (Ubuntu)
Revision history for this message
Mike Cornelison (kornelix-i) wrote :

Bug report filed with Gnome bugzilla: #727650

Changed in gtk+3.0 (Ubuntu):
status: New → Triaged
Changed in gtk:
importance: Unknown → Medium
status: Unknown → New
Revision history for this message
Mike Cornelison (kornelix-i) wrote :

I ran a simple experiment to find out if the bug is fixed in a later release of GTK.
The answer is YES.

I installed gtk 3.12 using the PPAs gnome3-team and ricotz.
The bug is gone.

Revision history for this message
salsaman (salsaman) wrote :

I believe I am seeing the same problem in LiVES (http://lives.sourceforge.net). Something is very odd with custom expose events in GTK+ 3.10. If the problem is fixed in GTK+ 3.12 then the version should be updated ASAP.

Changed in lives:
importance: Undecided → Critical
status: New → Confirmed
Revision history for this message
Mike Cornelison (kornelix-i) wrote :

This bug should be closed. Fixed in a later release of GTK (see above).

Changed in gtk:
status: New → Fix Released
Changed in gtk+3.0 (Ubuntu):
status: Triaged → Fix Released
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.