After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 587716 - GtkInfoBar broken on resize
GtkInfoBar broken on resize
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: Other
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
csw
Depends on:
Blocks:
 
 
Reported: 2009-07-03 22:59 UTC by David Zeuthen (not reading bugmail)
Modified: 2009-07-06 05:57 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
screenshot (27.32 KB, image/png)
2009-07-03 23:00 UTC, David Zeuthen (not reading bugmail)
  Details
Make GtkInfoBar repaint on resize. (488 bytes, patch)
2009-07-04 19:04 UTC, Alexander Larsson
committed Details | Review

Description David Zeuthen (not reading bugmail) 2009-07-03 22:59:58 UTC
Happens when you resize the "Info Bars" window in gtk-demo.

This is with latest git master, last commit is

 commit 6b56aea518226c27411414176527667472a3c936
 Author: Matthias Clasen <mclasen@redhat.com>
 Date:   Fri Jul 3 15:21:50 2009 -0400

     Add another bug ref

I'll attach a screenshot.
Comment 1 David Zeuthen (not reading bugmail) 2009-07-03 23:00:25 UTC
Created attachment 137814 [details]
screenshot
Comment 2 David Zeuthen (not reading bugmail) 2009-07-03 23:01:33 UTC
Matthias: might this be related to that Palimpsest problem I mentioned earlier?
Comment 3 Alexander Larsson 2009-07-04 19:02:32 UTC
I get this with pre-csw gtk+ too.
I'm attaching a patch that "mostly" fixes it. However, even with that patch there seem to be an off-by-one redrawing error on the leftmost pixel row when resizing the window.
Comment 4 Alexander Larsson 2009-07-04 19:04:18 UTC
Created attachment 137842 [details] [review]
Make GtkInfoBar repaint on resize.
Comment 5 Alexander Larsson 2009-07-04 19:09:10 UTC
eh, rightmost pixel row obviously
Comment 6 Matthias Clasen 2009-07-06 05:57:24 UTC
Thanks, committed with an additional fix for the off-by-one issue.