Skip to content

v0.6.0

Choose a tag to compare

@dheerajshenoy dheerajshenoy released this 21 Jan 09:06
· 1435 commits to main since this release

Features

  • Lazy load tabs to save resources
  • Add ability to copy unformatted text (removes hyphenation and joins lines)
  • Add delete annotations implementation when in annot_select_mode
  • Increased rendering performance.
  • Add tutorial_file command to show a tutorial PDF file
  • Added role.txt system prompts for the LLM
  • Implement LRU (Least Recently Used) cache for reduced memory usage
    • Respect behavior.cache_pages config option for this
  • Add frame border around the overlay widgets
  • Replace setdpr command with set_dpr. This command now opens a popup input dialog asking for the new Device Pixel Ratio (DPR) value.
  • Drag-drop file handling
    • Hold Shift while dropping a file onto the main view to open in a new window
  • Improved Startup Page
  • goto_page command now registers current location for history navigation back to the page from where the command was called.

Config options

  • Page foreground and background color config option
    • [colors]
      • page_foreground (RGBA hex value)
      • page_background (RGBA hex value)
  • Tab close commands [keybindings]
    • tabs_close_left - close all tabs to the left of the current tab
    • tabs_close_right - close all tabs to the right of the current tab
    • tabs_close_others - close all tabs except the current tab
  • New options for tabs [ui.tabs]
    • Lazy loading lazy_load (bool) - loads only when switching to the tab (useful when loading lots of documents)
    • File path in tab [ui.tabs]
      • full_path - whether to show full path in the tab
  • Overlay frame config [ui.overlays]
    • border - show border around overlay frames
    • shadow table
      • enabled - toggle shadow on overlay frames
      • blur_radius - shadow blur radius in pixels
      • offset_x - horizontal shadow offset
      • offset_y - vertical shadow offset
      • opacity - shadow opacity (0-255)

Optimizations

  • Set optimization flag and CacheMode for QGraphicsView
  • Colors are now stored as packed RGBA ints and parsed from hex config values

Breaking Changes

NOTE: You might have to change few things in the config

  • Command first_tab, last_tab renamed to tab_first, tab_last
  • Remove Fit None from the fit menu
  • Moved Auto Resize checkbox to the view menu instead of fit menu

Bug Fixes

  • Fix startup page layout
  • Fix orderless completion not working in the command palette
  • Rename startup tab to Startup Page
  • Fix double free in document cleanup
  • Fix link hover cursor change
  • Fix link navigation when target page is not yet rendered
  • Hide the command palette before executing the command
  • Fix command pallette showing only set keybound commands
  • Fix tab close commands not working as expected
  • Fix cursor not changing when hovering over link
  • Fix right click context menu on tabs
  • Command palette orderless matching consider underscore as literal when entered.
  • Cancel page rendering request when starting to scroll
  • Placeholder page items are just upscale pixmaps to reduce cpu and memory usage
  • Render visible pages instead of just reloading single page when file changes in disk
  • Don't cache fz_stext_page (very memory intensive)
  • LLM Widget
    • Disable send button in the LLM widget when there's no query
    • Message when provider server is not found to be running
  • Fix scroll commands not triggering scrollbar visibility (for auto_hide = true)
  • Fix document not reloading even when [behavior.auto_reload] is set to true
  • Hide searchbar when the search term is empty
  • Fix loading default config when error is found in config
  • Fix highlights search overlay hiding after selecting entry