Commit Graph

52437 Commits

Author SHA1 Message Date
Kovid Goyal eef2bcd4e8 Fix ungrouped books not being displayed 2025-12-26 16:55:38 +05:30
Kovid Goyal f275550e9b Bookshelf: fix mouse right button not changing current item 2025-12-26 16:39:44 +05:30
Kovid Goyal 48e63485d7 ... 2025-12-26 11:46:14 +05:30
Kovid Goyal 6a9b7edbfb ... 2025-12-26 11:24:48 +05:30
Kovid Goyal 0f63c37a28 Install rapydscript on arch CI
Reduces failures due to webengine flakiness in CI
2025-12-26 11:15:29 +05:30
Kovid Goyal ce8938ecbc Ad dan icon for Group by context menu entry 2025-12-26 10:34:51 +05:30
Kovid Goyal 5fee322a77 grouping_mode is not a hidden variable 2025-12-26 10:32:43 +05:30
Kovid Goyal b973f84311 ... 2025-12-25 22:08:35 +05:30
Kovid Goyal 225d1fc8cc Dont use the animation code path when duration is <= 0 2025-12-25 22:03:11 +05:30
Kovid Goyal 4d4f14aee0 Increase default duration of cover expansion animation
Looks nicer to my eyes.
2025-12-25 21:56:10 +05:30
Kovid Goyal 90509ec00e Fix aspect ratio of expanded cover when dpr != 1 2025-12-25 21:47:00 +05:30
Kovid Goyal daccfa1f72 ... 2025-12-25 19:56:59 +05:30
Kovid Goyal c692fb5ee0 Use an LRU cache for sized text
No need to repeatedly re-calculate a range of metrics on every
paintEvent
2025-12-25 19:53:00 +05:30
Kovid Goyal a0fc4de026 DRYer 2025-12-25 19:46:44 +05:30
Kovid Goyal f6cbcc49b6 Remove unused code
Sort By action calls the sort methods on library_view not alternate
views
2025-12-25 19:33:56 +05:30
Kovid Goyal 22968d5569 Remove unused code 2025-12-25 19:30:41 +05:30
Kovid Goyal b541b876e0 Remove unused code 2025-12-25 19:26:32 +05:30
Kovid Goyal 9b9327c48e ... 2025-12-25 19:23:36 +05:30
Kovid Goyal 64fd5795ae Remove unused code 2025-12-25 19:21:24 +05:30
Kovid Goyal 526212c65d Use a hash to randomize height/width values to avoid visual cycles when sorting by id/timestamp 2025-12-25 19:01:52 +05:30
Kovid Goyal 81f0462b8e Get drag and drop working in shelf view 2025-12-25 18:24:37 +05:30
Kovid Goyal 09eb891647 Fix loading of default cover image 2025-12-25 14:49:50 +05:30
Kovid Goyal 8a01647dba Shelf base should extend into side margin 2025-12-25 14:42:56 +05:30
Kovid Goyal 6a792ce394 DRYer 2025-12-25 14:40:48 +05:30
Kovid Goyal b7e7e982bf Move emblems above and below 2025-12-25 14:26:47 +05:30
Kovid Goyal 60dadb1102 Cleanup bookshelf preferences
The background color preferences are not applicable as we have a fixed
pair of light/dark textured backgrounds. The variable height preference
was being ignored, fix that.
2025-12-25 14:04:46 +05:30
Kovid Goyal 9c703ffaf7 Add side shadows to the book case background 2025-12-25 13:55:36 +05:30
Kovid Goyal 9f18a5e93c Draw a background for the book shelf view 2025-12-25 11:10:19 +05:30
Kovid Goyal 9f1ab04479 Keep the shelf randomization per instance 2025-12-25 10:53:45 +05:30
Kovid Goyal 8dfee0c514 Improve rendering of shelves
Add drain and knots and change colors for light/dark
2025-12-25 10:27:44 +05:30
Kovid Goyal 431738dfc6 Fix visual selection between invocation 2025-12-24 19:33:37 +05:30
Kovid Goyal a508def2ea Implement select all shortcut in shelf view 2025-12-24 17:36:41 +05:30
Kovid Goyal 15fdeabf60 Fix corner joining when drawing selection highlight 2025-12-24 17:32:33 +05:30
Kovid Goyal 8b716ce1b2 Implement marked and ondevice emblems for shelf view 2025-12-24 17:30:00 +05:30
Kovid Goyal 43464ab3ee ... 2025-12-24 16:41:55 +05:30
Kovid Goyal 666deb6857 Implement keyboard based navigation for bookshelf 2025-12-24 16:40:33 +05:30
Kovid Goyal f7f26f66e1 ... 2025-12-24 13:25:59 +05:30
Kovid Goyal d49b5ada6f Fix spine vertical gradient moving with scroll pos 2025-12-24 12:12:34 +05:30
Kovid Goyal bf446c26ac Implement mouse based selection in bookshelf view 2025-12-24 12:05:01 +05:30
Kovid Goyal ec736febe2 ... 2025-12-22 20:30:01 +05:30
Kovid Goyal 4b26278c56 change colors in bookshelf icon to match other icons 2025-12-22 20:19:30 +05:30
Kovid Goyal 8c3626331e Also fix dpr handling for expanded cover 2025-12-22 20:06:40 +05:30
Kovid Goyal f1efd5fee5 Use device pixel ration when generating thumbnails for high res rendering 2025-12-22 19:59:04 +05:30
Kovid Goyal e9e23e8075 Render shadow around hovered cover 2025-12-22 19:42:07 +05:30
Kovid Goyal ccf828d984 Implement cached rendering for expanded cover animation 2025-12-22 17:17:35 +05:30
Kovid Goyal 87c1404906 ... 2025-12-22 15:08:46 +05:30
Kovid Goyal 7dae299143 Use extra space at right edge unconditionally when shifting 2025-12-22 14:34:39 +05:30
Kovid Goyal b287fb671f Refactor hovered cover
This fixes transitions as mouse moves from one book to the next.
Implement shift off both edges except when hovering over books close to
either edge.

Still need to implement drop shadows

Can also possibly make shift preferentially use leftover space at right
edge.
2025-12-22 14:06:21 +05:30
Kovid Goyal 319dc8c8fa Update Ars Technica 2025-12-22 08:58:44 +05:30
Kovid Goyal cc2ab8bc0d Dont reserve space for transient scrollbars 2025-12-21 22:51:06 +05:30