Ticket #2174 (closed tweak: obsolete)
app-busy-indicator - Show a hourglass when Sophie is working
Reported by: | deyan | Owned by: | pap |
---|---|---|---|
Priority: | critical | Milestone: | X3 |
Component: | uncategorized | Version: | 2.0 |
Keywords: | Cc: | ||
Category: | unknown | Effort: | 2 |
Importance: | 90 | Ticket_group: | |
Estimated Number of Hours: | 0 | Add Hours to Ticket: | 0 |
Billable?: | yes | Total Hours: | 0 |
Analysis_owners: | deyan | Design_owners: | pap |
Imp._owners: | pap, dido | Test_owners: | |
Analysis_reviewers: | pap | Changelog: | |
Design_reviewers: | meddle | Imp._reviewers: | todor, meddle |
Test_reviewers: | Analysis_score: | 3.5 | |
Design_score: | 4 | Imp._score: | 0 |
Test_score: | 3.5 |
Description (last modified by todor) (diff)
Sophie must have some visual indicator that it is working on something, and not crashed:
- Create visual marker that Sophie is responding but there is some work in progress. Hourglass would be fine.
- This indicator must appear if the action is not finished for 2 seconds and disappear when the action is complete.
- (optional) After 120 seconds if nothing happens the icon must be restored to its original so the user knows that Sophie is not responding.
Attachments
Change History
comment:1 Changed 15 years ago by deyan
- Importance changed from 89 to 90
- Summary changed from app-busy-indicator to app-busy-indicator – Show a hourglass when Sophie is working
comment:2 Changed 15 years ago by deyan
- Priority changed from major to critical
- Summary changed from app-busy-indicator – Show a hourglass when Sophie is working to app-busy-indicator – Show a hourglass when Sophie is working
Batch update from file 0911261.csv
comment:3 Changed 15 years ago by todor
- Category set to unknown
- Analysis_score set to 0
- Test_score set to 0
- Summary changed from app-busy-indicator – Show a hourglass when Sophie is working to app-busy-indicator - Show a hourglass when Sophie is working
- Design_score set to 0
- Type set to bug
- Imp._score set to 0
comment:5 Changed 15 years ago by deyan
- Owner set to deyan
- Status changed from new to s1a_analysis_started
- Analysis_owners set to deyan
comment:6 Changed 15 years ago by todor
- Status changed from s1a_analysis_started to s1b_analysis_finished
- Description modified (diff)
comment:7 Changed 15 years ago by pap
- Status changed from s1b_analysis_finished to s1c_analysis_ok
- Analysis_reviewers set to pap
- Analysis_score changed from 0 to 3.5
- I am not really sure that we should remove the working indication in 2 minutes to indicate a crash.
comment:8 Changed 15 years ago by pap
- Design_owners set to pap
- Owner changed from deyan to pap
- Status changed from s1c_analysis_ok to s2a_design_started
- Start design
comment:9 Changed 15 years ago by pap
- Status changed from s2a_design_started to s2b_design_finished
- In LogicR3 add a Long static field with the time the last sequence of events were fired.
- When fire(EvnetR3 event) is called it should check whether the field is already set and if not set it to the current time. in tha finally block of the same call set the field to null.
- Add a public static method to get the field value. This method and the the accesses to the filed in the fire method should be synchronized.
- In MDMainWindow(or MDFrameWindow - propse which is better) when the globalContainer becomes available start a TimerTask that runs on every 200ms (propose better).
- It checks whether the eventFire time of LogicR3 is not null and th last operation started more than 2 seconds ago. If so show a modeless dialog without a titlebar that contains a graphic that gives the user the notion that sophie is working.
- If the none of the above condidions is true hide the dialog.
- With this design the "working" message will appear even with operations that show a dialog. But in most cases it will be behind the dialog and it will be relatively small and not disturb the user.
comment:10 Changed 15 years ago by meddle
- Status changed from s2b_design_finished to s2c_design_ok
- Design_score changed from 0 to 4
- Design_reviewers set to meddle
- All the numbers you use must be in constants.
- Don't know about that with the dialogs if they are not in the center of the screen it will be visible to the user, but that should not be possible :)
- Like the design
4p
comment:11 Changed 15 years ago by pap
- Status changed from s2c_design_ok to s3a_implementation_started
- Imp._owners set to pap, dido
Starting implementation
comment:12 Changed 15 years ago by pap
- Status changed from s3a_implementation_started to s3b_implementation_finished
- Implemented following the design and review notes.
- The timer is located in MDFrameWindow
- Implementation in http://sophie2.org/trac/browser/branches/private/pap/longOperations
- svn://sophie2.org/sophie2/branches/private/pap/longOperations
comment:13 Changed 15 years ago by meddle
- Status changed from s3b_implementation_finished to s3c_implementation_ok
- Test_score changed from 0 to 3.5
- Imp._reviewers set to todor, meddle
Merged to the trunk at [8335], but I really think you hit the Ctrl+Shift+F combination :P
comment:14 Changed 13 years ago by meddle
- Status changed from s3c_implementation_ok to closed
- Resolution set to obsolete
Closing all the tickets before M Y1
Note: See
TracTickets for help on using
tickets.
Batch update from file report_1.csv