I confirm that bug as well. Happened since I upgraded to Ubuntu 22.04 and also the workaround with "apparmour" does not work. Even when I stop the apparmor service and then start evince in a terminal, I get these messages ...
#1 directly after start of evince: (evince:23863): dbind-WARNING **: 15:21:04.749: Couldn't connect to accessibility bus: Failed to connect to socket /run/user/1000/at-spi/bus_0: Keine Berechtigung #2 when trying to save current settings as default: (evince:23863): GLib-GObject-WARNING **: 15:21:16.449: invalid cast from 'GtkFileChooserNative' to 'GtkWidget' -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to evince in Ubuntu. https://bugs.launchpad.net/bugs/1969896 Title: Evince Document Viewer(42.0) does not remember last page in 22.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/evince/+bug/1969896/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs