Crash if --focus-text-page is given outside of the page page.
Author: olafureCreated Sep 19, 2026Updated Sep 22, 2026
First, thanks for an utterly astonishing and incredibly useful software.
Observed: sioyek crashes if --focus-text-page is given outside of the page page. Expected: graceful handling of error, a message indicating that the page number is out of range. Commit: development branch, current HEAD: https://github.com/ahrm/sioyek/commit/d0b2c1915ececf8394c355b9e4dcdd675154f5d0
$ sioyek --focus-text a --focus-text-page 1111 sioyek/tutorial.pdf
default_config_path: /local/bin/prefs.config
default_keys_path: /local/bin/keys.config
user_config_path: [ 0 ] /etc/xdg/sioyek/prefs_user.config
user_config_path: [ 1 ] /etc/xdg/xdg-ubuntu/sioyek/prefs_user.config
user_config_path: [ 2 ] /home/user/.config/sioyek/prefs_user.config
user_config_path: [ 3 ] /home/user/.local/share/sioyek/prefs_user.config
user_config_path: [ 4 ] /home/user/.config/sioyek/prefs_user.config
user_keys_path: [ 0 ] /etc/xdg/sioyek/keys_user.config
user_keys_path: [ 1 ] /etc/xdg/xdg-ubuntu/sioyek/keys_user.config
user_keys_path: [ 2 ] /home/user/.config/sioyek/keys_user.config
user_keys_path: [ 3 ] /home/user/.local/share/sioyek/keys_user.config
user_keys_path: [ 4 ] /home/user/.config/sioyek/keys_user.config
database_file_path: /home/user/.local/share/sioyek/test.db
local_database_file_path: /home/user/.local/share/sioyek/local.db
global_database_file_path: /home/user/.local/share/sioyek/shared.db
tutorial_path: /home/user/.local/share/sioyek/tutorial.pdf
last_opened_file_address_path: /home/user/.local/share/sioyek/last_document_path.txt
shader_path: /local/bin/shaders
SIOYEK
aborting process from uncaught error!
warning: found duplicate fz_icc_link in the storeSource: ahrm/sioyek