### Distribution Linux Mint 22.1 Xia ### Package version 4.2.6 ### Frequency Always ### Bug description If a PDF has more than 1500 pages, then the last page you read is not remembered. ### Steps to reproduce I'm attaching two PDF files: one with 1500 empty pages and one with 1501. 1) Open the file with 1501 pages. 2) Scroll to the second page. 3) Close xreader. 4) Open the file again. xreader opens the file at the first page. This doesn't happen if you do the same with the file with 1500 pages. [out1500.pdf](https://github.com/user-attachments/files/23232395/out1500.pdf) [out1501.pdf](https://github.com/user-attachments/files/23232394/out1501.pdf) ### Expected behavior The last page I read should be remembered, no matter how many pages the file has. ### Additional information If I open the file with 1501 pages from the terminal, I see this error when I close the file: ``` (xreader:3173652): Gtk-CRITICAL **: 12:31:32.369: gtk_widget_get_visible: assertion 'GTK_IS_WIDGET (widget)' failed ``` Another hint that might be relevant is this line: https://github.com/linuxmint/xreader/blob/4682832acd2b98639dd2bdda31a632e09a392628/shell/ev-sidebar-thumbnails.c#L50 It seems like an "IconView" is not created when the file has more than 1500 pages, which might be the root cause of the problem (or not, what do I know).