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
Kovid Goyal
500ad8948e
Cleanups
2020-08-31 14:59:54 +05:30
Kovid Goyal
9b79b12239
Avoid unnecessary selection change events
2020-08-31 14:50:12 +05:30
Kovid Goyal
3d685b46b9
...
2020-08-31 14:42:53 +05:30
Kovid Goyal
39dede0a58
Cleanup range_extents
2020-08-31 11:46:15 +05:30
Kovid Goyal
569c38f505
Merge branch 'py3' of https://github.com/mwgabby-li/calibre into selrtl
2020-08-31 09:59:50 +05:30
Kovid Goyal
d6f7b55e21
Avoid deprecation message in console about legacy fullscreen APIs
2020-08-31 08:49:14 +05:30
Kovid Goyal
452e46c248
Dont make the page turn arrows red on click
2020-08-31 08:38:48 +05:30
Kovid Goyal
72aa1ee196
String changes
2020-08-30 08:05:30 +05:30
Mark W. Gabby-Li
9b79d6a5fa
Support Selection Handles on Vertical/RTL Books
...
- Pass vertical/rtl mode into selection code.
- Added new image for vertical selection handle.
selection_bar.pyj:
- Made code agnostic to text direction.
- Changed names to start and end rather than left and right to reflect new behavior.
- Track vertical/rtl state from selection message.
- Handle selection position modified to support all possible text orientations.
- Switch to vertical selection handle in vertical mode.
- Cap selection size at 60px to avoid comically large (and unusable) handles when selecting large element, such as an image.
select.pyj:
- Improved selection behavior when selected range extents are on nodes by search the node's DOM tree for something with a reasonable bounding box.
- To work around bugs with collapsed range rects and vertical text, use character bounding boxes in most cases.
- Add width to selection range extents.
2020-08-28 00:26:18 -07:00
Kovid Goyal
05ccd5c348
Render plain text comments in book file metadata as HTML
2020-08-22 18:48:39 +05:30
Kovid Goyal
e3e588c901
Workaround for Firefox sending null data in messages
2020-08-22 18:48:39 +05:30
Kovid Goyal
25adbe6bd6
Fix focus outline in dark mode
2020-08-22 18:48:39 +05:30