linuxmint / linuxmint/cinnamon-desktop

Spanned wallpaper sizing could be better

Open
#114 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
249
Forks
76
Avg merge
8d 6h
Merged PRs (30d)
2

Description

I have a kind of unusual monitor set up with two in landscape and a third in portrait orientation. When I try to span a wallpaper in Cinnamon instead of the expected result of the wallpaper covering the whole area as in other desktop systems, it only seems to cover the smallest area. Here's a reporesentation of what I have and the result I'm getting:

wallpaper

What I would like is for the wallpaper to fill a bounding box that encompasses all monitors and zoom to fit that with cropping as necessary.

This seems to be an issue in gnome-desktop but I'm posting it here since I don't use Gnome. The responsible file looks to be /libcinnamon-desktop/gnome-bg.c but I don't have enough of a grasp of what all the functions do to figure out where the exact problem lies.

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Start in /libcinnamon-desktop/gnome-bg.c and inspect the wallpaper sizing and placement functions. Reproduce the three-monitor layout described in the issue, then trace how the available monitor area is calculated. Done means a spanned wallpaper fills the bounding box containing all monitors, cropping as needed.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.