TreeView never display horizontal scrollbar so columns gets squashed together

Bug #1427352 reported by Thiago Bellini
This bug report is a duplicate of:  Bug #1448969: GTK3 can't resize treeviewcolumn. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gtk+3.0 (Ubuntu)
Fix Released
Undecided
Unassigned
Trusty
New
Undecided
Unassigned

Bug Description

This is a regression from 3.8 present until 3.12 (it is fixed on 3.14+).

The treeview's horizontal scrollbar is broken in a way that it will never get displayed when needed, but instead, the columns will be squashed all together.

You can see this bug [1] for reference of the upstream issue. Also, there are those 2 images (taken from the bug) showing how this used to work on 3.6 [2] and how it is working on 3.10 [3].

I already ported the fix to the package and am doing some tests atm. As soon as I finish everything, I'll open a merge proposal linking to this.

Edit (as requested by laney):

The upload fixes the issue in the same way the upstream fixed it (it is a backport of the upstream commits).

[Test Case]

The upstream bug has a nice code to test the issue. You can download it from here [4] compile and run. Then, try to resize the window to make its width smaller.

On the affected gtk package, no scrollbar will apear and the columns will get squashed together.

On the fixed gtk package, the scrollbar will apear and no columns will get squashed togther.

If needed, you can test my fix from my ppa [5].

[Regression Potential]

None that I know... The upstream fixed this issue exactly by reverting those changes and nothing more. Also, no unit tests are failing.

[1] https://bugzilla.gnome.org/show_bug.cgi?id=731054
[2] https://bug731054.bugzilla-attachments.gnome.org/attachment.cgi?id=277633
[3] https://bug731054.bugzilla-attachments.gnome.org/attachment.cgi?id=277635
[4] https://bug731054.bugzilla-attachments.gnome.org/attachment.cgi?id=277631
[5] https://launchpad.net/~hackedbellini/+archive/ubuntu/misc

Related branches

Revision history for this message
Thiago Bellini (bellini666) wrote :

Since I have a fix pending to merge, should I change the bug status to something different from "New"?

Revision history for this message
Iain Lane (laney) wrote :

Thanks, I'm merging it so that this will be in the next stable update we do.

Could you please update the bug description here to add the information required by https://wiki.ubuntu.com/StableReleaseUpdates#Procedure ?

Changed in gtk+3.0 (Ubuntu):
status: New → Fix Released
Revision history for this message
Thiago Bellini (bellini666) wrote :

@laney: I edited the bug description to provide some more info like you requested. Is there anything else that I should do?

description: updated
description: updated
Revision history for this message
Iain Lane (laney) wrote :

Nope, working on fixing this now. There's another similar bug filed so I'm going to dupe this to there. Thanks for your work!

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.