FS#57802 - [qt5-base] Cannot resize columns or select which should be shown

Attached to Project: Arch Linux
Opened by Daniel Bedrenko (dbedrenko) - Monday, 12 March 2018, 11:20 GMT
Last edited by Antonio Rojas (arojas) - Monday, 12 March 2018, 13:29 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Antonio Rojas (arojas)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

After upgrading package version 5.10.1-2 -> 5.10.1-4 a Qt application I use "dlt-viewer" has broken column behaviour. This make it unusable except with great inconvenience.

I suspect this is caused by the patch applied in pkgrel=4 : https://git.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/qt5-base&id=9353e3ab99d60725e1d3b87d03da7c38dc76877a

Here is a screenshot of how the columns look now:

http://storage8.static.itmages.com/i/18/0312/h_1520853393_7945084_07b756484d.png

The same application worked fine prior to the upgrade.

Effect:
A) All columns default to an equal width which is too wide for the window.
B) After resizing a column, when a new row is inserted into the table view the column resizes back to the default.
C) No longer able to hide/show columns

Expected behaviour:
A) Each column has its own predefined (by the developer) reasonable width
B) After manually resizing, the size should not change by itself
C) Be able to hide/show columns via the Settings dialogue.

Steps to reproduce:

1. Install and start `dlt-viewer`

$ yaourt -S --noconfirm dlt-viewer
$ dlt_viewer

2. Notice the columns are too wide by default.
3. File -> Settings -> Project Table -> Deselect for example "Show Index"-> OK
4. Notice the "Index" column is still shown.
This task depends upon

Closed by  Antonio Rojas (arojas)
Monday, 12 March 2018, 13:29 GMT
Reason for closing:  Fixed
Additional comments about closing:  qt5-base 5.10.1-5
Comment by Antonio Rojas (arojas) - Monday, 12 March 2018, 12:27 GMT
Are you completely sure that this worked for you with 5.10.1-2? Because this looks to me like an upstream regression in 5.10.1
Comment by Daniel Bedrenko (dbedrenko) - Monday, 12 March 2018, 13:01 GMT
@arojas You're right, my mistake. I checked through my pacman log and I'm confident that it was the qt5-base (5.10.0-1 -> 5.10.1-2) upgrade that broke it.

Loading...