Unhandled error when adding new color scheme

Bug #1847407 reported by Daniel on 2019-10-09
68
This bug affects 10 people
Affects Status Importance Assigned to Milestone
calibre
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

Daniel (dabokey) wrote :

Windows 10, calibre v4.1.

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
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.

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  Edit
Everyone can see this information.

Other bug subscribers