Bug 156784 - Application text gets cut off after a space when using more than one row of tasks
Summary: Application text gets cut off after a space when using more than one row of t...
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Unmaintained
Component: widget-taskbar (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-27 15:34 UTC by Bernd Steinhauser
Modified: 2008-02-09 15:25 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bernd Steinhauser 2008-01-27 15:34:50 UTC
Version:            (using Devel)
Installed from:    Compiled sources

Recently the ability has been added to the taskbar widget to display more than one row of items.

Now when it switches to two rows (or more) it exposes a bug, that only the first "word" of the task text is displayed, most likely because there is a line break (you can see that when you freely vary the height of the taskbar applet on the desktop.

Steps to reproduce:
1. Add a taskbar widget to the desktop
2. Open a few tasks that have a space in their taskbar text (i.e. a few konsole sessions)
3. Make the taskbar applet wide enough so the text has enough space to fit
4. Vary the height of the taskbar applet

Result:
At a specific height of the applet the taskbar text gets wrapped, so only the first line is displayed (maybe part of the second line of the text can be seen or parts of it). 
This happens although there is enough space to display the text in one line.

Expected:
Only wrap if there isn't enough space.


This could be related to bug 155507.
Comment 1 Andre Moreira Magalhaes 2008-01-27 15:50:26 UTC
What svn revision are you using? I've fixed something similar last friday.
Comment 2 Bernd Steinhauser 2008-01-27 17:29:13 UTC
I think I've recompiled on friday, but I don't know, which revision I used.
So maybe it was before you made your commit.
I will recompile later and report if this problem still exists.
Comment 3 Dan Meltzer 2008-01-27 17:36:27 UTC
I am going to resolve this, I had the same problem and it works as expected with svn from yesterday.
Comment 4 Bernd Steinhauser 2008-01-27 21:15:50 UTC
Recompiled and it has been indeed fixed, thank you.
Comment 5 Aldoo 2008-02-09 15:25:40 UTC
I don't know which svn rev the version 4.0.1 derives from, but I notice that in my case, that bug affects only the taskbar applet when it is on the panel (where I never have more than one word per line), not when it is on the desktop.

If it is supposed to be fixed in 4.0.1, then it is not completely fixed. Otherwise, that would mean there already was a partial fix before, which would not be consistant with that bug report anymore.