Merge lp:~cyphermox/overlay-scrollbar/fix-second-use into lp:overlay-scrollbar

Proposed by Mathieu Trudel-Lapierre
Status: Rejected
Rejected by: Mathieu Trudel-Lapierre
Proposed branch: lp:~cyphermox/overlay-scrollbar/fix-second-use
Merge into: lp:overlay-scrollbar
Diff against target: 14 lines (+5/-0)
1 file modified
os/os-thumb.c (+5/-0)
To merge this branch: bzr merge lp:~cyphermox/overlay-scrollbar/fix-second-use
Reviewer Review Type Date Requested Status
Andrea Cimitan Disapprove
PS Jenkins bot (community) continuous-integration Approve
Review via email: mp+162507@code.launchpad.net

Commit message

Fix scrollbars not showing up again after first use on GTK 3.8.

Description of the change

Fix scrollbars not showing up again after first use on GTK 3.8.

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

Actually just noticed it's wrong for horizontal scroll.

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Allan LeSage (allanlesage) wrote :

Investigating this failure, one min pls.

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Allan LeSage (allanlesage) wrote :

We're short on armhf testers, will attempt again.

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Andrea Cimitan (cimi) wrote :

I didn't try, but I am sure the patch "works" against the bug.
However, I don't think the patch is the right approach.
In particular, I can't see why we should resize a window every 'map' event, it just doesn't seem right to me. It should be handled by Gtk+, I believe this is showing a Gtk+ bug instead, especially looks like a regression.

Best approach I recommend is to fix Gtk+ instead, and/or seeing the real reason for the failure.

In case we cannot find our way through Gtk+, we will merge this patch with a big FIXME linked to a Gtk+ bug report.

review: Disapprove

Unmerged revisions

373. By Mathieu Trudel-Lapierre

Properly handle thumb orientation

372. By Mathieu Trudel-Lapierre

Fix scrollbars not showing up again after first use on GTK 3.8.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'os/os-thumb.c'
--- os/os-thumb.c 2013-02-02 00:46:51 +0000
+++ os/os-thumb.c 2013-05-13 15:06:28 +0000
@@ -978,6 +978,11 @@
978 gtk_grab_remove (priv->grabbed_widget);978 gtk_grab_remove (priv->grabbed_widget);
979 }979 }
980980
981 if (priv->orientation == GTK_ORIENTATION_VERTICAL)
982 os_thumb_resize (thumb, THUMB_WIDTH, THUMB_HEIGHT);
983 else
984 os_thumb_resize (thumb, THUMB_HEIGHT, THUMB_WIDTH);
985
981 GTK_WIDGET_CLASS (os_thumb_parent_class)->map (widget);986 GTK_WIDGET_CLASS (os_thumb_parent_class)->map (widget);
982}987}
983988

Subscribers

People subscribed via source and target branches