GTK3 can't resize treeviewcolumn
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | GTK+ |
Fix Released
|
Medium
|
||
| | gtk+3.0 (Ubuntu) |
Undecided
|
Lars Karlitski | ||
| | Trusty |
Undecided
|
Lars Karlitski | ||
| | Utopic |
Undecided
|
Lars Karlitski | ||
Bug Description
This is a regression from 3.8 present until 3.12 (it is fixed on 3.14+).
Two issues regarding tree view columns:
1. When columns in a tree view are set to be resizeable and the horizontal scrollbar is shown, they cannot be resized.
2. When columns are of fixed width, the horizontal scrollbar is not visible when it should be.
The proposed fix is to backport a couple of reverts from gtk+ 3.14.
[Test Case]
For 1) Open nautilus and change it to list mode (Ctrl+1). Resize the window so that the horizontal scroll bar appears. The name column is not resizeable but should be with this fix applied.
For 2) Open gtk3-demo (from gtk-3-examples) and run the "Tree Store" demo (under "Tree View"). Resize the window so that content on the right gets hidden. No horizontal scrollbar becomes visible unless this fix is applied.
[Regression Potential]
Any application using gtk's tree view with visible columns is potentially affected. However, resizing columns is not a common operation and horizontal scrollbars should rarely be visible.
Related branches
| Marcin Szałowicz (lolek) wrote : | #1 |
| Marcin Szałowicz (lolek) wrote : | #3 |
Did a little more digging in, it seems that this commit 83e104b093f49ea
Tested on 14.04 32bit
Patch applied without any issues
| Lars Karlitski (larsu) wrote : | #4 |
Thanks for reporting and investigating this bug. Reverting the commit you mentioned breaks the GTK_POLICY_NEVER case for me (as mentioned in the commit message). Cherry-picking a couple of reverts from the 3.14 cycle seems to work though. Attached is a combined patch of those commits. I'd appreciate if you could test that one as well.
| Changed in gtk+3.0 (Ubuntu): | |
| status: | Confirmed → In Progress |
| assignee: | nobody → Lars Uebernickel (larsu) |
The attachment "0001-treeview-
[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]
| tags: | added: patch |
| Changed in gtk+3.0 (Ubuntu): | |
| status: | In Progress → Fix Released |
| Changed in gtk+3.0 (Ubuntu Trusty): | |
| status: | New → In Progress |
| Changed in gtk+3.0 (Ubuntu Utopic): | |
| status: | New → In Progress |
| Changed in gtk+3.0 (Ubuntu Trusty): | |
| assignee: | nobody → Lars Uebernickel (larsu) |
| Changed in gtk+3.0 (Ubuntu Utopic): | |
| assignee: | nobody → Lars Uebernickel (larsu) |
| Iain Lane (laney) wrote : | #6 |
With an extra backport, the patch at least builds on trusty.
Could you please add SRU info to this bug?
| Iain Lane (laney) wrote : | #7 |
(The reporter of the duplicate bug [thanks again] added some SRU info there which you might want to base on)
| Marcin Szałowicz (lolek) wrote : | #8 |
it seems that this patch breaks the tests:
TEST: tree-relationsh
/a11y/tree/focus: FAIL
GTester: last random seed: R02S144251430f6
(pid=26315)
/a11y/
GTester: last random seed: R02S66403bd4632
(pid=26331)
tbh not sure why :/
| Iain Lane (laney) wrote : | #9 |
It's fixed in bzr. See the linked branch.
| Iain Lane (laney) wrote : | #10 |
14.04 package uploaded
| Iain Lane (laney) wrote : | #11 |
& 14.10 too
| description: | updated |
| Changed in gtk: | |
| importance: | Unknown → Medium |
| status: | Unknown → Fix Released |
Hello Marcin, or anyone else affected,
Accepted gtk+3.0 into trusty-proposed. The package will build now and be available at https:/
Please help us by testing this new package. See https:/
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-
Further information regarding the verification process can be found at https:/
| tags: | added: trusty utopic |
| Changed in gtk+3.0 (Ubuntu Trusty): | |
| status: | In Progress → Fix Committed |
| tags: | added: verification-needed |
| Changed in gtk+3.0 (Ubuntu Utopic): | |
| status: | In Progress → Fix Committed |
| Brian Murray (brian-murray) wrote : | #13 |
Hello Marcin, or anyone else affected,
Accepted gtk+3.0 into utopic-proposed. The package will build now and be available at https:/
Please help us by testing this new package. See https:/
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-
Further information regarding the verification process can be found at https:/
| Marcin Szałowicz (lolek) wrote : | #14 |
tested libgtk-
| tags: |
added: verification-done removed: verification-needed |
| Thiago Bellini (hackedbellini) wrote : | #15 |
I don't understand why the work I've done on https:/
The patch here and the testunit fix are basically a copy of what I've done there. Not saying that you copied it intentionally, but it is already there and merged since 2015-03-02).
My commit simply vanished from the repository: https:/
More info at https:/
On Sun, May 10, 2015 at 07:18:58PM -0000, Thiago Bellini wrote:
> I don't understand why the work I've done on
> https:/
> was discarded.
>
> The patch here and the testunit fix are basically a copy of what I've
> done there. Not saying that you copied it intentionally, but it is
> already there and merged since 2015-03-02).
>
> My commit simply vanished from the repository:
> https:/
No. I merged the two versions of the same fix and then uploaded it.
You are credited in the changelog. Look:
[ Thiago Bellini Ribeiro / Lars Uebernickel ]
* debian/
Cherry-pick some reverts from upstream to fix treeview column resizing
with horizontal scrollbars shown.
- Port of an upstream bug:
https:/
--
Iain Lane [ <email address hidden> ]
Debian Developer [ <email address hidden> ]
Ubuntu Developer [ <email address hidden> ]
| Thiago Bellini (hackedbellini) wrote : | #17 |
@laney: Oh, now I see my confusion.
I could not find my commit on "bzr log", but I just noticed that it actually has a merge you did there. I'm more used to git, where a merge will display the merged commits on the log, and after not finding mine, I thought it went to the trash.
Sorry about that.
Anyway, I still didn't get why you needed to do this: http://
From what I can tell, it basically merged revert-
Also, one of those patches (don't remember which one exactly) also had a fix for the testsuit issue you saw here (and you fixed by doing this http://
| Chris J Arges (arges) wrote : | #18 |
The following regressions have been found with this upload:
http://
autopkgtest for apport 2.14.1-0ubuntu3.10: Regression (Jenkins: public, private)
autopkgtest for deja-dup 30.0-0ubuntu4: Regression (Jenkins: public, private)
autopkgtest for gvfs 1.20.3-0ubuntu1.1: Regression (Jenkins: public, private)
autopkgtest for notify-osd 0.9.35+
autopkgtest for ubuntu-
autopkgtest for update-manager 1:0.196.13: Regression (Jenkins: public, private)
Can somebody check all of these?
Thanks,
| Iain Lane (laney) wrote : | #19 |
On Wed, Jun 03, 2015 at 01:22:44PM -0000, Chris J Arges wrote:
> The following regressions have been found with this upload:
>
> http://
> autopkgtest for apport 2.14.1-0ubuntu3.10: Regression (Jenkins: public, private)
> autopkgtest for deja-dup 30.0-0ubuntu4: Regression (Jenkins: public, private)
> autopkgtest for gvfs 1.20.3-0ubuntu1.1: Regression (Jenkins: public, private)
> autopkgtest for notify-osd 0.9.35+
> autopkgtest for ubuntu-
> autopkgtest for update-manager 1:0.196.13: Regression (Jenkins: public, private)
>
> Can somebody check all of these?
They all look variously like test harness issues or false negatives due
to the basline being unclean.
--
Iain Lane [ <email address hidden> ]
Debian Developer [ <email address hidden> ]
Ubuntu Developer [ <email address hidden> ]
| Launchpad Janitor (janitor) wrote : | #20 |
This bug was fixed in the package gtk+3.0 - 3.10.8-0ubuntu1.5
---------------
gtk+3.0 (3.10.8-0ubuntu1.5) trusty; urgency=low
[ Thiago Bellini Ribeiro / Lars Uebernickel ]
* debian/
Cherry-pick some reverts from upstream to fix treeview column resizing
with horizontal scrollbars shown.
- Port of an upstream bug:
https:/
[ Iain Lane ]
* Cherry-pick b4282e5 too to fix testsuite.
-- Thiago Bellini Ribeiro <email address hidden> Thu, 30 Apr 2015 12:58:28 +0100
| Changed in gtk+3.0 (Ubuntu Trusty): | |
| status: | Fix Committed → Fix Released |
| Chris J Arges (arges) wrote : Update Released | #21 |
The verification of the Stable Release Update for gtk+3.0 has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.
| Launchpad Janitor (janitor) wrote : | #22 |
This bug was fixed in the package gtk+3.0 - 3.12.2-0ubuntu15.3
---------------
gtk+3.0 (3.12.2-
[ Thiago Bellini Ribeiro / Lars Uebernickel ]
* debian/
Cherry-pick some reverts from upstream to fix treeview column resizing
with horizontal scrollbars shown.
- Port of an upstream bug:
https:/
[ Iain Lane ]
* Cherry-pick b4282e5 too to fix testsuite.
-- Iain Lane <email address hidden> Thu, 30 Apr 2015 13:10:11 +0100
| Changed in gtk+3.0 (Ubuntu Utopic): | |
| status: | Fix Committed → Fix Released |


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