cursor disappears in barcode_entry.xul

Bug #768499 reported by James Fournie
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Evergreen
Won't Fix
Undecided
Unassigned

Bug Description

When retrieving a patron by barcode, if an invalid barcode is entered, the cursor disappears. The dialog still works but the cursor disappears which is confusing for some staff.

This can be recreated on Windows, Mac OS X and Ubuntu staff clients in Sitka.

EG: 2.0.5
OpenSRF: 1.6.3
Ubuntu-Lucid
Pg 8.4

Revision history for this message
Jason Etheridge (phasefx) wrote :

James, could you try experimenting with (maybe removing) these lines in server/skin/global.css and see if they help?

*|textarea:focus { background-color: #DDFFDD; }

*|input:focus { background-color: #DDFFDD; }

Revision history for this message
Jason Etheridge (phasefx) wrote :
tags: added: hintsavailable
Revision history for this message
Jason Etheridge (phasefx) wrote :

Removing the :focus CSS does not help. Setting style position: fixed directly on the textbox does not help. Switching to another application and back does fix the caret/cursor.

Alright, I figured it out. I see that this happens in interfaces where the textbox gets disabled and re-enabled. We must remove focus from such textboxes before disabling them.

See http://svn.open-ils.org/trac/ILS/changeset/20314 for an example. Other interfaces will probably need this treatment. Which ones?

Revision history for this message
Mike Rylander (mrylander) wrote :

Marking fix-committed, since that's the case. Let's open other bugs (and reference this one) for any other instances we find.

Changed in evergreen:
status: New → Fix Committed
Revision history for this message
James Fournie (jfournie) wrote :

Actually reopening this as the fix is not committed and the commit Jason refers to does not fix the original but report. The original error report was for this problem occurring when a patron was retrieved (via F1)

Changed in evergreen:
status: Fix Committed → In Progress
status: In Progress → Confirmed
Revision history for this message
Jason Stephenson (jstephenson) wrote :

Setting to incomplete pending confirmation in 2.1+.

Also, if it cannot be reproduced with the new Xulrunner branch: https://bugs.launchpad.net/evergreen/+bug/942134 then we may want to consider Won't Fix.

Changed in evergreen:
status: Confirmed → Incomplete
Andrea Neiman (aneiman)
tags: added: fixedinwebby
removed: cursor hintsavailable
Changed in evergreen:
status: Incomplete → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.