← Back to team overview

touch-packages team mailing list archive

[Bug 1448969] Re: GTK3 can't resize treeviewcolumn

 

** Description changed:

- there's a bug in gtk+ 3.10 and 3.12 (Ubuntu 14.04 and 14.10) which prevents user from resizing a column in TreeView.
- In the sample code below, when started, try to resize the 'File Name' column so the "Size in bytes' column would go out of the view - right now it's not possible. It was working with gtk2 and it's working with gtk 3.14. 
+ This is a regression from 3.8 present until 3.12 (it is fixed on 3.14+).
  
- Please use sample code from attachement
+ 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.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to gtk+3.0 in Ubuntu.
https://bugs.launchpad.net/bugs/1448969

Title:
  GTK3 can't resize treeviewcolumn

Status in gtk+3.0 package in Ubuntu:
  Fix Released
Status in gtk+3.0 source package in Trusty:
  In Progress
Status in gtk+3.0 source package in Utopic:
  In Progress

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/1448969/+subscriptions


References