Unhandled error when adding new color scheme

Bug #1847407 reported by Daniel
68
This bug affects 10 people
Affects Status Importance Assigned to Milestone
calibre
Fix Released
Undecided
Unassigned

Bug Description

Steps to replicate:

1. Open an .epub in the reader.
2. Right click, then left click 'Preferences', left click 'Colors', left click 'New scheme'.
3. Observe:

Error: Unhandled error
Uncaught TypeError: Cannot read property 'focus' of null
Error at userscript:viewer.js:24264:55
Show details

4. Left click 'Show details'
5. Observe:

Error: Unhandled error
Uncaught TypeError: Cannot read property 'focus' of null
Error at userscript:viewer.js:24264:55
Traceback (most recent call last):
    at HTMLAnchorElement.ρσ_anonfunc (userscript:viewer.js:15816:54)
    at new_color_scheme (userscript:viewer.js:24264:55)
TypeError: Cannot read property 'focus' of null

Revision history for this message
Daniel (dabokey) wrote :

Windows 10, calibre v4.1.

Revision history for this message
Kovid Goyal (kovid) wrote : Fixed in master

Fixed in branch master. The fix will be in the next release. calibre is usually released every alternate Friday.

 status fixreleased

Changed in calibre:
status: New → Fix Released
Revision history for this message
Steve Pickering (sgp-fwd) wrote :

FYI, I get the problem using Java 8 221 on Windows 7 64-bit. Looking forward to the fixed verion.

Revision history for this message
Steve Pickering (sgp-fwd) wrote :

Working fine after being fixed in 4.2

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.