(unknown charset) - text selection mode

From: (unknown charset) [at]} <Alexander>
Date: Mon, 9 Jan 2006 14:43:38 +0600

----boundary-LibPST-iamunique-2138392511_-_-
Content-type: text/plain

Hello, everyone! And happy new year!

  I finally found some time (and an interesting example task) to learn
  and use BlackBox (version 1.5). I like its non-modal single-threaded
  design. Cooperative multitasking is great, nothing should block user
  or other objects from performing their job. But I think I see an
  inconsistency in a part of the framework design that should be
  fixed.
  
  Let's try out an example. Start BlackBox. Start a performance
  monitor (standard Windows Task Manager would do). Select any text
  view (like StdLog). Then push and don't release any mouse button.
  Suddenly CPU usage jumps to 100%.
  
  It turns out that there is a tight polling loop in procedure
  TextControllers.StdCtrl.TrackMarks where procedure Ports.Frame.Input
  is repeatedly called until a mouse button is released. This
  behaviour inevitably blocks any background tasks for no good reason
  (and slows down other applications!). This is not the case when you
  are in the middle of a text drag-and-drop operation, which means
  that there is a good way to do the same thing.
  
  Anyone can find the root of this problem by opening a new view,
  holding a mouse button and pressing Ctrl+Break (Win) or
  Command+Option+. (Mac OS).

Alexander.

--- BlackBox
--- send subject HELP or UNSUBSCRIBE to blackbox{([at]})nowhere.xy



----boundary-LibPST-iamunique-2138392511_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"

e1xydGYxXGFuc2lcYW5zaWNwZzEyNTFcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9fQ0Ke1xj
b2xvcnRibFxyZWQwXGdyZWVuMFxibHVlMDtccmVkMFxncmVlbjBcYmx1ZTI1NTt9DQpcdWMxXHBh
cmRccGxhaW5cZGVmdGFiMzYwIFxmMFxmczIwIEhlbGxvLCBldmVyeW9uZSEgQW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cHJvY2VkdXJlIFBv
cnRzLkZyYW1lLklucHV0XHBhcg0KICBpcyByZXBlYXRlZGx5IGNhbGxlZCB1bnRpbCBhIG1vdXNl
IGJ1dHRvbiBpcyByZWxlYXNlZC4gVGhpc1xwYXINCiAgYmVoYXZpb3VyIGluZXZpdGFibHkgYmxv
Y2tzIGFueSBiYWNrZ3JvdW5kIHRhc2tzIGZvciBubyBnb29kIHJlYXNvblxwYXINCiAgKGFuZCBz
bG93cyBkb3duIG90aGVyIGFwcGxpY2F0aW9ucyEpLiBUaGlzIGlzIG5vdCB0aGUgY2FzZSB3aGVu
IHlvdVxwYXINCiAgYXJlIGluIHRoZSBtaWRkbGUgb2YgYSB0ZXh0IGRyYWctYW5kLWRyb3Agb3Bl
cmF0aW9uLCB3aGljaCBtZWFuc1xwYXINCiAgdGhhdCB0aGVyZSBpcyBhIGdvb2Qgd2F5IHRvIGRv
IHRoZSBzYW1lIHRoaW5nLlxwYXINCiAgXHBhcg0KICBBbnlvbmUgY2FuIGZpbmQgdGhlIHJvb3Qg
b2YgdGhpcyBwcm9ibGVtIGJ5IG9wZW5pbmcgYSBuZXcgdmlldyxccGFyDQogIGhvbGRpbmcgYSBt
b3VzZSBidXR0b24gYW5kIHByZXNzaW5nIEN0cmwrQnJlYWsgKFdpbikgb3JccGFyDQogIENvbW1h
bmQrT3B0aW9uKy4gKE1hYyBPUykuXHBhcg0KXHBhcg0KQWxleGFuZGVyLlxwYXINClxwYXINCi0t
LSBCbGFja0JveFxwYXINCi0tLSBzZW5kIHN1YmplY3QgSEVMUCBvciBVTlNVQlNDUklCRSB0byBi
bGFja2JveEBvYmVyb24uY2h9fQAAAD8AAAAAAAAA


----boundary-LibPST-iamunique-2138392511_-_---
Received on Mon Jan 09 2006 - 09:43:38 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:28:06 UTC