TreeView never display horizontal scrollbar so columns gets squashed together
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| gtk+3.0 (Ubuntu) |
Undecided
|
Unassigned | |||
| Trusty |
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:/
[2] https:/
[3] https:/
[4] https:/
[5] https:/
Related branches
- Ubuntu Desktop: Pending requested 2015-03-02
-
Diff: 523 lines (+498/-0)4 files modifieddebian/changelog (+9/-0)
debian/patches/revert-better-resize-of-expandable-columns.patch (+123/-0)
debian/patches/revert-use-minumum-natural-size-semantics.patch (+364/-0)
debian/patches/series (+2/-0)
| Thiago Bellini (hackedbellini) wrote : | #1 |
| Iain Lane (laney) wrote : | #2 |
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:/
| Changed in gtk+3.0 (Ubuntu): | |
| status: | New → Fix Released |
| Thiago Bellini (hackedbellini) wrote : | #3 |
@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 |
| Iain Lane (laney) wrote : | #4 |
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!


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