Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Feature Request: add option to autorotate portrait pictures to fit horizontal screen

Open
#166 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
c
Domain
desktop

Research direction

The issue names no files, tests, or entry points. Start by locating the existing "automatic orientation" option and the image display path, then trace how screen and picture dimensions are obtained. Done means the orientation behavior is split into the two requested options and portrait images follow the stated fitting rule.

Written by the indexing model from the issue text.

Description

 * Xviewer version 3.2.0
 * Distribution - Mint 20.2

Issue
On small screens pictures are hard to see. For portrait pictures ~ 2/3 of screen is left out when displaying them.
Please split "automatic orientation" option to two:

  1. based on metadata (I guess it is current one) "Metadata based"
  2. rotate clockwise 90 degrees based on formula(s): if (horizontal resolution of screen / vertical resolution of screen) > =1.5 AND (horizontal resolution of picture / vertical resolution of picture) <= 1.5 "Better fit the screen"

TA

Dominant language
C
Stars
93
Forks
47
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from linuxmint/xviewer

All issues in linuxmint/xviewer

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.