Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 174154 - x11-libs/qt-4.2.* - Items are not inserted into QTableWidget if sortingEnabled is true
Summary: x11-libs/qt-4.2.* - Items are not inserted into QTableWidget if sortingEnable...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High major (vote)
Assignee: Qt Bug Alias
URL: http://www.trolltech.com/developer/ta...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-11 13:04 UTC by Christian Schoenebeck
Modified: 2007-08-24 19:44 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Schoenebeck 2007-04-11 13:04:20 UTC
I _definitely_ discourage to mark Qt versions of 4.2.x as "stable", because they have a major bug regarding QTableWidgets (see provided link of the Trolltech task tracker), which causes to render only the very last line of table, all the rest will stay empty. This bug will be fixed for Qt 4.3.0, please mark all 4.2.x versions either as "testing" or even as "blocked"!

Reproducible: Always
Comment 1 Christian Schoenebeck 2007-04-11 16:45:39 UTC
This was not a request to fix the actual bug, this was a request to mark Qt ebuilds of version 4.2.x as either "testing" or "hard masked". That's why I reopen this report now.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-04-11 17:01:54 UTC
(In reply to comment #1)
> This was not a request to fix the actual bug, this was a request to mark Qt
> ebuilds of version 4.2.x as either "testing" or "hard masked". 

That won't happen... So, what's exactly the point of this bug? Is there a patch available? No. Does upstream know about it? Yes. So... ???
Comment 3 Caleb Tennis (RETIRED) gentoo-dev 2007-04-11 17:14:42 UTC
Arguably there are bugs in the 4.1 series as well.  I think it's too late to go back, and there's a security issue that is making us mark 4.2.3-r1 stable as well.

Since you're the first to have this issue, I'd say the problem isn't widespread.  Best case, you should just locally mask this version on your system so you stay at 4.1, or try installing 4.3 beta and working with that one.
Comment 4 Christian Schoenebeck 2007-04-11 17:21:21 UTC
I don't doubt that there are bugs in 4.1 as well, but this is a major one. All applications that use QTableWidgets are unusable with Qt 4.2.x.
Comment 5 Markus Dittrich (RETIRED) gentoo-dev 2007-05-02 17:40:28 UTC
My reading is that only QTableWidgets with setSortingEnabled(true) have
this issue (default is false). Since this member function was introduced
in Qt-4.2 this should not hit very many people.
The Qt4-gui I am currently working on has lots of QTableWidgets all 
of which work fine under Qt-4.2.*. Granted, I don't call setSortingEnabled(true)
on my QTableWidget instances;)

Best,
Markus 
Comment 6 Caleb Tennis (RETIRED) gentoo-dev 2007-05-02 18:11:41 UTC
I've also put the first beta of 4.3 into portage if you'd prefer to use that instead.
Comment 7 Christian Schoenebeck 2007-05-04 15:38:24 UTC
(In reply to comment #5)
Yes, this bug only occurs on setSortingEnabled(true), but this method was not introduced with Qt 4.2.x, it exists as long as class "QTableWidget" exists, that is since Qt 4.0.x:

http://doc.trolltech.com/4.0/qtablewidget.html#sortingEnabled-prop

And IMO setSortingEnabled(true) is essential for any table that shows more than only one columnt and more than just a couple of rows.

(In reply to comment #6)
Good to know that a first version of Qt 4.3 is in portage. But I'm not sure if I'm brave enough to test this beta already, especially as I just realized that there is no single 4.1.x version in portage anymore where I could downgrade in case this beta introduced another severe bug(s).
Comment 8 Caleb Tennis (RETIRED) gentoo-dev 2007-08-21 22:38:39 UTC
closing due to 4.3 now being in the tree and stable on many arches.
Comment 9 Christian Schoenebeck 2007-08-24 19:44:40 UTC
And that bug has actually been fixed with that version?

Qt was marked as stable for many archs before, even though this IMO major bug existed.