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

Submitted by:  Kimberly Murphy <kmurphy>
Submitted on:  Tue 03 Jul 2007 07:40:26 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

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>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup1