Summary: | Long Track or Artist name makes tab "Summary" in Tag Dialog clean. | ||
---|---|---|---|
Product: | [Applications] amarok | Reporter: | Andrey Esin <gmlastik> |
Component: | general | Assignee: | Amarok Developers <amarok-bugs-dist> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 2.0-SVN | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
Example file to test this bug
Patch to solve this problem Patch to solve this problem try 2 |
Description
Andrey Esin
2008-10-17 20:42:02 UTC
Created attachment 27977 [details]
Example file to test this bug
Add this file to playlist, open Tag Dialog and click on "Summary" if it's ok then this my bug, if it's clean it's bug of Amarok or QT :)
Created attachment 27978 [details]
Patch to solve this problem
In this patch, long names will be truncate to more small names (truncCount is variable which determines how much symbols leave in name)
Andrey, there is a simpler way to do this: http://doc.trolltech.com/4.4/qfontmetrics.html#elidedText Oh...sorry :( I didn't know about this :( Ok i will remake the patch, but i think elidedText not useful for this, because "width is specified in pixels, not characters", may be i mistaken... So, did you reproduce this bug? What is the status of this? Nobody didn't confirm this bug :( Sorry Andrey, just tested it with your file: I can confirm it. What happened was that I got one giant (full width of the screen) black filled rectangle. I had to kill Amarok to get rid of it. Pretty bad. Created attachment 28232 [details]
Patch to solve this problem try 2
Track Name or Album Name or Artist Name will stretch as much as possible in dialog with '...' in the end :)
SVN commit 877787 by markey: Fix for very long track or artist names messing up the tag dialog. Thanks to Andrey Esin <gmlastik@gmail.com> for the patch. Andrey, as you've already contributed so many good patches, are you interested in getting a KDE SVN account? BUG: 173062 M +14 -7 TagDialog.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=877787 |