gtk_range_expose can set height/width < -1 when trough-under-steppers is enabled

Bug #1884682 reported by Ceriand
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
light-themes
New
Undecided
Unassigned
gtk+2.0 (Ubuntu)
New
Undecided
Unassigned

Bug Description

The root cause of https://github.com/mate-desktop/mate-themes/issues/57 and https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/538541 (murrine_style_draw_box: assertion `height >= -1' failed) is gtk_range_expose not clamping height and width to a sane value if trough-under-steppers is enabled, the window is very small (like in init), and the theme has non-zero offsets.
The attached patch should solve the problem (based on 2.24.32-1ubuntu1).

Tags: patch
Revision history for this message
Ceriand (ceriand) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "Clamp height and width to at least -1" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report and patch, has that been submitted upstream? If not could you do that and share the url?

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.