[haiku-commits] Re: r40685 - haiku/trunk/src/kits/tracker

  • From: Alex Wilson <yourpalal2@xxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Fri, 25 Feb 2011 12:52:09 -0700

On Fri, Feb 25, 2011 at 12:39 PM, Stephan Aßmus <superstippi@xxxxxx> wrote:

> On 25.02.2011 20:28, yourpalal2@xxxxxxxxx wrote:
>
>> Author: yourpalal
>> Date: 2011-02-25 20:28:27 +0100 (Fri, 25 Feb 2011)
>> New Revision: 40685
>> Changeset: http://dev.haiku-os.org/changeset/40685
>> Ticket: http://dev.haiku-os.org/ticket/5914
>>
>> Modified:
>>    haiku/trunk/src/kits/tracker/StatusWindow.cpp
>>    haiku/trunk/src/kits/tracker/StatusWindow.h
>> Log:
>> Fix graphical erros in Tracker's status window by truncating the
>> destination path as needed. (Fixes #5914). Also remove fallback drawing code
>> for when be_control_look is NULL, as that shouldn't be the case ever.
>>
>
> Nice changes! BTW, did you fix the problem that often no speed string is
> generated at all because somehow the room is thought to be too small? Often
> the short time remaining string is then showing every two seconds and
> nothing is showing the other two seconds. I intended to fix this when I have
> the time, just wondering if your commit already addresses this as well.
>

Thanks. Basically my strategy was to show at least the small version of the
status (speed/time) string, when one is being drawn. If there is not enough
room for the small version, then the destination is truncated to make room.
In summary, yes I believe it does fix that issue, although it wasn't my
intention ;)

--Alex

Other related posts: