Widget is not always refreshed after window resizing

Bug #987565 reported by Pavol Klačanský
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Floaty
Fix Released
High
Unassigned
GTK+
Invalid
Medium
Gwibber
Invalid
Undecided
Unassigned
Unity
Invalid
Undecided
Unassigned
Ubuntu
Invalid
Undecided
Unassigned

Bug Description

Hi, if you have some widget inside window (Grid, VBox,...) and you resize window, widget is not refreshed, but when you resize window again, widget gets proper size.

Observed in my project, also gwibber suffers with this bug.

I have attached video and source code

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: libgtk-3-0 3.4.1-0ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-23.36-generic 3.2.14
Uname: Linux 3.2.0-23-generic x86_64
ApportVersion: 2.0.1-0ubuntu5
Architecture: amd64
Date: Tue Apr 24 00:43:50 2012
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120328)
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=sk_SK.UTF-8
 SHELL=/bin/bash
SourcePackage: gtk+3.0
UpgradeStatus: No upgrade log present (probably fresh install)

Related branches

Revision history for this message
Pavol Klačanský (pavolzetor-deactivatedaccount) wrote :
Revision history for this message
Pavol Klačanský (pavolzetor-deactivatedaccount) wrote :
Revision history for this message
Pavol Klačanský (pavolzetor-deactivatedaccount) wrote :
Revision history for this message
Pavol Klačanský (pavolzetor-deactivatedaccount) wrote :
Changed in gtk:
importance: Unknown → Medium
status: Unknown → New
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in gtk+3.0 (Ubuntu):
status: New → Confirmed
Changed in floaty:
importance: Undecided → Medium
assignee: nobody → Pavol Klačanský (pavolzetor)
importance: Medium → High
status: New → Confirmed
Revision history for this message
Pavol Klačanský (pavolzetor-deactivatedaccount) wrote :

so I have tested it on gnome shell, unity 2d and unity. This problem occurs only on unity. On the other side, on gnome shell and unity 2d, when you resize window slowly, your HDD is still active and performing something.

Revision history for this message
Pavol Klačanský (pavolzetor-deactivatedaccount) wrote :

maybe 'check-resize' signal should be raised when resizing ends

Changed in gtk+3.0 (Ubuntu):
status: Confirmed → Invalid
Changed in gtk:
status: New → Invalid
Revision history for this message
Pavol Klačanský (pavolzetor-deactivatedaccount) wrote :

also occurs in Metacity while maximizing window, resizing is okay

Martin Pitt (pitti)
affects: gtk+3.0 (Ubuntu) → ubuntu
Revision history for this message
Pavol Klačanský (pavolzetor-deactivatedaccount) wrote :

Guys at Gtk+ explained it to me, allocation signal is emitted after drawing, so I used check-resize for window and then get current allocation

Changed in floaty:
status: Confirmed → Fix Committed
Changed in unity:
status: New → Invalid
Changed in floaty:
status: Fix Committed → Fix Released
Revision history for this message
Bilal Shahid (s9iper1) wrote :

in gwibber it is the duplicate of this bug #882154 so marking it invalid for gwibber here.

Changed in gwibber:
status: New → Invalid
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.