bugLet me illustrate... - Bugs: bug #20338, busy cursor anomaly

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #20338: busy cursor anomaly

Submitter:  Kimberly Murphy <kmurphy>
Submitted:  Tue 03 Jul 2007 07:40:26 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed

Tue 13 Feb 2018 11:20:03 AM UTC, comment #2: 

Presumably testing has been completed.

Greg Chicares <chicares>
Group administrator
Wed 04 Jul 2007 03:28:20 PM UTC, comment #1: 

The following patch should fix the bug:
Index: illustration_view.cpp
===================================================================
RCS file: /sources/lmi/lmi/illustration_view.cpp,v
retrieving revision 1.69
diff -u -r1.69 illustration_view.cpp
--- illustration_view.cpp 7 Jun 2007 19:05:47 -0000 1.69
+++ illustration_view.cpp 4 Jul 2007 15:24:37 -0000
@@ -65,6 +65,7 @@
 #include <wx/html/htmprint.h>
 #include <wx/icon.h>
 #include <wx/menu.h>
+#include <wx/utils.h> // wxBusyCursor
 #include <wx/xrc/xmlres.h>
 
 #include <sstream>
@@ -358,6 +359,7 @@
 
 void IllustrationView::Pdf(std::string const& action) const
 {
+    wxBusyCursor busy;
     LMI_ASSERT(ledger_values_.get());
 
     wxString z;

The same patch on lmi CodeStriker:
http://lmi.tt-solutions.com/codestriker/codestriker.pl?topic=2115148&action=view

Evgeniy Tarassov <etarassov>
Tue 03 Jul 2007 07:40:26 PM UTC, original submission:  

While testing the recent code change 20070614T1150Z, the busy
cursor was not immediately observable after the calculation
timings. Only on occasion did the cursor switch to an hourglass
and albeit only briefly.

I'll use a simple case to illustrate:
F | N | C
Run case
F | Print preview

Resting the mouse over a child window or on the toolbar, I do
not immediately observe an hourglass following the calculations.
The cursor only briefly changes to an hourglass immediately prior
to generating the pdf.

Multiple print preview requests, one after the other, did on
occasion produce an hourglass, however it flashed very quickly
and vanished. A user not paying attention would never see it and
think something is wrong with the system.

Could this problem be related to the comment on lines 173-174 here?:
http://cvs.sv.gnu.org/viewvc/lmi/lmi/database_view_editor.cpp?view=diff&r1=1.9&r2=1.10

Kimberly Murphy <kmurphy>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by chicares (Posted a comment)
  • -email is unavailable- added by etarassov (Posted a comment)
  • -email is unavailable- added by kmurphy (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-02-13 chicares StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code