refacktor / quantdesk

Automatically exported from code.google.com/p/quantdesk
4 stars 4 forks source link

provide a progress bar and status while data is being downloaded #18

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Currently the application hangs and there is no indication to the user of what 
is happening, see
http://code.google.com/p/quantdesk/wiki/UserGuide

Original issue reported on code.google.com by atra...@gmail.com on 19 Jun 2010 at 1:50

GoogleCodeExporter commented 9 years ago

Original comment by atra...@gmail.com on 19 Jun 2010 at 1:50

GoogleCodeExporter commented 9 years ago
I have gone through the issue. There are two projects we have created. One is 
based on SWT and other one is based on Swing. Please let me know on which 
project we have to fix the issue. 

Thanks & Regrads
Anirban Talukdar

Original comment by talukdar...@gmail.com on 19 Jun 2010 at 3:18

GoogleCodeExporter commented 9 years ago
The problem exists in the SWT version. The Swing version doesn't do anything 
yet. I am unsure if we are even going to continue developing it.

Original comment by khadga...@gmail.com on 19 Jun 2010 at 4:37

GoogleCodeExporter commented 9 years ago
Can you please write me the cases how I can activate the download data? Means 
how can I come to that phase where the problem arise.

Regards

Original comment by talukdar...@gmail.com on 19 Jun 2010 at 6:27

GoogleCodeExporter commented 9 years ago
The program will pause/be unusable in the following locations:
- PlotThread class in AnalyzerUI.java - The plotting library used hangs when 
plotting data (not sure why)
- StockThread class in AnalyzerUI.java - If we have to resort to downloading 
the data from the server, then it will be quite a while before data is 
available to be used in any screening operations.

Original comment by khadga...@gmail.com on 23 Jun 2010 at 5:19

GoogleCodeExporter commented 9 years ago

Original comment by atra...@gmail.com on 24 Jun 2010 at 1:29

GoogleCodeExporter commented 9 years ago
Added block on Issue #21 "Use Swing for the QuantDesk_UI (Get rid off SWT)": 
there's no sense to implement it in SWT just before transition to Swing.

Original comment by Andrey.D...@gmail.com on 30 Jun 2010 at 2:56

GoogleCodeExporter commented 9 years ago
Hello. I am new and ready to deal with this problem. 
I need to be familiar with whole structure project  before I start.
Thanks you all. Any help or info from you would be greatful!

Original comment by xinyunx...@gmail.com on 28 Jul 2010 at 4:33

GoogleCodeExporter commented 9 years ago
still waiting, somebody please figure out how to do this...

Original comment by atra...@gmail.com on 22 Aug 2010 at 4:28

GoogleCodeExporter commented 9 years ago
Owner: none -> Andrey.Desyatnikov

Original comment by Andrey.D...@gmail.com on 27 Aug 2010 at 1:58

GoogleCodeExporter commented 9 years ago
Priority-Critical -> Priority-Medium

In r129 the progress bar issue is mostly resolved. The following items remain:

* refactor the progress bar. Currently it's "passive": it provides
methods to reporting the status to any part of the app code. As a
result the caller code should care about time tracking and message
formatting. If the progress bar could "register" the status info
providers, then the "duplication of efforts" could be eliminated. For
example the progress bar would track time for each process and the
logics of the task would not be "diluted" with time tracking code;

* write the utility method for converting "3675 seconds" to "1 h 1
min 15 sec" and use it in the status bar messages.

Note: Currently Issue 3 "Refactor to separate DataService from actual UI" is 
not yet resolved. Resolving Issue 3 will (most probably) affect the progress 
bar, but that's the scope of Issue 3.

Original comment by Andrey.D...@gmail.com on 21 Sep 2010 at 11:14