When I browse multiple images in Ristretto, I'd like for Ristretto to be able to persist the chosen zoom level setting across images (particularly when I choose 'fit to screen'). In my current version (0.6.3), if I chose 'fit to screen' for one image and move to another image in the Thumbnailbar list, the zoom level resets to 100%. Would you be willing to add a preference that allows me to persist the zoom level setting for the current session and/or even persist it across multiple sessions? Thank you in advance!
Can you check if this is an issue in version 0.8.0? For me, images are shown with 'fit to screen' zoom by default.
Zoom to fit might be true for images which are too large, but images too small are not fitted to the screen. I want this, too.
Forgot the most important, I'm using ristretto 0.8.2
Created attachment 8491 Keep zoom level in list of images With this patch, Ristretto keeps zoom level in list of images. You need to create a new property (/image/keep-zoom): xfconf-query -c ristretto -p /image/keep-zoom -n -t 'bool' -s 'true' By default this value is FALSE.
Created attachment 8495 Keep zoom level in list of images Same patch as previous one, but it adds GtkToggleButton in Preferences dialog (no need to create new property with xfconf-query) too.
Hi Olivier, Thanks for your patch but I don't think it works as expected. Say, I open a larger image from a dir, and it opens as 30% because it doesn't fit into the screen otherwise. Then I switch to a smaller image within the same dir which would fit and open as 100% normally - but with the "keep zoom" setting enabled, I get it opened as 30% and really small. I would expect the smaller image to still open as 100%.
-- GitLab Migration Automatic Message -- This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/apps/ristretto/-/issues/17. Please create an account or use an existing account on one of our supported OAuth providers. If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev