← Back to team overview

indiv-screenlets-dev team mailing list archive

[Bug 734469] Re: output applet hangs when commands take longer to execute than update interval

 

Altering the way the output lines are selected will avoid this problem (the while loop in on_draw takes far too long - even if we delay following updates we have to wait unnecessarily long for the initial draw on big input).
I already implemented a prototype of a new line selection logic and it works well and fast in straightforward cases. But there are a few things I have to respect further (wrapping lines, reverse output) which are not working well now.

** Changed in: indiv-screenlets
     Assignee: (unassigned) => Nicolas Krzywinski (nsk7even)

-- 
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/734469

Title:
  output applet hangs when commands take longer to execute than update
  interval

Status in Screenlets — individual widgets development:
  Confirmed

Bug description:
  Hi I would like to tail some files using the output screenlet, but
  here is what happens:

  "top -b" and "tail -f" kills the poor output screenlet. It just hangs
  entirely.. The screenlet includes "top" as a preconfigured command, so
  in principle the output screenlet should be capable of doing it..

  Also when I enter "tty" I get "not a tty", but that is not the
  problem. Even such a script as "sleep 2; echo 2" kills it.

  Some more info is given in this post
  http://ubuntuforums.org/showthread.php?t=1448787.

  Using screenlets 0.1.2 on ubuntu 10.10 with metacity WM.

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