| Summary: | adding column in "resize playlist columns manually" mode does not work | ||
|---|---|---|---|
| Product: | [Applications] juk | Reporter: | Dominik Karall <dominik.karall> |
| Component: | general | Assignee: | Michael Pyne <mpyne> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | post |
| Priority: | NOR | ||
| Version First Reported In: | 2.2 | ||
| Target Milestone: | --- | ||
| Platform: | Gentoo Packages | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Dominik Karall
2005-03-19 17:44:05 UTC
Confirmed in 3.4 and 3.5. SVN commit 467699 by mpyne: Fix bug 101908 (adding column in manual column resize mode doesn't work) in KDE 3.5. CCBUG:101908 M +5 -1 playlist.cpp --- branches/KDE/3.5/kdemultimedia/juk/playlist.cpp #467698:467699 @@ -1436,7 +1436,11 @@ // Just set the width to one to mark the column as visible -- we'll update // the real size in the next call. - setColumnWidth(c, 1); + if(manualResize()) + setColumnWidth(c, 35); // Make column at least slightly visible. + else + setColumnWidth(c, 1); + header()->setResizeEnabled(true, c); header()->moveSection(c, c); // Approximate old position SVN commit 467701 by mpyne: Backport fix for bug 101908 (adding columns when in manual resize mode doesn't work) to KDE 3.4. BUG:101908 M +5 -1 playlist.cpp --- branches/KDE/3.4/kdemultimedia/juk/playlist.cpp #467700:467701 @@ -1333,7 +1333,11 @@ // Just set the width to one to mark the column as visible -- we'll update // the real size in the next call. - setColumnWidth(c, 1); + if(manualResize()) + setColumnWidth(c, 35); // Make column at least slightly visible. + else + setColumnWidth(c, 1); + header()->setResizeEnabled(true, c); header()->moveSection(c, c); // Approximate old position *** Bug 115032 has been marked as a duplicate of this bug. *** |