michaldaniel / ebook-viewer

Modern GTK Python Ebook Reader app to easily read epub files
GNU General Public License v3.0
406 stars 47 forks source link

Can't change pages with two simultaneous windows open #46

Open dRaiNe opened 6 years ago

dRaiNe commented 6 years ago

How to reproduce:

  1. Open first .epub file (the file is stored in NTFS Windows 7 drive). So far navigation using arrow keys (left and right for previous/next page) works.
  2. Open different .epub file (again stored in NTFS drive in my case).
  3. Switch focus to the first window. Its navigation using keys no longer works, but in the second window it's working properly.

Ubuntu 16.04 x64.

Terminal output from the broken window: Chapter count: 201 Loaded: /tmp/easy-ebook-viewer-cache-user/index_split_000_split_048.html Loaded: /tmp/easy-ebook-viewer-cache-user/index_split_000_split_048.html Loaded: /tmp/easy-ebook-viewer-cache-user/index_split_000_split_049.html Loaded: /tmp/easy-ebook-viewer-cache-user/index_split_000_split_048.html Could not read: /tmp/easy-ebook-viewer-cache-user/index_split_000_split_049.html Could not read: /tmp/easy-ebook-viewer-cache-user/index_split_000_split_048.html Could not read: /tmp/easy-ebook-viewer-cache-user/index_split_000_split_049.html Could not read: /tmp/easy-ebook-viewer-cache-user/index_split_000_split_050.html Could not read: /tmp/easy-ebook-viewer-cache-user/index_split_000_split_051.html

Debugging:

Note: