Bug 166832 - Resize to long window upon double clicking track with very long artist description
Summary: Resize to long window upon double clicking track with very long artist descri...
Status: RESOLVED FIXED
Alias: None
Product: amarok
Classification: Applications
Component: Playlist (show other bugs)
Version: 2.0-SVN
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-17 14:06 UTC by Maarten Wisse
Modified: 2008-07-31 14:42 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
screenshot of the resize bug (137.44 KB, image/png)
2008-07-17 14:08 UTC, Maarten Wisse
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Maarten Wisse 2008-07-17 14:06:49 UTC
Version:           2.0-SVN (using KDE 4.0.98)
Installed from:    Compiled From Sources
Compiler:          gcc 4.1.2 
OS:                Linux

Hopefully this reproduces it reliably with a snapshot from yesterday:

Have a track in your playlist with a very long artist title. here is one that triggers the bug:

Amsterdam Baroque Orchestra / Ton Koopman / Johannette Zomer en Bettina Pahn, sopraan. Bogna Bartosz, alt. Jörg Dürmüller, tenor. Klaus Mertens, bas.

All in one artist tag.

Double click on the track in the playlist when the window is of normal size.

Amarok's main window will resize to an enormously long window (screenshot attached, although that shows only the length, not the content of the whole window).

This window cannot be resized anymore.

In addition, with compositing enabled, the screen turns black, similar to the problem described in #166831. Escape does not help here, however. Disabling compositing effects brings back the contents of the main Amarok window. The music plays properly.
Comment 1 Maarten Wisse 2008-07-17 14:08:12 UTC
Created attachment 26203 [details]
screenshot of the resize bug
Comment 2 Mark Kretschmann 2008-07-17 15:04:33 UTC
I can confirm this. Just happened to me as well.

Technical note: we need to use QFontmetrics::elidedText() here.
Comment 3 Edward Hades 2008-07-31 14:42:49 UTC
SVN commit 840128 by hades:

Fixed status bar limiting shrinking capacity of amarok main window.
Patch by Daniel Molkentin <danimo@kde.org>.
BUG: 166832


 M  +3 -0      ChangeLog  
 M  +1 -0      src/statusbar/StatusBar.cpp  
 M  +4 -1      src/statusbar/StatusBarBase.cpp  
 M  +2 -1      src/statusbar/StatusBarBase.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=840128