0
Fixed

Can't close Ereader menu on Android Chrome

Wayne S 9 years ago updated 9 years ago 16

Firstly thanks for an amazing but of software, love seeing how each new version brings great new features.


I've just been testing out the Ereader on my phone (running Lollipop) using Chrome. I've also tried using my old tablet (running Kitkat).

I can open an epub book ok, but once I get to the second page the menu comes up and the "close" button doesn't work. The other buttons on the menu (eh. Night toggle) work, do it just seems to be the X button.


It happens on every epub I've tried so far.

Just tested on the latest Firefox for Android and it works perfectly.

Under review

That's weird, it works fine on Chrome on my Nexus 4 (under Lollipop too).


You can also close the menu by clicking outside of it. This doesn't work ?

No, although the "overlay" flashes blue as if acknowledging a press.

Chrome version is 48.0.2564.95

Looks like was a problem my end - cleared the Chrome cache on my phone and it seems all is well now.


I did actually run in to some problems changing themes whilst testing this (I wanted to rule out the "Dark theme", which is now working fine). I actually had to clear the cache on my desktop PC (also running Chrome) to get all the changed graphics when I tried the Dark Red and Modern themes. Quite often the "Download" and "Read" buttons were holding on to the previous themes. I assume thats a Chrome issue though.


Anyway, looks like the cache issue has sorted it, so thanks again for all your hard work. This app should have a much higher profile than it does!

Not a bug

Thanks ! :)


The cache management of theme files is not perfect, so I wouldn't guarantee the problem is coming from Chrome.

I'll have to fix that too, someday.

Adding a comment here, I had the same issue on Chrome for Windows and clearing my browser cache corrected it!

I don't know why this is happening, but if it happens often, let me know.

This happend the past 7 days 3 times on my pc (windows + chrome) and 2 times on my tabled (iOS + iCab). I use the default theme.

I'm able to reproduce this... If I change any setting on the epub settings, it causes the menu to show on the next page and will no close. I can delete the cookie/local storage called "EpubReaderSettings" and it goes back to working correctly. Doesn't appear to be any one setting, just if I change anything in the epub reader's settings.

Thanks for the details.


Could you check in the Javascript console (F12 then select the "Console" tab) if you have any error or warning when this happens ?

+1

Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.


angular.min.js:108
TypeError: document.getElementById(...).contentWindow.updateFontSelector is not a function
at new <anonymous> (epubreader.js:223)
at Object.e [as invoke] (angular.min.js:39)
at P.instance (angular.min.js:80)
at S (angular.min.js:61)
at g (angular.min.js:54)
at angular.min.js:54
at angular.min.js:19
at n.$eval (angular.min.js:134)
at n.$apply (angular.min.js:135)
at angular.min.js:19

Pull the error this morning, same one as Wayne sees exactly...


TypeError: document.getElementById(...).contentWindow.updateFontSelector is not a function

at new <anonymous> (epubreader.js:223)
at Object.e [as invoke] (angular.min.js:39)
at P.instance (angular.min.js:80)
at S (angular.min.js:61)
at g (angular.min.js:54)
at angular.min.js:54
at angular.min.js:19
at n.$eval (angular.min.js:134)
at n.$apply (angular.min.js:135)
at angular.min.js:19

I can confirm that 1.9.1 works for me.

Likewise. Thanks for the fix Tom.