← Back to team overview

indiv-screenlets-dev team mailing list archive

Re: [Bug 1065143] [NEW] OutputScreenlet only displays last n lines based on height

 

Larry Williams wrote:
> Public bug reported:
>
> I am using OutputScreenlet version 0.2.2+ in Precise. I am using it to
> display a total of 26 statistical lines. In order to see all 26 lines of
> output I must set the screenlet height greater than 775; any smaller and
> the top lines are not displayed.
>
> Height > 25 line 26 displays
> Height > 75 lines 25 and 26 display, bottom margin is roughly 2 blank lines.
> .
> .
> .
> Height > 775 all lines are displayed, bottom margin is roughly 21 blank lines
>
> ** Affects: indiv-screenlets
>       Importance: Undecided
>           Status: New
>

When working on another bug, I noticed what I think might be an 
inability to calculate widths and heights for specific fonts and -sizes, 
though it might be that the screenlets drawing library simply calculates 
from the specific font and size that is already set.

I don't have the time, but someone might look into whether my (limited) 
understanding is correct, or whether some functionality should be added 
to Drawing.py...

Best regards,

Sune Mølgaard

-- 
The tolerance of liberty can be maintained until complete federal and
state control by Catholics has been accomplished.
- Bishop O'Connor, Pittsburgh

-- 
You received this bug notification because you are a member of
Individual Screenlets Developers, which is subscribed to Individual
Screenlets.
https://bugs.launchpad.net/bugs/1065143

Title:
  OutputScreenlet only displays last n lines based on height

Status in Screenlets — individual widgets development:
  New

Bug description:
  I am using OutputScreenlet version 0.2.2+ in Precise. I am using it to
  display a total of 26 statistical lines. In order to see all 26 lines
  of output I must set the screenlet height greater than 775; any
  smaller and the top lines are not displayed.

  Height > 25 line 26 displays
  Height > 75 lines 25 and 26 display, bottom margin is roughly 2 blank lines.
  .
  .
  .
  Height > 775 all lines are displayed, bottom margin is roughly 21 blank lines

To manage notifications about this bug go to:
https://bugs.launchpad.net/indiv-screenlets/+bug/1065143/+subscriptions


References