1529 Commits

Author SHA1 Message Date
Kovid Goyal
bdc5554ca9
Viewer: Fix keyboard shortcuts using ctrl+alt+letter key not working on windows. Fixes #1900946 [E-book viewer: the "Create a new bookmark" shortcut only works after removing and recreating](https://bugs.launchpad.net/calibre/+bug/1900946) 2020-10-27 07:57:40 +05:30
Kovid Goyal
ff06cbbae5
Viewer: Fix jumping to search result not always working in flow mode. Fixes #1900868 [Private bug](https://bugs.launchpad.net/calibre/+bug/1900868) 2020-10-26 09:09:42 +05:30
Kovid Goyal
acd82a0bed
DRYer 2020-10-26 08:50:31 +05:30
Kovid Goyal
ae222c64f3
Viewer: Fix keyboard shortcuts to shrink/grow selection not working. Fixes #1900942 [E-book viewer: the "Alter the current selection" feature doesn't seem to work](https://bugs.launchpad.net/calibre/+bug/1900942) 2020-10-25 11:47:50 +05:30
Kovid Goyal
0a2829d41c
Content server: Fix various controls on the book details page not working when viewing a random book.
Fixes #1901232 [[Content server] Convert books on the Book details page does not work when you select a random book](https://bugs.launchpad.net/calibre/+bug/1901232)
Fixes #1901230 [[Content server] Arrows to browse books on the Book details page does not work when you select a random book](https://bugs.launchpad.net/calibre/+bug/1901230)
2020-10-24 06:41:50 +05:30
Kovid Goyal
3c7907b93c
Fix #1901234 [[Enhancement - Content server] Add tooltip to the Show random book button on the Book details page](https://bugs.launchpad.net/calibre/+bug/1901234) 2020-10-24 06:35:58 +05:30
Kovid Goyal
86f95daf7d
Remove another reference to search_by_selection 2020-10-23 12:12:39 +05:30
Kovid Goyal
c43af7ff3a
remove search for selection shortcut
no longer applicable with selection bar. Fixes #1900939 [E-book viewer: the "Search for next occurrence of selected text" feature doesn't seem to work](https://bugs.launchpad.net/calibre/+bug/1900939)
2020-10-23 12:02:06 +05:30
Kovid Goyal
141ac27cba
... 2020-10-23 12:00:06 +05:30
Kovid Goyal
95abe9d072
Viewer: handle editing of missing highlights more gracefully
Fixes #1900358 [ebook-viewer Reapplying missing annotation highlight after modifying ePub](https://bugs.launchpad.net/calibre/+bug/1900358)
2020-10-19 17:54:37 +05:30
Kovid Goyal
9c1e6ccb03
html is anyway ignored in copy_selection 2020-10-19 17:05:19 +05:30
Kovid Goyal
87629e32a7
Browser viewer: Try using document.execCommand to copy since it works on non-secure origins as well 2020-10-19 17:04:02 +05:30
Kovid Goyal
306deb01cb
Page counts should not be deleted when opening controls 2020-10-14 16:05:21 +05:30
Kovid Goyal
5e67433334
Viewer: Allow displaying the current page / total pages in the header/footer. Useful in paged mode to see exactly how many pages are left. Fixes #1899163 [Request: Add pages left in chapter](https://bugs.launchpad.net/calibre/+bug/1899163) 2020-10-14 14:03:13 +05:30
Kovid Goyal
003a22b47c
E-book viewer: Fix scrolling past the end of chapter boundaries not working in books that have negative margins 2020-10-08 07:23:33 +05:30
Kovid Goyal
47b1bcb4d9
Viewer: Fix toolbar show controls button not working when no book is open. Fixes #1898598 [Ebook viewer: unhandled error when clicking "Show viewer controls"](https://bugs.launchpad.net/calibre/+bug/1898598) 2020-10-06 06:07:21 +05:30
Kovid Goyal
5bf8e926b6
Viewer: Fix mouse wheel not working while selection bar is visible
Fixes #1898413 [Viewer: some mouse actions with popup bar displayed should be changed](https://bugs.launchpad.net/calibre/+bug/1898413)
2020-10-04 12:01:41 +05:30
Kovid Goyal
8bd7109300
Viewer: Fix selection popup bar not always close to mouse when ending select-to-drag 2020-10-04 11:23:25 +05:30
Kovid Goyal
868a2c8967
Fix modals not getting keyboard focus in updated WebEngine 2020-10-01 15:12:35 +05:30
Kovid Goyal
bea311405a
Viewer: Allow skipping the confirmation when using the remove highlight button in the popup bar. Fixes #1897415 [[Feature Request] Delete text highlight without confirmation box](https://bugs.launchpad.net/calibre/+bug/1897415) 2020-10-01 15:02:53 +05:30
Kovid Goyal
13e4f17a50
Viewer: Fix copy to clipboard button in toolbar not working
Viewer: Fix copy to clipboard not copying text as HTML to clipboard in
addition to plain text

Fixes #1897297 [Copy in the viewer doesn't work properly](https://bugs.launchpad.net/calibre/+bug/1897297)
2020-09-27 09:48:44 +05:30
Kovid Goyal
937bb880a3
Ensure controls help is not shown more than once in a single session 2020-09-25 07:58:13 +05:30
Kovid Goyal
a6b10869cf
... 2020-09-25 07:55:04 +05:30
Kovid Goyal
bba090a7b3
Fix #1897136 [Viewer: Default values for the numbers of pages per screen aren't restored](https://bugs.launchpad.net/calibre/+bug/1897136) 2020-09-25 07:49:09 +05:30
Kovid Goyal
2967f13297
Prevent duplication of controls help if shown multiple times in one session 2020-09-25 07:44:35 +05:30
Kovid Goyal
4d5b25bf0e
Fix #1896844 [Private bug](https://bugs.launchpad.net/calibre/+bug/1896844) 2020-09-24 07:42:21 +05:30
Kovid Goyal
582e3baede
String changes 2020-09-20 10:07:01 +05:30
Kovid Goyal
52cf15fc23
Fix #1895472 [Private bug](https://bugs.launchpad.net/calibre/+bug/1895472) 2020-09-14 09:04:40 +05:30
Kovid Goyal
940342b1b1
Fix removal of multi-line highlights leaving handles in incorrect location 2020-09-14 08:35:44 +05:30
Kovid Goyal
ceceff8cc3
Fix #1895368 [[Content server] Removed book show up when going through books](https://bugs.launchpad.net/calibre/+bug/1895368) 2020-09-13 16:34:53 +05:30
Kovid Goyal
c363d790ab
More accurate detection of current ToC section when highlighting 2020-09-13 16:02:41 +05:30
Kovid Goyal
06404ae119
Workaround for Firefox bug that broke searching backwards across file boundaries. Fixes #1895388 [Private bug](https://bugs.launchpad.net/calibre/+bug/1895388) 2020-09-13 10:25:35 +05:30
Kovid Goyal
eecac78739
Invisible text should not be a fatal error 2020-09-13 10:02:08 +05:30
Kovid Goyal
639c0e1ecc
Prevent default actions for all recognized shortcuts not just navigation ones 2020-09-13 09:57:40 +05:30
Kovid Goyal
40e91596fb
Fix #1895287 [[Enhancement] Covers that do not fill the area are displayed at the bottom of the content server's cover grid](https://bugs.launchpad.net/calibre/+bug/1895287) 2020-09-11 19:58:21 +05:30
Kovid Goyal
eac6acb82a
Group highlights in browser viewer highlights panel as well 2020-09-10 09:09:46 +05:30
Kovid Goyal
bef5dd9bed
Show swatches in browser highlights panel 2020-09-10 08:22:56 +05:30
Kovid Goyal
fd6ed6cacb
Tooltips for highlight styles 2020-09-10 07:53:13 +05:30
Kovid Goyal
471deb052e
Show a full hierarchy for toc nodes in the highlights panel 2020-09-05 14:16:20 +05:30
Kovid Goyal
316497aeba
Highlight color definitions should be defined in only one place 2020-09-05 13:03:47 +05:30
Kovid Goyal
374edd1ff7
Clicking search in book in selection bar should actually trigger the search not just fill the search box 2020-09-04 22:23:34 +05:30
Kovid Goyal
382ac528e8
Viewer: Increase the threshold for detecting pinches 2020-09-04 07:25:38 +05:30
Kovid Goyal
1247a0d512
Server viewer: Fix error when triple clicking in firefox
Firefox does not support extending selection to pargraphs so instead
extend to line.
2020-09-03 23:29:50 +05:30
Kovid Goyal
e759eefc28
Viewer: Extend workaround for Chrome resize in column mode after layout complete bug for all scrolling, not just end scrolling since it seems to affect all scrolling. Fixes #1894093 [Viewer not opening to exact spot it was closed at](https://bugs.launchpad.net/calibre/+bug/1894093) 2020-09-03 22:50:24 +05:30
Kovid Goyal
e0926d1dfe
Fix adding of more than one custom highlight style broken 2020-09-03 08:57:40 +05:30
Kovid Goyal
d862d271f2
Revert "Avoid deprecation message in console about legacy fullscreen APIs"
This reverts commit d6f7b55e21471cad94ebd536d9ab2b6d66bcf195.
2020-09-03 07:47:50 +05:30
Kovid Goyal
5ce9010cc3
Store current toc node information when creating highlights 2020-09-01 20:08:10 +05:30
Kovid Goyal
ce4db74039
String changes 2020-09-01 10:39:36 +05:30
Kovid Goyal
24e1fa90d1
More cleanups 2020-08-31 17:22:01 +05:30
Kovid Goyal
8c00352dce
Prevent selection from being cleared if handle is released after drag far away from end of selection 2020-08-31 15:13:21 +05:30